Class LocalQualityBasedReconfigurationStrategy
java.lang.Object
org.palladiosimulator.simexp.pcm.examples.deltaiot.strategy.DeltaIoTReconfigurationStrategy
org.palladiosimulator.simexp.pcm.examples.deltaiot.strategy.LocalQualityBasedReconfigurationStrategy
- All Implemented Interfaces:
BasePolicy<QVToReconfiguration>
,Policy<org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator,
QVToReconfiguration>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.palladiosimulator.simexp.pcm.examples.deltaiot.strategy.DeltaIoTReconfigurationStrategy
DeltaIoTReconfigurationStrategy.DeltaIoTReconfigurationStrategyBuilder
-
Field Summary
Fields inherited from class org.palladiosimulator.simexp.pcm.examples.deltaiot.strategy.DeltaIoTReconfigurationStrategy
energyConsumptionSpec, LOWER_PACKET_LOSS, packetLossSpec, reconfParamsRepo, VARIABLE_REFERENCE_10_TO_5, VARIABLE_REFERENCE_10_TO_6, VARIABLE_REFERENCE_11_TO_7, VARIABLE_REFERENCE_12_TO_3, VARIABLE_REFERENCE_12_TO_7, VARIABLE_REFERENCE_13_TO_11, VARIABLE_REFERENCE_14_TO_12, VARIABLE_REFERENCE_15_TO_12, VARIABLE_REFERENCE_2_TO_4, VARIABLE_REFERENCE_3_TO_1, VARIABLE_REFERENCE_4_TO_1, VARIABLE_REFERENCE_5_TO_9, VARIABLE_REFERENCE_6_TO_4, VARIABLE_REFERENCE_7_TO_2, VARIABLE_REFERENCE_7_TO_3, VARIABLE_REFERENCE_8_TO_1, VARIABLE_REFERENCE_9_TO_1, VARIABLE_REFERENCES
-
Constructor Summary
ConstructorDescriptionLocalQualityBasedReconfigurationStrategy
(DeltaIoTModelAccess<org.palladiosimulator.solver.models.PCMInstance, org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator> modelAccess) -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected QVToReconfiguration
handleEnergyConsumption
(PcmSelfAdaptiveSystemState<org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> state, SimulatedMeasurement energyConsumtption, Set<QVToReconfiguration> options) protected QVToReconfiguration
handlePacketLoss
(PcmSelfAdaptiveSystemState<org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> state, SimulatedMeasurement packetLoss, Set<QVToReconfiguration> options) newBuilder
(DeltaIoTModelAccess<org.palladiosimulator.solver.models.PCMInstance, org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator> modelAccess) Methods inherited from class org.palladiosimulator.simexp.pcm.examples.deltaiot.strategy.DeltaIoTReconfigurationStrategy
decreaseDistributionFactorOfMote10, decreaseDistributionFactorOfMote12, decreaseDistributionFactorOfMote7, decreaseTransmissionPower, increaseDistributionFactor, increaseDistributionFactorOfMote10, increaseDistributionFactorOfMote12, increaseDistributionFactorOfMote7, increaseTransmissionPower, retrieveDistributionFactorReconfiguration, retrieveTransmissionPowerReconfiguration, select
-
Field Details
-
MEDIUM_PACKET_LOSS
-
LOWER_ENERGY_CONSUMPTION
-
-
Constructor Details
-
LocalQualityBasedReconfigurationStrategy
public LocalQualityBasedReconfigurationStrategy(DeltaIoTModelAccess<org.palladiosimulator.solver.models.PCMInstance, org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator> modelAccess)
-
-
Method Details
-
newBuilder
public static DeltaIoTReconfigurationStrategy.DeltaIoTReconfigurationStrategyBuilder newBuilder(DeltaIoTModelAccess<org.palladiosimulator.solver.models.PCMInstance, org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator> modelAccess) -
getId
-
handlePacketLoss
protected QVToReconfiguration handlePacketLoss(PcmSelfAdaptiveSystemState<org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> state, SimulatedMeasurement packetLoss, Set<QVToReconfiguration> options) - Specified by:
handlePacketLoss
in classDeltaIoTReconfigurationStrategy
-
handleEnergyConsumption
protected QVToReconfiguration handleEnergyConsumption(PcmSelfAdaptiveSystemState<org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator, List<org.palladiosimulator.envdyn.api.entity.bn.InputValue<tools.mdsd.probdist.api.entity.CategoricalValue>>> state, SimulatedMeasurement energyConsumtption, Set<QVToReconfiguration> options) - Specified by:
handleEnergyConsumption
in classDeltaIoTReconfigurationStrategy
-