Class AbsoluteFitnessFilter<I extends CompositionComponent<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.FilteringComposer<Place,I,R>
-
- org.processmining.specpp.composition.composers.ConstrainingFilteringPlaceComposer<I,R>
-
- org.processmining.specpp.composition.composers.CachingFitnessFilter<I,R>
-
- org.processmining.specpp.composition.composers.AbsoluteFitnessFilter<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
- Direct Known Subclasses:
EventingAbsoluteFitnessFilter
public class AbsoluteFitnessFilter<I extends CompositionComponent<Place>,R extends Result> extends CachingFitnessFilter<I,R>
-
-
Field Summary
-
Fields inherited from class org.processmining.specpp.composition.composers.CachingFitnessFilter
fitnessCache, fitnessEvaluator, fitnessThresholds
-
Fields inherited from class org.processmining.specpp.composition.composers.ConstrainingFilteringPlaceComposer
constraintEvents
-
Fields inherited from class org.processmining.specpp.base.impls.RecursiveComposer
childComposer
-
-
Constructor Summary
Constructors Constructor Description AbsoluteFitnessFilter(ComposerComponent<Place,I,R> childComposer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Place place)Hook method which decides how to handle an incoming candidate.protected voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.-
Methods inherited from class org.processmining.specpp.composition.composers.ConstrainingFilteringPlaceComposer
getConstraintPublisher, getPublishedConstraintClass, gotFiltered
-
Methods inherited from class org.processmining.specpp.base.impls.RecursiveComposer
candidatesAreExhausted, 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
candidatesAreExhausted, 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
-
AbsoluteFitnessFilter
public AbsoluteFitnessFilter(ComposerComponent<Place,I,R> childComposer)
-
-
Method Detail
-
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.- Overrides:
initSelfin classConstrainingFilteringPlaceComposer<I extends CompositionComponent<Place>,R extends Result>
-
accept
public void accept(Place place)
Description copied from interface:ComposerHook method which decides how to handle an incoming candidate. The internal logic decides whether the candidate is eventually added to the current composition.- Specified by:
acceptin interfaceComposer<Place,I extends CompositionComponent<Place>,R extends Result>- Specified by:
acceptin interfacejava.util.function.Consumer<I extends CompositionComponent<Place>>- Specified by:
acceptin classFilteringComposer<Place,I extends CompositionComponent<Place>,R extends Result>- Parameters:
place- the candidate that has been offered to this composer
-
-