public class FinalJudge extends Object implements BlackboardStorer<de.uka.ipd.sdq.beagle.core.judge.FinalJudgeData>
Modifier and Type | Field and Description |
---|---|
static double |
MAX_CONSIDERED_FITNESS_VALUE
Fitness values bigger than this number will be set to this number and therefore
will not be considered as the values they truly are.
|
Constructor and Description |
---|
FinalJudge() |
Modifier and Type | Method and Description |
---|---|
void |
init(Blackboard blackboard)
Initialises the
FinalJudge object. |
boolean |
judge(Blackboard blackboard)
Implements the break condition for evolution of evaluable expressions.
|
public static final double MAX_CONSIDERED_FITNESS_VALUE
public void init(Blackboard blackboard)
FinalJudge
object. Call this method before starting
evolution of evaluable expressions to start counting the total time the entire
evolution of evaluable expressions takes.blackboard
- The Blackboard
to store the data of this
FinalJudge
on. Must not be null
.public boolean judge(Blackboard blackboard)
blackboard
- The Blackboard
this FinalJudge
operates on. Must
not be null
.true
to indicate that evolution of evaluable expressions will be
stopped; false
otherwise.