public interface FuzzyGraph extends org.processmining.models.graphbased.directed.DirectedGraph<FMNode,FMEdge<? extends FMNode,? extends FMNode>>
Modifier and Type | Method and Description |
---|---|
void |
addClusterNode(FMClusterNode cluster) |
FMEdgeImpl |
addEdge(FMEdgeImpl edge) |
FMEdgeImpl |
addEdge(FMNode source,
FMNode target,
double significance,
double correlation) |
void |
addNode(int index) |
java.lang.Object |
clone()
Public clone method (as defined in Object).
|
java.lang.String |
getAttribute(java.lang.String key) |
java.util.Collection<java.lang.String> |
getAttributeKeys() |
double |
getBinaryCorrelation(int fromIndex,
int toIndex)
Returns the aggregate binary correlation between two event classes, as
specified by their indices.
|
double |
getBinarySignificance(int fromIndex,
int toIndex)
Returns the aggregate binary significance between two event classes, as
specified by their indices.
|
java.util.List<FMClusterNode> |
getClusterNodes()
Returns the list of higher-level cluster nodes, which are contained in
this simplified Fuzzy Graph.
|
BinaryMetric |
getEdgeCorrelationMetric()
Returns the binary edge correlation metric used for defining this fuzzy
graph
|
java.util.Set<FMEdgeImpl> |
getEdgeImpls()
Returns the set of edges (i.e., binary relations) which are contained in
the simplified Fuzzy Graph in the format of FMEdges instead of
Set
|
BinaryMetric |
getEdgeSignificanceMetric()
Returns the binary edge significance metric used for defining this fuzzy
graph
|
int |
getEventClassIndex(java.lang.String element,
java.lang.String type)
Helper method: maps an event name / type combination, i.e.
|
int |
getEventClassIndex(org.deckfour.xes.model.XEvent ate)
Helper method: maps an audit trail entry to its corresponding index in
the log's LogEvents collection.
|
FMLogEvents |
getLogEvents()
Returns a copy of the LogEvents contained in the log, which has been
mined with the Fuzzy Miner.
|
double |
getMinimalNodeSignificance()
Returns the minimal significance of any node in the simplified graph (the
maximal value of node significance will always be normalized to 1.0).
|
FMNode |
getNodeMappedTo(int index)
Returns the Node which has been mapped to the given event index, as found
in the mined log's LogEvents collection.
|
UnaryMetric |
getNodeSignificanceMetric()
Returns the unary node significance metric used for defining this fuzzy
graph
|
int |
getNumberOfInitialNodes()
Returns the number of initial nodes in the non-simplified graph (i.e.,
the number of event classes in the log)
|
FMNode |
getPrimitiveNode(int index)
Returns an indexed primitive, i.e.
|
double[] |
getSortedNodeSignificances()
Returns all node significances in the simplified graph, sorted in
ascending numeral order, in an array of double values within [0, 1].
|
FMEdge<FMNode,FMNode> |
removeEdge(FMEdge<? extends FMNode,? extends FMNode> edge) |
FMEdge<FMNode,FMNode> |
removeEdge(FMNode source,
FMNode target) |
boolean |
removeFMClusterNode(FMClusterNode cluster) |
void |
removeFMNode(FMNode fmNodeElement) |
void |
resetAttributes() |
void |
setAttribute(java.lang.String key,
java.lang.String value) |
void |
setBinaryCorrelation(int fromIndex,
int toIndex,
double value) |
void |
setBinarySignificance(int fromIndex,
int toIndex,
double value) |
void |
setEdgeImpls() |
getEdges, getInEdges, getNodes, getOutEdges, removeEdge, removeNode
equals, getGraph, getLabel, hashCode
void addNode(int index)
void removeFMNode(FMNode fmNodeElement)
void addClusterNode(FMClusterNode cluster)
boolean removeFMClusterNode(FMClusterNode cluster)
FMEdgeImpl addEdge(FMEdgeImpl edge)
FMEdgeImpl addEdge(FMNode source, FMNode target, double significance, double correlation)
java.util.Set<FMEdgeImpl> getEdgeImpls()
void setEdgeImpls()
int getEventClassIndex(org.deckfour.xes.model.XEvent ate)
Important: If the audit trail entry could not be mapped to an
event class in the original log, a value of -1
will be
returned, which indicates an error on your part!
ate
- any audit trail entry from a suitable logint getEventClassIndex(java.lang.String element, java.lang.String type)
Important: If the data supplied could not be mapped to an event
class in the original log, a value of -1
will be returned,
which indicates an error on your part!
element
- The event name to be mappedtype
- The event type to be mappedint getNumberOfInitialNodes()
UnaryMetric getNodeSignificanceMetric()
BinaryMetric getEdgeSignificanceMetric()
BinaryMetric getEdgeCorrelationMetric()
FMLogEvents getLogEvents()
FMNode getPrimitiveNode(int index)
Note: You may use one of the getEventClassIndex()
methods provided in this interface for retrieving indices for addressing
in this method.
index
- Index of the requested node, as found in the log's LogEvents
collection.FMNode getNodeMappedTo(int index)
Node
object, if the event class has not
been simplifiednull
, if the event class has been removed from the
model (i.e., abstracted from)ClusterNode
object, if the respective
event class has been clustered (i.e., aggregated)ClusterNode
object will represent
multiple elementary nodes, i.e. event classes!
Note: You may use one of the getEventClassIndex()
methods provided in this interface for retrieving indices for addressing
in this method.
index
- The index of the event class, to which the corresponding node
is requested (as found in the mined log's LogEvents
collection)null
, if the event class has been
abstracted from.java.util.List<FMClusterNode> getClusterNodes()
double getBinarySignificance(int fromIndex, int toIndex)
Note: You may use one of the getEventClassIndex()
methods provided in this interface for retrieving indices for addressing
in this method.
fromIndex
- Index of the originating event class (source event)toIndex
- Index of the terminal event class (target event)double getBinaryCorrelation(int fromIndex, int toIndex)
Note: You may use one of the getEventClassIndex()
methods provided in this interface for retrieving indices for addressing
in this method.
fromIndex
- Index of the originating event class (source event)toIndex
- Index of the terminal event class (target event)void setBinarySignificance(int fromIndex, int toIndex, double value)
void setBinaryCorrelation(int fromIndex, int toIndex, double value)
double getMinimalNodeSignificance()
double[] getSortedNodeSignificances()
java.lang.String getAttribute(java.lang.String key)
void setAttribute(java.lang.String key, java.lang.String value)
java.util.Collection<java.lang.String> getAttributeKeys()
void resetAttributes()
java.lang.Object clone()