Class AbstractEfficientTreeBasedProposer<C extends Candidate,N extends TreeNode & LocallyExpandable<N>>
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.base.impls.AbstractEfficientTreeBasedProposer<C,N>
-
- Type Parameters:
C- candidate typeN- tree node type
- All Implemented Interfaces:
java.util.function.Supplier<C>,Proposer<C>,FullComponentSystemUser,ProposerComponent<C>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,Initializable
- Direct Known Subclasses:
EfficientTreeWithExternalizedLogicBasedProposer
public abstract class AbstractEfficientTreeBasedProposer<C extends Candidate,N extends TreeNode & LocallyExpandable<N>> extends AbstractBaseClass implements ProposerComponent<C>
Abstract base class for efficient tree-based proposers. It translates the call toproposeCandidate()to node generation in the internalEfficientTreevia expansion.- See Also:
EfficientTree
-
-
Field Summary
Fields Modifier and Type Field Description protected EfficientTree<N>tree
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEfficientTreeBasedProposer(EfficientTreeComponent<N> tree)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Nadvance()protected abstract booleandescribesValidCandidate(N node)protected abstract CextractCandidate(N node)NgetPreviousProposedNode()CproposeCandidate()-
Methods inherited from class org.processmining.specpp.componenting.system.link.AbstractBaseClass
collectTransitiveSubcomponents, getComponentCollection, getSubComponents, globalComponentSystem, init, initSelf, 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
-
-
-
-
Field Detail
-
tree
protected final EfficientTree<N extends TreeNode & LocallyExpandable<N>> tree
-
-
Constructor Detail
-
AbstractEfficientTreeBasedProposer
protected AbstractEfficientTreeBasedProposer(EfficientTreeComponent<N> tree)
-
-
Method Detail
-
getPreviousProposedNode
public N getPreviousProposedNode()
-
describesValidCandidate
protected abstract boolean describesValidCandidate(N node)
-
proposeCandidate
public C proposeCandidate()
- Specified by:
proposeCandidatein interfaceProposer<C extends Candidate>
-
advance
protected N advance()
-
-