Class AbstractCandidateTraverser
- java.lang.Object
-
- org.processmining.projectionminer.discoveryalgorithms.eSTMiner.candidatetraverser.AbstractCandidateTraverser
-
- Direct Known Subclasses:
BFSCandidateTraverser,DFSCandidateTraverser
public abstract class AbstractCandidateTraverser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected MyPlacecurrentRootprotected intdepthLimitprotected intlargestInIndexprotected intlargestOutIndexprotected booleanlimitDepthprotected int[]outTrMappingprotected java.util.ArrayList<MyPlace>rootsprotected java.lang.String[]transitions
-
Constructor Summary
Constructors Constructor Description AbstractCandidateTraverser(java.lang.String[] transitions, int[] outTrMapping, Parameters parameters)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.util.ArrayList<MyPlace>computeBaseRoots()protected intgetCurrentDepth(MyPlace place)protected intgetLargestInTrIndex(int inKey)protected intgetLargestOutTrIndex(int outKey)protected intgetLowestOutTrIndex(int outKey)protected intgetMappedTransitionIndex(int outIndex)intgetMask(int pos)abstract MyPlacegetNext(MyPlace lastP, MyPlaceStatus fitness)protected MyPlacegetNextRoot()java.util.Collection<java.lang.String>getTransitionNames(int key, java.lang.String[] transitions)protected booleanhasSingleMaximalOutTransition(MyPlace place)protected java.lang.StringplaceSetToString(java.util.ArrayList<MyPlace> placeSet)
-
-
-
Field Detail
-
transitions
protected final java.lang.String[] transitions
-
outTrMapping
protected int[] outTrMapping
-
largestOutIndex
protected int largestOutIndex
-
largestInIndex
protected int largestInIndex
-
roots
protected java.util.ArrayList<MyPlace> roots
-
currentRoot
protected MyPlace currentRoot
-
limitDepth
protected boolean limitDepth
-
depthLimit
protected int depthLimit
-
-
Constructor Detail
-
AbstractCandidateTraverser
public AbstractCandidateTraverser(java.lang.String[] transitions, int[] outTrMapping, Parameters parameters)
-
-
Method Detail
-
getNext
public abstract MyPlace getNext(MyPlace lastP, MyPlaceStatus fitness)
-
computeBaseRoots
protected java.util.ArrayList<MyPlace> computeBaseRoots()
-
placeSetToString
protected java.lang.String placeSetToString(java.util.ArrayList<MyPlace> placeSet)
-
getMappedTransitionIndex
protected int getMappedTransitionIndex(int outIndex)
-
getLargestOutTrIndex
protected int getLargestOutTrIndex(int outKey)
-
getLowestOutTrIndex
protected int getLowestOutTrIndex(int outKey)
-
getLargestInTrIndex
protected int getLargestInTrIndex(int inKey)
-
hasSingleMaximalOutTransition
protected boolean hasSingleMaximalOutTransition(MyPlace place)
-
getCurrentDepth
protected int getCurrentDepth(MyPlace place)
-
getNextRoot
protected MyPlace getNextRoot()
-
getMask
public int getMask(int pos)
-
getTransitionNames
public java.util.Collection<java.lang.String> getTransitionNames(int key, java.lang.String[] transitions)
-
-