Class StatefulPlaceComposition
- java.lang.Object
-
- org.processmining.specpp.componenting.system.link.AbstractBaseClass
-
- org.processmining.specpp.base.impls.AbstractComposition<C,java.util.ArrayList<C>>
-
- org.processmining.specpp.base.impls.ArrayListComposition<Place>
-
- org.processmining.specpp.composition.BasePlaceComposition
-
- org.processmining.specpp.composition.StatefulPlaceComposition
-
- All Implemented Interfaces:
java.lang.Iterable<Place>,java.util.function.Consumer<Place>,AdvancedComposition<Place>,Composition<Place>,Evaluable,IntermediateResult,MutableCappedComposition<Place>,Result,FullComponentSystemUser,CompositionComponent<Place>,HasComponentCollection,IsGlobalProvider,UsesGlobalComponentSystem,UsesLocalComponentSystem,OffersImplicitness,OffersPlaceCompositionState,MutableSequentialCollection<Place>,SequentialCollection<Place>,Initializable,IsSizeLimited,ProperlyPrintable
public class StatefulPlaceComposition extends BasePlaceComposition implements OffersPlaceCompositionState, OffersImplicitness
-
-
Field Summary
Fields Modifier and Type Field Description protected DelegatingDataSource<BitMask>consideredVariantsprotected WeightedBitMaskcurrentlySupportedVariantsprotected DelegatingEvaluator<EvaluationParameterTuple2<Place,java.util.Collection<Place>>,BooleanImplicitness>externalImplicitnessCalculatorprotected java.util.Map<Place,VariantMarkingHistories>historiesprotected Evaluator<Place,VariantMarkingHistories>historyMakerprotected Evaluator<Place,ImplicitnessRating>implicitnessRaterprotected java.util.Map<Place,BitMask>locallySupportedVariantsstatic TaskDescriptionREPLAY_BASED_CONCURRENT_IMPLICITNESSprotected TimeStoppertimeStopperprotected DelegatingDataSource<IntVector>variantFrequencies-
Fields inherited from class org.processmining.specpp.base.impls.ArrayListComposition
ABSOLUTE_SIZE_LIMIT
-
Fields inherited from class org.processmining.specpp.base.impls.AbstractComposition
candidates
-
-
Constructor Summary
Constructors Constructor Description StatefulPlaceComposition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Place place)WeightedBitMaskgetCurrentlySupportedVariants()voidinitSelf()Hook for subclasses to initialize themselves after the initial constructor call.ImplicitnessRatingrateImplicitness(Place place)voidremove(Place candidate)-
Methods inherited from class org.processmining.specpp.base.impls.ArrayListComposition
hasCapacityLeft, maxSize, removeLast
-
Methods inherited from class org.processmining.specpp.base.impls.AbstractComposition
getLastAcceptedCandidate, iterator, setLastAcceptedCandidate, size, toList, toSet, toString
-
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, 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.traits.IsSizeLimited
size
-
Methods inherited from interface org.processmining.specpp.datastructures.util.SequentialCollection
size, toList, toSet
-
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
-
REPLAY_BASED_CONCURRENT_IMPLICITNESS
public static final TaskDescription REPLAY_BASED_CONCURRENT_IMPLICITNESS
-
historyMaker
protected final Evaluator<Place,VariantMarkingHistories> historyMaker
-
histories
protected final java.util.Map<Place,VariantMarkingHistories> histories
-
implicitnessRater
protected Evaluator<Place,ImplicitnessRating> implicitnessRater
-
currentlySupportedVariants
protected WeightedBitMask currentlySupportedVariants
-
consideredVariants
protected final DelegatingDataSource<BitMask> consideredVariants
-
variantFrequencies
protected final DelegatingDataSource<IntVector> variantFrequencies
-
externalImplicitnessCalculator
protected final DelegatingEvaluator<EvaluationParameterTuple2<Place,java.util.Collection<Place>>,BooleanImplicitness> externalImplicitnessCalculator
-
timeStopper
protected final TimeStopper timeStopper
-
-
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 classArrayListComposition<Place>
-
accept
public void accept(Place place)
- Specified by:
acceptin interfacejava.util.function.Consumer<Place>- Overrides:
acceptin classAbstractComposition<Place,java.util.ArrayList<Place>>
-
getCurrentlySupportedVariants
public WeightedBitMask getCurrentlySupportedVariants()
- Specified by:
getCurrentlySupportedVariantsin interfaceOffersPlaceCompositionState
-
rateImplicitness
public ImplicitnessRating rateImplicitness(Place place)
- Specified by:
rateImplicitnessin interfaceOffersImplicitness
-
remove
public void remove(Place candidate)
- Specified by:
removein interfaceMutableSequentialCollection<Place>- Overrides:
removein classArrayListComposition<Place>
-
-