Class AccuracyAnalysisHelper
java.lang.Object
de.uka.ipd.sdq.simucomframework.accuracy.AccuracyAnalysisHelper
Tools which help to analyze the accuracy influence in the simucomframework.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkBoundsInterval
(String partitionId, String partitionResourceName, SimuComModel config, SimulatedStackframe<Object> stackframe, String simuComId, String rdseffId, String actionId, String resourceName, String from, String to) Checks that the value for an ID in the stack frame is within the specified bounds.static void
checkBoundsRange
(String partitionId, String partitionResourceName, SimuComModel config, SimulatedStackframe<Object> stackframe, String simuComId, String rdseffId, String actionId, String resourceName, String... specifications) Checks that the value for an ID in the stack frame is within a provided list of values.
-
Constructor Details
-
AccuracyAnalysisHelper
public AccuracyAnalysisHelper()
-
-
Method Details
-
checkBoundsInterval
public static void checkBoundsInterval(String partitionId, String partitionResourceName, SimuComModel config, SimulatedStackframe<Object> stackframe, String simuComId, String rdseffId, String actionId, String resourceName, String from, String to) Checks that the value for an ID in the stack frame is within the specified bounds.- Parameters:
config
- Issues will be reported to this instance.stackframe
- The stack frame.simuComId
- The ID.rdseffId
- The UUID of the RD-SEFF in which the variable was accessed.actionId
- UUID of theAbstractAction
for which a message was recorded.resourceName
- The location of the resource.from
- Lower bound (inclusive).to
- Upper bound (inclusive)
-
checkBoundsRange
public static void checkBoundsRange(String partitionId, String partitionResourceName, SimuComModel config, SimulatedStackframe<Object> stackframe, String simuComId, String rdseffId, String actionId, String resourceName, String... specifications) Checks that the value for an ID in the stack frame is within a provided list of values.- Parameters:
config
- Issues will be reported to this instance.stackframe
- The stack frame.simuComId
- The ID.rdseffId
- The UUID of the RD-SEFF in which the variable was accessed.resourceName
- The location of the resource.actionId
- UUID of theAbstractAction
in which the variable was accessed.specifications
- Valid values.
-