Class CAPConstructive
java.lang.Object
es.urjc.etsii.grafo.create.Constructive<CAPSolution,CAPInstance>
es.urjc.etsii.grafo.flayouts.components.CAPConstructive
-
Nested Class Summary
Nested classes/interfaces inherited from class es.urjc.etsii.grafo.create.Constructive
Constructive.NullConstructive<S extends Solution<S,
I>, I extends Instance> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class es.urjc.etsii.grafo.create.Constructive
nul
-
Constructor Details
-
CAPConstructive
@AutoconfigConstructor public CAPConstructive(@CategoricalParam(strings={"random","greedyB1","greedyB2"}) String type, @RealParam(min=0.0,max=1.0) double alpha)
-
-
Method Details
-
construct
Description copied from class:Constructive
Build a solution. Start with an empty solution, end when the solution is valid.- Specified by:
construct
in classConstructive<CAPSolution,
CAPInstance> - Parameters:
solution
- Empty solution, the result of calling the constructor.- Returns:
- A valid solution that fulfills all the problem constraints.
-
toString
Description copied from class:Constructive
- Overrides:
toString
in classConstructive<CAPSolution,
CAPInstance>
-