public interface EvaluableExpressionFitnessFunction
EvaluableExpressions
for their fitness to describe
measured parametric dependencies. What the expression exactly describes depends on the
MeasurableSeffElement it belongs to. Implements the well known strategy
design pattern.Modifier and Type | Method and Description |
---|---|
double |
gradeFor(ExternalCallParameter parameter,
EvaluableExpression expression,
EvaluableExpressionFitnessFunctionBlackboardView blackboard)
Judges how well
expression fits to describe the measurement results of
parameter . |
double |
gradeFor(ResourceDemandingInternalAction rdia,
EvaluableExpression expression,
EvaluableExpressionFitnessFunctionBlackboardView blackboard)
Judges how well
expression fits to describe the measurement results of
rdia . |
double |
gradeFor(SeffBranch branch,
EvaluableExpression expression,
EvaluableExpressionFitnessFunctionBlackboardView blackboard)
Judges how well
expression fits to describe the measurement results of
branch . |
double |
gradeFor(SeffLoop loop,
EvaluableExpression expression,
EvaluableExpressionFitnessFunctionBlackboardView blackboard)
Judges how well
expression fits to describe the measurement results of
loop . |
double gradeFor(ResourceDemandingInternalAction rdia, EvaluableExpression expression, EvaluableExpressionFitnessFunctionBlackboardView blackboard)
expression
fits to describe the measurement results of
rdia
.rdia
- A resource demanding internal action.expression
- A expression proposed to describe rdia
’s measurement
results.blackboard
- Beagle’s blackboard instance.expression
fits to describe the
measurement results of rdia
. Will be a value between 0 and
Double.MAX_VALUE
. The lower the value, the better the fitness.double gradeFor(SeffBranch branch, EvaluableExpression expression, EvaluableExpressionFitnessFunctionBlackboardView blackboard)
expression
fits to describe the measurement results of
branch
.branch
- A SEFF Branch.expression
- A expression proposed to describe branch
’s measurement
results.blackboard
- Beagle’s blackboard instance.expression
fits to describe the
measurement results of branch
. Will be a value between 0 and
Double.MAX_VALUE
. The lower the value, the better the fitness.double gradeFor(SeffLoop loop, EvaluableExpression expression, EvaluableExpressionFitnessFunctionBlackboardView blackboard)
expression
fits to describe the measurement results of
loop
.loop
- A SEFF Loop.expression
- A expression proposed to describe loop
’s measurement
results.blackboard
- Beagle’s blackboard instance.expression
fits to describe the
measurement results of loop
. Will be a value between 0 and
Double.MAX_VALUE
. The lower the value, the better the fitness.double gradeFor(ExternalCallParameter parameter, EvaluableExpression expression, EvaluableExpressionFitnessFunctionBlackboardView blackboard)
expression
fits to describe the measurement results of
parameter
.parameter
- An external call parameter.expression
- A expression proposed to describe parameter
’s measurement
results.blackboard
- Beagle’s blackboard instance.expression
fits to describe the
measurement results of parameter
. Will be a value between 0 and
Double.MAX_VALUE
. The lower the value, the better the fitness.