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 typeboolean
FMode[]
double[]
int
hashCode()
boolean
isMaximizing
(int i) boolean
isMinimizing
(int i) toString()
Returns a String representation of the current movement.
-
Constructor Details
-
TestMoveWithMultipleObjectives
-
TestMoveWithMultipleObjectives
-
-
Method Details
-
_execute
Description copied from class:Move
Executes the proposed move, to be implemented by each move type- Specified by:
_execute
in classMove<TestSolution,
TestInstance>
-
getScoreChanges
public double[] getScoreChanges() -
toString
Description copied from class:Move
Returns a String representation of the current movement. Tip: Default IDEs implementations are usually fine- Specified by:
toString
in classMove<TestSolution,
TestInstance> - Returns:
- human readable string
-
equals
Description copied from class:Move
- Specified by:
equals
in classMove<TestSolution,
TestInstance>
-
hashCode
public int hashCode()Description copied from class:Move
- Specified by:
hashCode
in classMove<TestSolution,
TestInstance>
-
isMaximizing
public boolean isMaximizing(int i) -
isMinimizing
public boolean isMinimizing(int i) -
getFmodes
-