No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Neighbor.java 510B

123456789101112131415
  1. package jobshop.solvers.neighborhood;
  2. import jobshop.encodings.Encoding;
  3. /** This class provides a representation of neighbor by allowing to transform
  4. * a solution in a particular encoding Enc into the neighbor and back.*/
  5. public abstract class Neighbor<Enc extends Encoding> {
  6. /** Transform the given solution into the neighbor. */
  7. public abstract void applyOn(Enc current);
  8. /** Transform the neighbor back into the original solution. */
  9. public abstract void undoApplyOn(Enc current);
  10. }