Class TSPRandomConstructive
java.lang.Object
es.urjc.etsii.grafo.create.Constructive<TSPSolution, TSPInstance>
es.urjc.etsii.grafo.tsp.algorithms.constructives.TSPRandomConstructive
-
Nested Class Summary
Nested classes/interfaces inherited from class Constructive
Constructive.NullConstructive<S,I> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Constructive
nul, toString
-
Constructor Details
-
TSPRandomConstructive
public TSPRandomConstructive()
-
-
Method Details
-
construct
Description copied from class:ConstructiveBuild a solution. Start with an empty solution, end when the solution is valid.- Specified by:
constructin classConstructive<TSPSolution, TSPInstance>- Parameters:
solution- Empty solution, the result of calling the constructor.- Returns:
- A valid solution that fulfills all the problem constraints.
-