Class StrategicOscillation

java.lang.Object
es.urjc.etsii.grafo.shake.Shake<BMSSCSolution,BMSSCInstance>
es.urjc.etsii.grafo.bmssc.improve.StrategicOscillation

public class StrategicOscillation extends Shake<BMSSCSolution,BMSSCInstance>
  • Constructor Details

  • Method Details

    • shake

      public BMSSCSolution shake(BMSSCSolution solution, int k)
      Description copied from class: Shake
      Shake the solution. Use k to calculate how powerful the shake should be in your implementation. Can be as simple as number of elements to remove, or to swap. Whatever you want.
      Specified by:
      shake in class Shake<BMSSCSolution,BMSSCInstance>
      Parameters:
      solution - Solution to shake
      k - shake strength
      Returns:
      shaken solution. Shaken, not stirred.
    • fixClusters

      public void fixClusters(BMSSCSolution s)
    • movePointAnywhere

      public void movePointAnywhere(int overloadedCluster, BMSSCSolution solution)