Class LocalNodeWithExternalizedLogic<P extends NodeProperties,S extends NodeState,N extends LocalNodeWithExternalizedLogic<P,S,N>>
- java.lang.Object
-
- org.processmining.specpp.datastructures.tree.base.impls.AbstractLocalNode<P,S,N>
-
- org.processmining.specpp.datastructures.tree.base.impls.LocalNodeWithExternalizedLogic<P,S,N>
-
- All Implemented Interfaces:
Evaluable,GraphObject,Vertex,LocalNode<P,S,N>,PropertyNode<P>,HasProperties<P>,HasState<S>,KnowsDepth,LocallyExpandable<N>,StateNode<S>,TreeNode
- Direct Known Subclasses:
PlaceNode
public abstract class LocalNodeWithExternalizedLogic<P extends NodeProperties,S extends NodeState,N extends LocalNodeWithExternalizedLogic<P,S,N>> extends AbstractLocalNode<P,S,N>
-
-
Constructor Summary
Constructors Constructor Description LocalNodeWithExternalizedLogic(boolean isRoot, P nodeProperties, S nodeState, ChildGenerationLogic<P,S,N> generationLogic, int depth)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancanExpand()protected abstract booleancanExpandBasedOnExternalLogic()protected abstract java.util.Optional<java.lang.Boolean>canExpandBasedOnInternalState()ChildGenerationLogic<P,S,N>getGenerationLogic()voidsetGenerationLogic(ChildGenerationLogic<P,S,N> generationLogic)-
Methods inherited from class org.processmining.specpp.datastructures.tree.base.impls.AbstractLocalNode
equals, getDepth, getProperties, getState, hashCode, isRoot, setState, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.datastructures.tree.base.traits.LocallyExpandable
didExpand, generateChild, generatePotentialChildren
-
-
-
-
Method Detail
-
setGenerationLogic
public void setGenerationLogic(ChildGenerationLogic<P,S,N> generationLogic)
-
getGenerationLogic
public ChildGenerationLogic<P,S,N> getGenerationLogic()
-
canExpand
public final boolean canExpand()
-
canExpandBasedOnInternalState
protected abstract java.util.Optional<java.lang.Boolean> canExpandBasedOnInternalState()
-
canExpandBasedOnExternalLogic
protected abstract boolean canExpandBasedOnExternalLogic()
-
-