Class DeltaIoTPrismFileUpdater<A>
java.lang.Object
org.palladiosimulator.simexp.pcm.prism.generator.PrismFileUpdateGenerator.PrismFileUpdater<A,List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>>
org.palladiosimulator.simexp.pcm.examples.deltaiot.process.DeltaIoTPrismFileUpdater<A>
- Direct Known Subclasses:
EnergyConsumptionPrismFileUpdater
,PacketLossPrismFileUpdater
public abstract class DeltaIoTPrismFileUpdater<A>
extends PrismFileUpdateGenerator.PrismFileUpdater<A,List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>>
-
Field Summary
Fields inherited from class org.palladiosimulator.simexp.pcm.prism.generator.PrismFileUpdateGenerator.PrismFileUpdater
prismSpec
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
resolveAndSubstitute
(PrismContext prismContext, String unresolvedSymbol, String value) protected <T extends org.palladiosimulator.pcm.core.entity.Entity>
List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>resolveInputValue
(T appliedElement, PerceivableEnvironmentalState<List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> perceivedEnvironmentalState) protected <T extends org.palladiosimulator.pcm.core.entity.Entity>
voidsubstitute
(PrismContext prismContext, T element, String value) protected <T extends org.palladiosimulator.pcm.core.entity.Entity>
voidsubstitute
(PrismContext prismContext, T element, org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue> value) protected void
substituteDistributionFactor
(PrismContext prismContext, PcmSelfAdaptiveSystemState<A, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> sasState) protected void
substituteDistributionFactor
(PrismContext prismContext, PcmSelfAdaptiveSystemState<A, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> sasState, Function<Double, Integer> factorNormalization) protected void
substituteMoteActivations
(PrismContext prismContext, PcmSelfAdaptiveSystemState<A, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> sasState) Methods inherited from class org.palladiosimulator.simexp.pcm.prism.generator.PrismFileUpdateGenerator.PrismFileUpdater
apply, isApplicable, stringify
-
Constructor Details
-
DeltaIoTPrismFileUpdater
-
-
Method Details
-
substituteDistributionFactor
protected void substituteDistributionFactor(PrismContext prismContext, PcmSelfAdaptiveSystemState<A, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> sasState) -
substituteDistributionFactor
protected void substituteDistributionFactor(PrismContext prismContext, PcmSelfAdaptiveSystemState<A, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> sasState, Function<Double, Integer> factorNormalization) -
substituteMoteActivations
protected void substituteMoteActivations(PrismContext prismContext, PcmSelfAdaptiveSystemState<A, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> sasState) -
resolveInputValue
protected <T extends org.palladiosimulator.pcm.core.entity.Entity> List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>> resolveInputValue(T appliedElement, PerceivableEnvironmentalState<List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> perceivedEnvironmentalState) -
substitute
protected <T extends org.palladiosimulator.pcm.core.entity.Entity> void substitute(PrismContext prismContext, T element, org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue> value) -
substitute
protected <T extends org.palladiosimulator.pcm.core.entity.Entity> void substitute(PrismContext prismContext, T element, String value) -
resolveAndSubstitute
protected void resolveAndSubstitute(PrismContext prismContext, String unresolvedSymbol, String value)
-