Class DeltaComposer<I extends AdvancedComposition<Place>,R extends Result>
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.base.impls.RecursiveComposer<C,I,R>
-
- org.processmining.specpp.base.impls.AbstractPostponingComposer<C,I,R,L>
-
- org.processmining.specpp.base.impls.AbstractQueueingComposer<Place,I,R,CandidateConstraint<Place>>
-
- org.processmining.specpp.composition.composers.DeltaComposer<I,R>
-
- All Implemented Interfaces:
java.util.function.Consumer<Place>,Composer<Place,I,R>,Constrainer<CandidateConstraint<Place>>,ConstrainingComposer<Place,I,R,CandidateConstraint<Place>>,FullComponentSystemUser,ComposerComponent<Place,I,R>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,ExposesObservable<CandidateConstraint<Place>>,Initializable,Triggerable
public class DeltaComposer<I extends AdvancedComposition<Place>,R extends Result> extends AbstractQueueingComposer<Place,I,R,CandidateConstraint<Place>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.processmining.specpp.base.impls.AbstractPostponingComposer
AbstractPostponingComposer.CandidateDecision
-
-
Field Summary
-
Fields inherited from class org.processmining.specpp.base.impls.AbstractQueueingComposer
postponedCandidates
-
Fields inherited from class org.processmining.specpp.base.impls.RecursiveComposer
childComposer
-
-
Constructor Summary
Constructors Constructor Description DeltaComposer(ComposerComponent<Place,I,R> childComposer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 AbstractPostponingComposer.CandidateDecisiondeliberateCandidate(Place candidate)protected voiddiscardCandidate(Place candidate)java.lang.Class<CandidateConstraint<Place>>getPublishedConstraintClass()voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.protected voidpostponeDecision(Place candidate)protected AbstractPostponingComposer.CandidateDecisionreDeliberateCandidate(Place candidate)protected voidrejectCandidate(Place candidate)-
Methods inherited from class org.processmining.specpp.base.impls.AbstractQueueingComposer
iteratePostponedCandidates
-
Methods inherited from class org.processmining.specpp.base.impls.AbstractPostponingComposer
accept, acceptCandidate, getConstraintPublisher, iteratePostponedCandidatesUntilNoChange, publishConstraint, trigger
-
Methods inherited from class org.processmining.specpp.base.impls.RecursiveComposer
forward, generateResult, getIntermediateResult, isFinished
-
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.base.Composer
generateResult, getIntermediateResult, isFinished
-
Methods inherited from interface org.processmining.specpp.base.Constrainer
getObservable
-
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
-
DeltaComposer
public DeltaComposer(ComposerComponent<Place,I,R> childComposer)
-
-
Method Detail
-
initSelf
public 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.- Overrides:
initSelfin classAbstractQueueingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
deliberateCandidate
protected AbstractPostponingComposer.CandidateDecision deliberateCandidate(Place candidate)
- Specified by:
deliberateCandidatein classAbstractPostponingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
postponeDecision
protected void postponeDecision(Place candidate)
- Overrides:
postponeDecisionin classAbstractQueueingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
reDeliberateCandidate
protected AbstractPostponingComposer.CandidateDecision reDeliberateCandidate(Place candidate)
- Specified by:
reDeliberateCandidatein classAbstractQueueingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
rejectCandidate
protected void rejectCandidate(Place candidate)
- Specified by:
rejectCandidatein classAbstractPostponingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
discardCandidate
protected void discardCandidate(Place candidate)
- Specified by:
discardCandidatein classAbstractPostponingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
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.- Specified by:
candidatesAreExhaustedin interfaceComposer<Place,I extends AdvancedComposition<Place>,R extends Result>- Overrides:
candidatesAreExhaustedin classAbstractPostponingComposer<Place,I extends AdvancedComposition<Place>,R extends Result,CandidateConstraint<Place>>
-
getPublishedConstraintClass
public java.lang.Class<CandidateConstraint<Place>> getPublishedConstraintClass()
-
-