Changeset 11265 for branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyser.cs
- Timestamp:
- 08/04/14 15:27:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyser.cs
r11240 r11265 42 42 get { return (LookupParameter<DoubleMatrix>)Parameters["Coordinates"]; } 43 43 } 44 public ILookupParameter<IntValue> StartingPointParameter { 45 get { return (ILookupParameter<IntValue>)Parameters["StartingPoint"]; } 46 } 47 public ILookupParameter<IntValue> TerminusPointParameter { 48 get { return (ILookupParameter<IntValue>)Parameters["TerminusPoint"]; } 49 } 44 50 public ILookupParameter<DoubleArray> ScoresParameter { 45 51 get { return (ILookupParameter<DoubleArray>)Parameters["Scores"]; } … … 72 78 Parameters.Add(new ScopeTreeLookupParameter<IntegerVector>("IntegerVector", "The Orienteering solutions which should be analysed.")); 73 79 Parameters.Add(new LookupParameter<DoubleMatrix>("Coordinates", "The x- and y-Coordinates of the points.")); 80 Parameters.Add(new LookupParameter<IntValue>("StartingPoint", "Index of the starting point.")); 81 Parameters.Add(new LookupParameter<IntValue>("TerminusPoint", "Index of the ending point.")); 74 82 Parameters.Add(new LookupParameter<DoubleArray>("Scores", "The scores of the points.")); 75 83 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The qualities of the Orienteering solutions which should be analyzed.")); … … 95 103 var solution = BestSolutionParameter.ActualValue; 96 104 var coordinates = CoordinatesParameter.ActualValue; 105 var startingPoint = StartingPointParameter.ActualValue; 106 var terminusPoint = TerminusPointParameter.ActualValue; 97 107 var scores = ScoresParameter.ActualValue; 98 108 if (solution == null) { … … 100 110 (IntegerVector)solutions[bestIndex].Clone(), 101 111 coordinates, 112 startingPoint, 113 terminusPoint, 102 114 scores, 103 115 new DoubleValue(qualities[bestIndex].Value));
Note: See TracChangeset
for help on using the changeset viewer.