public class WorstObjectiveBiasedJudge extends SolutionJudge
Modifier and Type | Field and Description |
---|---|
protected double |
_bestSatisfaction
the current best satisfaction
|
protected java.util.List<Trial> |
_optimalSolutions
the current list of the most optimal solutions
|
protected double |
_totalWeight
used to normalize the total satisfaction to a scale of 0 to 1
|
protected double |
BIAS_WEIGHT
the bias weight
|
_eventProxy, _messageCenter
Constructor and Description |
---|
WorstObjectiveBiasedJudge()
Constructor
|
WorstObjectiveBiasedJudge(double biasWeight)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Trial> |
getOptimalSolutions()
Get the optimal solutions.
|
void |
judge(Trial trial)
Judge the trial.
|
void |
reset()
Reset the satisfaction sum judge.
|
addSolutionJudgeListener, getInstance, removeSolutionJudgeListener
protected final double BIAS_WEIGHT
protected double _bestSatisfaction
protected double _totalWeight
protected java.util.List<Trial> _optimalSolutions
public WorstObjectiveBiasedJudge()
public WorstObjectiveBiasedJudge(double biasWeight)
public void reset()
reset
in class SolutionJudge
public java.util.List<Trial> getOptimalSolutions()
getOptimalSolutions
in class SolutionJudge
public void judge(Trial trial)
judge
in class SolutionJudge
trial
- The trial with which to update the solution judge.