- Timestamp:
- 08/27/14 13:28:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs
r11307 r11314 383 383 TerminusPoint = new IntValue(data.Dimension - 1); // Last city is interpreted als end point 384 384 385 MaximumDistance = new DoubleValue(DistanceMatrix [0, data.Dimension - 1] * 10.0); // distance from start to end first to last city is interpreted as maximum distance385 MaximumDistance = new DoubleValue(DistanceMatrix.Average() * 5.0); // distance from start to end first to last city is interpreted as maximum distance 386 386 Scores = new DoubleArray(Enumerable.Repeat(1.0, data.Dimension).ToArray()); // all scores are 1 387 387 }
Note: See TracChangeset
for help on using the changeset viewer.