Class AbstractConstrainingComposer<C extends Candidate,I extends AdvancedComposition<C>,R extends Result,L extends CandidateConstraint<C>>
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.base.impls.AbstractComposer<C,I,R>
-
- org.processmining.specpp.base.impls.AbstractConstrainingComposer<C,I,R,L>
-
- Type Parameters:
C-I-R-
- All Implemented Interfaces:
java.util.function.Consumer<C>,Composer<C,I,R>,Constrainer<L>,ConstrainingComposer<C,I,R,L>,FullComponentSystemUser,ComposerComponent<C,I,R>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,ExposesObservable<L>,Initializable
public abstract class AbstractConstrainingComposer<C extends Candidate,I extends AdvancedComposition<C>,R extends Result,L extends CandidateConstraint<C>> extends AbstractComposer<C,I,R> implements ConstrainingComposer<C,I,R,L>
The abstract base class of aConstrainingComposerfor candidates of typeC. It internally employs a candidate collection of typeIwhich serves as its growing intermediate result. The final result of typeRcan be computed on demand.This class participates in the componenting system to provide
CandidateConstraintevents.- See Also:
ConstrainingComposer,CandidateConstraint
-
-
Field Summary
-
Fields inherited from class org.processmining.specpp.base.impls.AbstractComposer
assembleResult, composition
-
-
Constructor Summary
Constructors Constructor Description AbstractConstrainingComposer(I composition, java.util.function.Function<? super I,R> assembleResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Observable<L>getConstraintPublisher()protected voidpublishConstraint(L constraint)-
Methods inherited from class org.processmining.specpp.base.impls.AbstractComposer
accept, acceptanceRevoked, acceptCandidate, candidateAccepted, candidateRejected, composition, deliberateAcceptance, generateResult, getIntermediateResult, isFinished, rejectCandidate, revokeAcceptance, revokeLastAcceptance
-
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.base.Composer
accept, candidatesAreExhausted, generateResult, getIntermediateResult, isFinished
-
Methods inherited from interface org.processmining.specpp.base.Constrainer
getObservable, getPublishedConstraintClass
-
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
-
-
-
-
Method Detail
-
publishConstraint
protected void publishConstraint(L constraint)
-
getConstraintPublisher
public Observable<L> getConstraintPublisher()
- Specified by:
getConstraintPublisherin interfaceConstrainer<C extends Candidate>
-
-