public final class ReadOnlyMeasurementControllerBlackboardView extends Object
Blackboard
designed to be used by MeasurementResultAnalyser
. It allows reading access for resource
demanding internal actions, SEFF branches,
SEFF loops, external call
parameters, reading, and the fitness function.Constructor and Description |
---|
ReadOnlyMeasurementControllerBlackboardView(Blackboard blackboard)
Set the blackboard instance from the
AnalysisController to the private
blackboard attribute. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Set<ExternalCallParameter> |
getExternalCallParametersToBeMeasured()
Delegates to
Blackboard.getExternalCallParametersToBeMeasured()
. |
EvaluableExpressionFitnessFunction |
getFitnessFunction()
Delegates to
Blackboard.getFitnessFunction() . |
Set<ResourceDemandingInternalAction> |
getRdiasToBeMeasured()
Delegates to
Blackboard.getRdiasToBeMeasured() . |
Set<SeffBranch> |
getSeffBranchesToBeMeasured()
Delegates to
Blackboard.getSeffBranchesToBeMeasured() . |
Set<SeffLoop> |
getSeffLoopsToBeMeasured()
Delegates to
Blackboard.getSeffLoopsToBeMeasured() . |
int |
hashCode() |
<WRITTEN_TYPE extends Serializable> |
readFor(Class<? extends BlackboardStorer<WRITTEN_TYPE>> writer)
Delegates to
Blackboard.readFor(Class) . |
public ReadOnlyMeasurementControllerBlackboardView(Blackboard blackboard)
AnalysisController
to the private
blackboard attribute.blackboard
- The blackboard given from the AnalysisController
.public Set<ResourceDemandingInternalAction> getRdiasToBeMeasured()
Blackboard.getRdiasToBeMeasured()
.null
.Blackboard.getRdiasToBeMeasured()
public Set<SeffBranch> getSeffBranchesToBeMeasured()
Blackboard.getSeffBranchesToBeMeasured()
.null
.Blackboard.getSeffBranchesToBeMeasured()
public Set<SeffLoop> getSeffLoopsToBeMeasured()
Blackboard.getSeffLoopsToBeMeasured()
.null
.Blackboard.getSeffLoopsToBeMeasured()
public Set<ExternalCallParameter> getExternalCallParametersToBeMeasured()
Blackboard.getExternalCallParametersToBeMeasured()
.null
.Blackboard.getExternalCallParametersToBeMeasured()
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)