Class PlaceComposerWithCIPR<I extends AdvancedComposition<Place>>
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.base.impls.AbstractComposer<Place,I,CollectionOfPlaces>
-
- org.processmining.specpp.composition.composers.PlaceComposerWithCIPR<I>
-
- All Implemented Interfaces:
java.util.function.Consumer<Place>,Composer<Place,I,CollectionOfPlaces>,FullComponentSystemUser,ComposerComponent<Place,I,CollectionOfPlaces>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,Initializable
- Direct Known Subclasses:
EventingPlaceComposerWithCIPR
public class PlaceComposerWithCIPR<I extends AdvancedComposition<Place>> extends AbstractComposer<Place,I,CollectionOfPlaces>
-
-
Field Summary
Fields Modifier and Type Field Description protected DelegatingEvaluator<Place,ImplicitnessRating>implicitnessEvaluator-
Fields inherited from class org.processmining.specpp.base.impls.AbstractComposer
assembleResult, composition
-
-
Constructor Summary
Constructors Constructor Description PlaceComposerWithCIPR(I composition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidacceptanceRevoked(Place candidate)Hook for actions to perform on initially accepted candidates which are now removed.protected voidcandidateAccepted(Place candidate)Hook for actions to perform on accepted candidates.protected voidcandidateRejected(Place candidate)Hook for actions to perform on rejected candidates.voidcandidatesAreExhausted()Hook method which is called when this composer will not receive any more candidates in the future as the connected proposer has been exhausted.protected booleandeliberateAcceptance(Place candidate)Hook method where the acceptance decision is made.protected voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.-
Methods inherited from class org.processmining.specpp.base.impls.AbstractComposer
accept, acceptCandidate, composition, generateResult, getIntermediateResult, isFinished, rejectCandidate, revokeAcceptance, revokeLastAcceptance
-
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
-
-
-
-
Field Detail
-
implicitnessEvaluator
protected final DelegatingEvaluator<Place,ImplicitnessRating> implicitnessEvaluator
-
-
Constructor Detail
-
PlaceComposerWithCIPR
public PlaceComposerWithCIPR(I composition)
-
-
Method Detail
-
deliberateAcceptance
protected boolean deliberateAcceptance(Place candidate)
Description copied from class:AbstractComposerHook method where the acceptance decision is made.- Specified by:
deliberateAcceptancein classAbstractComposer<Place,I extends AdvancedComposition<Place>,CollectionOfPlaces>- Parameters:
candidate- the candidate to decide acceptance for- Returns:
- whether to accept this candidate
-
candidateAccepted
protected void candidateAccepted(Place candidate)
Description copied from class:AbstractComposerHook for actions to perform on accepted candidates.- Specified by:
candidateAcceptedin classAbstractComposer<Place,I extends AdvancedComposition<Place>,CollectionOfPlaces>- Parameters:
candidate- the accepted candidate
-
candidateRejected
protected void candidateRejected(Place candidate)
Description copied from class:AbstractComposerHook for actions to perform on rejected candidates.- Specified by:
candidateRejectedin classAbstractComposer<Place,I extends AdvancedComposition<Place>,CollectionOfPlaces>- Parameters:
candidate- the rejected candidate
-
acceptanceRevoked
protected void acceptanceRevoked(Place candidate)
Description copied from class:AbstractComposerHook for actions to perform on initially accepted candidates which are now removed.- Specified by:
acceptanceRevokedin classAbstractComposer<Place,I extends AdvancedComposition<Place>,CollectionOfPlaces>- Parameters:
candidate- the revoked candidate
-
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
-
candidatesAreExhausted
public void candidatesAreExhausted()
Description copied from interface:ComposerHook method which is called when this composer will not receive any more candidates in the future as the connected proposer has been exhausted.
-
-