Class IntDfgImpl
- java.lang.Object
-
- org.processmining.plugins.inductiveminer2.helperclasses.IntDfgImpl
-
- All Implemented Interfaces:
java.lang.Cloneable,IntDfg
- Direct Known Subclasses:
DfgMsdImpl
public class IntDfgImpl extends java.lang.Object implements IntDfg
-
-
Constructor Summary
Constructors Constructor Description IntDfgImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddActivity(int index)Add an activity.voidaddEmptyTraces(long cardinality)Adds empty traces.IntDfgImplclone()voidcollapseParallelIntoDirectly()Adds a directly follows graph edge (in each direction) for each parallel edge.MultiIntSetgetActivities()IntGraphgetConcurrencyGraph()IntGraphgetDirectlyFollowsGraph()MultiIntSetgetEndActivities()intgetNumberOfActivities()longgetNumberOfEmptyTraces()MultiIntSetgetStartActivities()booleanhasEndActivities()booleanhasStartActivities()voidsetNumberOfEmptyTraces(long numberOfEmptyTraces)Set the number of empty (epsilon) traces.java.lang.StringtoString()voidtouchActivity(int index)Make sure an activity is in the graphs.
-
-
-
Method Detail
-
getActivities
public MultiIntSet getActivities()
- Specified by:
getActivitiesin interfaceIntDfg
-
addActivity
public void addActivity(int index)
Description copied from interface:IntDfgAdd an activity.- Specified by:
addActivityin interfaceIntDfg
-
touchActivity
public void touchActivity(int index)
Description copied from interface:IntDfgMake sure an activity is in the graphs.- Specified by:
touchActivityin interfaceIntDfg
-
getNumberOfActivities
public int getNumberOfActivities()
- Specified by:
getNumberOfActivitiesin interfaceIntDfg- Returns:
- The number of activities.
-
getNumberOfEmptyTraces
public long getNumberOfEmptyTraces()
- Specified by:
getNumberOfEmptyTracesin interfaceIntDfg- Returns:
- The number of empty (epsilon) traces.
-
setNumberOfEmptyTraces
public void setNumberOfEmptyTraces(long numberOfEmptyTraces)
Description copied from interface:IntDfgSet the number of empty (epsilon) traces.- Specified by:
setNumberOfEmptyTracesin interfaceIntDfg
-
addEmptyTraces
public void addEmptyTraces(long cardinality)
Description copied from interface:IntDfgAdds empty traces.- Specified by:
addEmptyTracesin interfaceIntDfg
-
hasStartActivities
public boolean hasStartActivities()
- Specified by:
hasStartActivitiesin interfaceIntDfg
-
hasEndActivities
public boolean hasEndActivities()
- Specified by:
hasEndActivitiesin interfaceIntDfg
-
clone
public IntDfgImpl clone()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
collapseParallelIntoDirectly
public void collapseParallelIntoDirectly()
Description copied from interface:IntDfgAdds a directly follows graph edge (in each direction) for each parallel edge.- Specified by:
collapseParallelIntoDirectlyin interfaceIntDfg
-
getDirectlyFollowsGraph
public IntGraph getDirectlyFollowsGraph()
- Specified by:
getDirectlyFollowsGraphin interfaceIntDfg
-
getConcurrencyGraph
public IntGraph getConcurrencyGraph()
- Specified by:
getConcurrencyGraphin interfaceIntDfg
-
getStartActivities
public MultiIntSet getStartActivities()
- Specified by:
getStartActivitiesin interfaceIntDfg
-
getEndActivities
public MultiIntSet getEndActivities()
- Specified by:
getEndActivitiesin interfaceIntDfg
-
-