- Timestamp:
- 04/23/10 01:38:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r3430 r3504 146 146 147 147 Parameters.Add(new ValueParameter<BoolValue>("Maximization", "Set to false as the Traveling Salesman Problem is a minimization problem.", new BoolValue(false))); 148 Parameters.Add(new ValueParameter<DoubleMatrix>("Coordinates", "The x- and y-Coordinates of the cities." , new DoubleMatrix(0, 0)));148 Parameters.Add(new ValueParameter<DoubleMatrix>("Coordinates", "The x- and y-Coordinates of the cities.")); 149 149 Parameters.Add(new OptionalValueParameter<DoubleMatrix>("DistanceMatrix", "The matrix which contains the distances between the cities.")); 150 150 Parameters.Add(new ValueParameter<BoolValue>("UseDistanceMatrix", "True if a distance matrix should be calculated and used for evaluation, otherwise false.", new BoolValue(true))); … … 154 154 Parameters.Add(new OptionalValueParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution of this TSP instance.")); 155 155 Parameters.Add(new OptionalValueParameter<Permutation>("BestKnownSolution", "The best known solution of this TSP instance.")); 156 157 Coordinates = new DoubleMatrix(new double[,] { 158 { 100, 100 }, { 100, 200 }, { 100, 300 }, { 100, 400 }, 159 { 200, 100 }, { 200, 200 }, { 200, 300 }, { 200, 400 }, 160 { 300, 100 }, { 300, 200 }, { 300, 300 }, { 300, 400 }, 161 { 400, 100 }, { 400, 200 }, { 400, 300 }, { 400, 400 } 162 }); 156 163 157 164 creator.PermutationParameter.ActualName = "TSPTour";
Note: See TracChangeset
for help on using the changeset viewer.