Class FLPAddNeigh.AddMove
java.lang.Object
es.urjc.etsii.grafo.solution.Move<FLPSolution, FLPInstance>
es.urjc.etsii.grafo.flayouts.model.FLPMove
es.urjc.etsii.grafo.flayouts.model.FLPAddNeigh.AddMove
- Enclosing class:
FLPAddNeigh
-
Field Summary
Fields inherited from class Move
solutionVersion -
Constructor Summary
ConstructorsConstructorDescriptionAddMove(FLPSolution solution, int rowIdx, int pos, int facility) AddMove(FLPSolution solution, int rowIdx, int pos, int facility, double cost) -
Method Summary
Modifier and TypeMethodDescriptionprotected FLPSolution_execute(FLPSolution solution) Executes the proposed move, to be implemented by each move typebooleanintfacility()inthashCode()intpos()introwIdx()toString()Returns a String representation of the current movement.
-
Constructor Details
-
AddMove
-
AddMove
-
-
Method Details
-
pos
public int pos() -
rowIdx
public int rowIdx() -
facility
public int facility() -
_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
-