Class PlaceProposer
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.base.impls.AbstractEfficientTreeBasedProposer<C,N>
-
- org.processmining.specpp.base.impls.EfficientTreeWithExternalizedLogicBasedProposer<Place,PlaceState,PlaceNode>
-
- org.processmining.specpp.proposal.PlaceProposer
-
- All Implemented Interfaces:
java.util.function.Supplier<Place>,Proposer<Place>,FullComponentSystemUser,ProposerComponent<Place>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,Initializable
public class PlaceProposer extends EfficientTreeWithExternalizedLogicBasedProposer<Place,PlaceState,PlaceNode>
The base implementation of aProposerfor candidates of typePlace. It internally uses anEnumeratingTreeto deterministically propose all valid place candidates that the underlying tree provides. The tree itself uses anExpansionStrategyto determine which nodes to expand next and this class'sConstrainableLocalNodeGeneratorto calculate the child nodes.- See Also:
Proposer,Place,EnumeratingTree,ConstrainableChildGenerationLogic
-
-
Field Summary
-
Fields inherited from class org.processmining.specpp.base.impls.EfficientTreeWithExternalizedLogicBasedProposer
generationLogic
-
Fields inherited from class org.processmining.specpp.base.impls.AbstractEfficientTreeBasedProposer
tree
-
-
Constructor Summary
Constructors Constructor Description PlaceProposer(ChildGenerationLogicComponent<Place,PlaceState,PlaceNode> generationLogic, EfficientTreeComponent<PlaceNode> tree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandescribesValidCandidate(PlaceNode node)protected PlaceextractCandidate(PlaceNode node)protected voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.-
Methods inherited from class org.processmining.specpp.base.impls.EfficientTreeWithExternalizedLogicBasedProposer
getGenerationLogic
-
Methods inherited from class org.processmining.specpp.base.impls.AbstractEfficientTreeBasedProposer
advance, getPreviousProposedNode, proposeCandidate
-
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
-
-
-
-
Constructor Detail
-
PlaceProposer
public PlaceProposer(ChildGenerationLogicComponent<Place,PlaceState,PlaceNode> generationLogic, EfficientTreeComponent<PlaceNode> tree)
-
-
Method Detail
-
describesValidCandidate
protected boolean describesValidCandidate(PlaceNode node)
- Specified by:
describesValidCandidatein classAbstractEfficientTreeBasedProposer<Place,PlaceNode>
-
extractCandidate
protected Place extractCandidate(PlaceNode node)
- Specified by:
extractCandidatein classAbstractEfficientTreeBasedProposer<Place,PlaceNode>
-
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
-
-