Package org.uma.jmetal.util.measure.impl
Class LastEvaluationMeasure<Solution,Value>
java.lang.Object
org.uma.jmetal.util.naming.impl.SimpleDescribedEntity
org.uma.jmetal.util.measure.impl.SimpleMeasure<LastEvaluationMeasure.Evaluation<Solution,Value>>
org.uma.jmetal.util.measure.impl.SimplePushMeasure<LastEvaluationMeasure.Evaluation<Solution,Value>>
org.uma.jmetal.util.measure.impl.LastEvaluationMeasure<Solution,Value>
- Type Parameters:
Solution- the solution evaluatedValue- the type of value used to evaluate the solution (Double, BigDecimal, enum, ...)
- All Implemented Interfaces:
Serializable,Measure<LastEvaluationMeasure.Evaluation<Solution,,Value>> PushMeasure<LastEvaluationMeasure.Evaluation<Solution,,Value>> DescribedEntity
public class LastEvaluationMeasure<Solution,Value>
extends SimplePushMeasure<LastEvaluationMeasure.Evaluation<Solution,Value>>
LastEvaluationMeasure is a PushMeasure providing the last
evaluation made in an algorithm. It extends SimplePushMeasure and add
the method push(Object, Object) for simplicity.- Author:
- Matthieu Vergne
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis structure represent an atomic evaluation of a given solution. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method is equivalent toSimplePushMeasure.push(Object)excepted that it automatically create theLastEvaluationMeasure.Evaluationinstance.Methods inherited from class org.uma.jmetal.util.measure.impl.SimplePushMeasure
push, register, unregisterMethods inherited from class org.uma.jmetal.util.naming.impl.SimpleDescribedEntity
description, name, setDescription, setName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.uma.jmetal.util.naming.DescribedEntity
description, name
-
Constructor Details
-
LastEvaluationMeasure
public LastEvaluationMeasure()
-
-
Method Details
-
push
This method is equivalent toSimplePushMeasure.push(Object)excepted that it automatically create theLastEvaluationMeasure.Evaluationinstance.- Parameters:
solution- the solution evaluatedvalue- the value of this solution
-