Class VariableExpansion<N extends TreeNode & LocallyExpandable<N>>
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.datastructures.tree.base.impls.VariableExpansion<N>
-
- All Implemented Interfaces:
FullComponentSystemUser,ExpansionStrategyComponent<N>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,ExpansionStrategy<N>,TreeStrategy<N>,Initializable
- Direct Known Subclasses:
VariableExpansion.BFS,VariableExpansion.DFS
public class VariableExpansion<N extends TreeNode & LocallyExpandable<N>> extends AbstractBaseClass implements ExpansionStrategyComponent<N>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariableExpansion.BFS<N extends TreeNode & LocallyExpandable<N>>static classVariableExpansion.DFS<N extends TreeNode & LocallyExpandable<N>>
-
Constructor Summary
Constructors Constructor Description VariableExpansion()VariableExpansion(boolean useStack)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <N extends TreeNode & LocallyExpandable<N>>
VariableExpansion<N>bfs()voidderegisterNode(N node)NderegisterPreviousProposal()static <N extends TreeNode & LocallyExpandable<N>>
VariableExpansion<N>dfs()booleanhasNextExpansion()protected voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.NnextExpansion()voidregisterNode(N node)voidregisterPotentialNodes(java.lang.Iterable<N> potentialNodes)-
Methods inherited from class org.processmining.specpp.componenting.system.link.AbstractBaseClass
collectTransitiveSubcomponents, getComponentCollection, getSubComponents, globalComponentSystem, init, localComponentSystem, postSubComponentInit, preSubComponentInit, registerSubComponent, unregisterSubComponent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.componenting.system.FullComponentSystemUser
collectTransitiveSubcomponents, connectLocalComponentSystem, getComponentCollection, registerSubComponent, unregisterSubComponent
-
Methods inherited from interface org.processmining.specpp.traits.Initializable
init
-
Methods inherited from interface org.processmining.specpp.componenting.traits.UsesGlobalComponentSystem
globalComponentSystem
-
Methods inherited from interface org.processmining.specpp.componenting.traits.UsesLocalComponentSystem
bridgeToChildren, localComponentSystem
-
-
-
-
Method Detail
-
dfs
public static <N extends TreeNode & LocallyExpandable<N>> VariableExpansion<N> dfs()
-
bfs
public static <N extends TreeNode & LocallyExpandable<N>> VariableExpansion<N> bfs()
-
nextExpansion
public N nextExpansion()
- Specified by:
nextExpansionin interfaceExpansionStrategy<N extends TreeNode & LocallyExpandable<N>>
-
hasNextExpansion
public boolean hasNextExpansion()
- Specified by:
hasNextExpansionin interfaceExpansionStrategy<N extends TreeNode & LocallyExpandable<N>>
-
deregisterPreviousProposal
public N deregisterPreviousProposal()
- Specified by:
deregisterPreviousProposalin interfaceExpansionStrategy<N extends TreeNode & LocallyExpandable<N>>
-
registerNode
public void registerNode(N node)
- Specified by:
registerNodein interfaceTreeStrategy<N extends TreeNode & LocallyExpandable<N>>
-
registerPotentialNodes
public void registerPotentialNodes(java.lang.Iterable<N> potentialNodes)
- Specified by:
registerPotentialNodesin interfaceTreeStrategy<N extends TreeNode & LocallyExpandable<N>>
-
deregisterNode
public void deregisterNode(N node)
- Specified by:
deregisterNodein interfaceTreeStrategy<N extends TreeNode & LocallyExpandable<N>>
-
initSelf
protected void initSelf()
Description copied from class:AbstractBaseClassHook for subclasses to initialize themselves after the initial constructor call. At the time this is called, all fulfillable local & global component system requests will be fulfilled. Unless advanced interaction with the underlying systems is required, this is the only relevant hook for user-defined subclasses.- Specified by:
initSelfin classAbstractBaseClass
-
-