public final class ReadOnlyProposedExpressionAnalyserBlackboardView extends Object
Blackboard designed to be used by
MeasurementResultAnalyser . It allows reading access and adding access for
resource demanding internal actions,
SEFF branches, SEFF loops,
external call parameters, reading, writing, and the
fitness function.| Constructor and Description |
|---|
ReadOnlyProposedExpressionAnalyserBlackboardView(Blackboard blackboard)
Set the blackboard instance from the
AnalysisController to the private
blackboard attribute. |
public ReadOnlyProposedExpressionAnalyserBlackboardView(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.externalCallParameter. Changes
to the returned set will not modify the blackboard content. Is never
null.Blackboard.getMeasurementResultsFor(ExternalCallParameter)public Set<EvaluableExpression> getProposedExpressionFor(MeasurableSeffElement element)
Blackboard.getProposedExpressionFor(MeasurableSeffElement)
.element - A SEFF element. Must not be null.measurebleSeffElements Changes to the
returned set will not modify the blackboard content. Is never null.Blackboard.getProposedExpressionFor(MeasurableSeffElement)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)