Class FLPRelocateNeigh.RelocateMove
java.lang.Object
es.urjc.etsii.grafo.solution.Move<FLPSolution, FLPInstance>
es.urjc.etsii.grafo.flayouts.model.FLPMove
es.urjc.etsii.grafo.flayouts.model.FLPRelocateNeigh.RelocateMove
- Enclosing class:
FLPRelocateNeigh
-
Field Summary
Fields inherited from class Move
solutionVersion -
Constructor Summary
ConstructorsConstructorDescriptionRelocateMove(FLPSolution solution, int row1, int pos1, int row2, int pos2) RelocateMove(FLPSolution solution, int row1, int pos1, int row2, int pos2, double cost) -
Method Summary
Modifier and TypeMethodDescriptionprotected FLPSolution_execute(FLPSolution solution) Executes the proposed move, to be implemented by each move typebooleaninthashCode()static doublemoveCost(FLPSolution solution, int row1, int pos1, int row2, int pos2) toString()Returns a String representation of the current movement.
-
Constructor Details
-
RelocateMove
-
RelocateMove
-
-
Method Details
-
moveCost
-
_execute
Description copied from class:MoveExecutes the proposed move, to be implemented by each move type- Specified by:
_executein classMove<FLPSolution, FLPInstance>
-
toString
-
equals
-
hashCode
-