public final class ReadOnlyMeasurementResultAnalyserBlackboardView extends Object
Blackboard designed to be used by
MeasurementResultAnalyser. It allows reading access for
ResourceDemandMeasurementResults,
BranchDecisionMeasurementResults and
LoopRepetitionCountMeasurementResults
.| Constructor and Description |
|---|
ReadOnlyMeasurementResultAnalyserBlackboardView(Blackboard blackboard)
Set the blackboard instance from the
AnalysisController to the private
blackboard attribute. |
public ReadOnlyMeasurementResultAnalyserBlackboardView(Blackboard blackboard)
AnalysisController to the private
blackboard attribute.blackboard - The blackboard given from the AnalysisController.public Set<ResourceDemandingInternalAction> getAllRdias()
Blackboard.getAllSeffBranches().null.public Set<SeffBranch> getAllSeffBranches()
Blackboard.getAllSeffBranches().null.public Set<SeffLoop> getAllSeffLoops()
Blackboard.getAllSeffLoops().null.public Set<ExternalCallParameter> getAllExternalCallParameters()
Blackboard.getAllExternalCallParameters().null.public Set<ResourceDemandMeasurementResult> getMeasurementResultsFor(ResourceDemandingInternalAction rdia)
rdia - An resource demanding internal action to get the measurement results
of. Must not be null.rdia. Changes to the returned
set will not modify the blackboard content. Is never null.Blackboard.getMeasurementResultsFor(
ResourceDemandingInternalAction)public Set<BranchDecisionMeasurementResult> getMeasurementResultsFor(SeffBranch branch)
Blackboard.getMeasurementResultsFor(SeffBranch).branch - A SEFF Branch to get the measurement results of. Must not be
null.branch. Changes to the
returned set will not modify the blackboard content. Is never null.Blackboard.getMeasurementResultsFor(SeffBranch)public Set<LoopRepetitionCountMeasurementResult> getMeasurementResultsFor(SeffLoop loop)
Blackboard.getMeasurementResultsFor(SeffLoop).loop - A SEFF Loop to get the measurement results of. Must not be null
.loop. Changes to the returned
set will not modify the blackboard content. Is never null.Blackboard.getMeasurementResultsFor(SeffLoop)public Set<ParameterChangeMeasurementResult> getMeasurementResultsFor(ExternalCallParameter externalCallParameter)
Blackboard.getMeasurementResultsFor(ExternalCallParameter)
.externalCallParameter - An external parameter to get the measurement results
of. Must not be null.loexternalCallParameterop.
Changes to the returned set will not modify the blackboard content. Is
never null.Blackboard.getMeasurementResultsFor(ExternalCallParameter)public EvaluableExpressionFitnessFunction getFitnessFunction()
Blackboard.getFitnessFunction() .Blackboard.getFitnessFunction()public <WRITTEN_TYPE extends Serializable> WRITTEN_TYPE readFor(Class<? extends BlackboardStorer<WRITTEN_TYPE>> writer)
Blackboard.readFor(Class) .WRITTEN_TYPE - The type of the data to be read.writer - The class the desired data was written for. Must not be null.writer. null if no data has been written for
writer yet.Blackboard.readFor(Class)