Class StrategicOscillation
java.lang.Object
es.urjc.etsii.grafo.shake.Shake<BMSSCSolution,BMSSCInstance>
es.urjc.etsii.grafo.bmssc.improve.StrategicOscillation
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
movePointAnywhere
(int overloadedCluster, BMSSCSolution solution) shake
(BMSSCSolution solution, int k) Shake the solution.
-
Constructor Details
-
StrategicOscillation
-
-
Method Details
-
shake
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 classShake<BMSSCSolution,
BMSSCInstance> - Parameters:
solution
- Solution to shakek
- shake strength- Returns:
- shaken solution. Shaken, not stirred.
-
fixClusters
-
movePointAnywhere
-