public class CausalBehaviouralProfile<M,N extends IEntity> extends BehaviouralProfile<M,N>
| Modifier and Type | Field and Description |
|---|---|
static String |
COOCCURRENCE_SYMBOL |
protected boolean[][] |
cooccurrenceMatrix
Matrix that captures co-occurrence for the Cartesian product of entities
over which the profile is defined.
|
| Constructor and Description |
|---|
CausalBehaviouralProfile(M model,
Collection<N> entities)
Creates a causal behavioural profile structure for a given Petri net and
a dedicated collection of entities of the Petri net.
|
CausalBehaviouralProfile(M model,
List<N> entities)
Create a causal behavioural profile structure for a given Petri net and a
given list of entities.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCooccurring(N n1,
N n2)
Checks whether two given entities are co-occurring.
|
boolean |
equals(CausalBehaviouralProfile<M,N> profile)
Checks equality for two causal behavioural profiles
Returns false, if both matrices are not based on the same
Petri net or on the same set of entities.
|
boolean |
equalsForSharedNodes(CausalBehaviouralProfile<M,N> profile)
Checks equality for two causal behavioural profiles only for the
shared entities.
|
boolean[][] |
getCooccurrenceMatrix() |
static String |
getSymbolForRelation(RelSetType rel)
Returns a string representation for the behavioural profile relation or
co-occurrence relation, respectively.
|
void |
setCooccurrenceMatrix(boolean[][] cooccurrenceMatrix) |
String |
toString() |
areExclusive, areInOrder, areInterleaving, equals, equalsForSharedEntities, getComplement, getComplementRelation, getEntities, getEntitiesInRelation, getLookAhead, getMatrix, getModel, getRelationForEntities, getRelationForIndex, getRelationsByType, getReverseRelation, isEmpty, printAllEntities, setLookAhead, setMatrixpublic static final String COOCCURRENCE_SYMBOL
protected boolean[][] cooccurrenceMatrix
public CausalBehaviouralProfile(M model, List<N> entities)
pn - entities - public CausalBehaviouralProfile(M model, Collection<N> entities)
the - Petri neta - collection of entities of the Petri netpublic boolean areCooccurring(N n1, N n2)
n1 - n2 - public static String getSymbolForRelation(RelSetType rel)
a - relation of the causal behavioural profilepublic boolean equals(CausalBehaviouralProfile<M,N> profile)
profile - that should be comparedpublic boolean equalsForSharedNodes(CausalBehaviouralProfile<M,N> profile)
profile - that should be comparedpublic boolean[][] getCooccurrenceMatrix()
public void setCooccurrenceMatrix(boolean[][] cooccurrenceMatrix)
Copyright © 2017. All rights reserved.