Package es.urjc.etsii.grafo.testutil
Class TestMoveWithMultipleObjectives
java.lang.Object
es.urjc.etsii.grafo.solution.Move<TestSolution,TestInstance>
es.urjc.etsii.grafo.testutil.TestMoveWithMultipleObjectives
-
Field Summary
Fields inherited from class es.urjc.etsii.grafo.solution.Move
solutionVersion -
Constructor Summary
ConstructorsConstructorDescriptionTestMoveWithMultipleObjectives(TestSolution solution, double[] deltas) TestMoveWithMultipleObjectives(TestSolution solution, double[] deltas, FMode[] fmodes) -
Method Summary
Modifier and TypeMethodDescriptionprotected TestSolution_execute(TestSolution solution) Executes the proposed move, to be implemented by each move typebooleanFMode[]double[]inthashCode()booleanisMaximizing(int i) booleanisMinimizing(int i) toString()Returns a String representation of the current movement.
-
Constructor Details
-
TestMoveWithMultipleObjectives
-
TestMoveWithMultipleObjectives
-
-
Method Details
-
_execute
Description copied from class:MoveExecutes the proposed move, to be implemented by each move type- Specified by:
_executein classMove<TestSolution,TestInstance>
-
getScoreChanges
public double[] getScoreChanges() -
toString
Description copied from class:MoveReturns a String representation of the current movement. Tip: Default IDEs implementations are usually fine- Specified by:
toStringin classMove<TestSolution,TestInstance> - Returns:
- human readable string
-
equals
Description copied from class:Move- Specified by:
equalsin classMove<TestSolution,TestInstance>
-
hashCode
public int hashCode()Description copied from class:Move- Specified by:
hashCodein classMove<TestSolution,TestInstance>
-
isMaximizing
public boolean isMaximizing(int i) -
isMinimizing
public boolean isMinimizing(int i) -
getFmodes
-