Class TemporalModel
- java.lang.Object
-
- org.processmining.plugins.temporal.model.TemporalModel
-
public class TemporalModel extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAMETER_LABELstatic org.deckfour.xes.classification.XEventClassSTART_CLASS
-
Constructor Summary
Constructors Constructor Description TemporalModel(StochasticNet.TimeUnit unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<TemporalNode,java.util.List<TemporalConnection>>getConnections()TemporalNodegetLatestNode()java.util.Map<org.deckfour.xes.classification.XEventClass,TemporalNode>getNodes()doublegetRelativePositionInTrace(TemporalNode node)Average distance of the event from the start node.doublegetSmoothingFactor()TemporalNodegetStartNode()StochasticNet.TimeUnitgetTimeUnit()voidinit(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo info)
-
-
-
Field Detail
-
PARAMETER_LABEL
public static final java.lang.String PARAMETER_LABEL
- See Also:
- Constant Field Values
-
START_CLASS
public static final org.deckfour.xes.classification.XEventClass START_CLASS
-
-
Constructor Detail
-
TemporalModel
public TemporalModel(StochasticNet.TimeUnit unit)
-
-
Method Detail
-
init
public void init(org.deckfour.xes.model.XLog log, org.deckfour.xes.info.XLogInfo info)
-
getRelativePositionInTrace
public double getRelativePositionInTrace(TemporalNode node)
Average distance of the event from the start node.- Parameters:
node-- Returns:
- value between 0 and 1
-
getTimeUnit
public StochasticNet.TimeUnit getTimeUnit()
-
getNodes
public java.util.Map<org.deckfour.xes.classification.XEventClass,TemporalNode> getNodes()
-
getConnections
public java.util.Map<TemporalNode,java.util.List<TemporalConnection>> getConnections()
-
getSmoothingFactor
public double getSmoothingFactor()
-
getStartNode
public TemporalNode getStartNode()
-
getLatestNode
public TemporalNode getLatestNode()
-
-