public class DirectSuccessionCounter extends java.lang.Object implements CausalDependencyMatrix
| Modifier and Type | Field and Description |
|---|---|
static int |
NOEVENT |
| Constructor and Description |
|---|
DirectSuccessionCounter(LightLog log) |
| Modifier and Type | Method and Description |
|---|---|
int |
getABACount(int i,
int j) |
double |
getCausalDependency(int node1,
int node2)
Returns a value between 0 and 1 indicating the strenght of the causal
depencencies between two nodes.
|
int |
getCount(int node1,
int node2) |
java.lang.String |
getEventClass(int index) |
LightLog |
getLog() |
int |
getNumberOfNodes() |
int |
getNumEventClasses() |
int |
getOccurenceCount(int eventClass) |
int |
getSucCount(int i,
int j) |
boolean |
isCausal(int from,
int to) |
boolean |
isParallel(int from,
int to) |
boolean |
isSucceeding(int from,
int to) |
boolean |
isUnrelated(int from,
int to) |
java.lang.String |
toString() |
public static final int NOEVENT
public DirectSuccessionCounter(LightLog log)
public boolean isCausal(int from,
int to)
public boolean isParallel(int from,
int to)
public boolean isUnrelated(int from,
int to)
public java.lang.String getEventClass(int index)
getEventClass in interface CausalDependencyMatrixpublic int getNumEventClasses()
public boolean isSucceeding(int from,
int to)
public int getOccurenceCount(int eventClass)
getOccurenceCount in interface CausalDependencyMatrixpublic LightLog getLog()
public int getSucCount(int i,
int j)
public int getABACount(int i,
int j)
public double getCausalDependency(int node1,
int node2)
CausalDependencyMatrixgetCausalDependency in interface CausalDependencyMatrixpublic int getNumberOfNodes()
getNumberOfNodes in interface CausalDependencyMatrixpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getCount(int node1,
int node2)
getCount in interface CausalDependencyMatrix