Class CAPShake
java.lang.Object
es.urjc.etsii.grafo.shake.Shake<CAPSolution,CAPInstance>
es.urjc.etsii.grafo.flayouts.components.CAPShake
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshake(CAPSolution solution, int k) Shake the solution.toString()
-
Constructor Details
-
CAPShake
@AutoconfigConstructor public CAPShake(@CategoricalParam(strings={"1","2","5","6","7","10"}) String type)
-
-
Method Details
-
shake
Description copied from class:ShakeShake 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:
shakein classShake<CAPSolution,CAPInstance> - Parameters:
solution- Solution to shakek- shake strength- Returns:
- shaken solution. Shaken, not stirred.
-
toString
-