Changeset 12799 for branches/PTSP
- Timestamp:
- 07/22/15 13:50:12 (9 years ago)
- Location:
- branches/PTSP/HeuristicLab.Problems.PTSP/3.3
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/EstimatedPTSP.cs
r12387 r12799 53 53 Parameters.Add(new ValueParameter<IntValue>("RealizationsSize", "Size of the sample for the estimation-based evaluation")); 54 54 Parameters.Add(new ValueParameter<ItemList<ItemList<IntValue>>>("Realizations", "The concrete...")); 55 56 Operators.RemoveAll(x => x is ISingleObjectiveMoveEvaluator); 57 Operators.RemoveAll(x => x is IMoveGenerator); 58 Operators.RemoveAll(x => x is IMoveMaker); 59 60 Operators.Add(new BestPTSPSolutionAnalyzer()); 61 55 62 Operators.Add(new PTSPEstimatedInversionEvaluator()); 56 63 Operators.Add(new PTSPEstimatedInsertionEvaluator()); -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/HeuristicLab.Problems.PTSP-3.3.csproj
r12380 r12799 115 115 <None Include="Plugin.cs.frame" /> 116 116 <Compile Include="AnalyticalPTSP.cs" /> 117 <Compile Include="Analyzers\BestPTSPSolutionAnalyzer.cs" /> 117 118 <Compile Include="DistanceMatrix.cs" /> 118 119 <Compile Include="EstimatedPTSP.cs" /> -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/OneShift/PTSPEstimatedInsertionEvaluator.cs
r12380 r12799 157 157 } 158 158 // return average of cost differences 159 return moveQuality / realizations.C apacity;159 return moveQuality / realizations.Count; 160 160 } 161 161 -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/TwoOpt/PTSPEstimatedInversionEvaluator.cs
r12380 r12799 119 119 } 120 120 // return average of cost differences 121 return moveQuality / realizations.C apacity;121 return moveQuality / realizations.Count; 122 122 } 123 123 -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/MoveEvaluators/TwoPointFiveOpt/PTSP25MoveEvaluator.cs
r12272 r12799 175 175 } 176 176 // return average of cost differences 177 return moveQuality / realizations.C apacity;177 return moveQuality / realizations.Count; 178 178 } 179 179 public static double EvaluateInsertionByDistanceMatrix(Permutation permutation, TwoPointFiveMove move, DistanceMatrix distanceMatrix, ItemList<ItemList<IntValue>> realizations) { … … 258 258 } 259 259 // return average of cost differences 260 return moveQuality / realizations.C apacity;260 return moveQuality / realizations.Count; 261 261 } 262 262 protected double EvaluateByDistanceMatrix(Permutation permutation, DistanceMatrix distanceMatrix) { -
branches/PTSP/HeuristicLab.Problems.PTSP/3.3/PathPTSPTour.cs
r12228 r12799 32 32 /// Represents a tour of a Probabilistic Traveling Salesman Problem given in path representation which can be visualized in the GUI. 33 33 /// </summary> 34 [Item("Path TSPTour", "Represents a tour of a Probabilistic Traveling Salesman Problem given in path representation which can be visualized in the GUI.")]34 [Item("PathPTSPTour", "Represents a tour of a Probabilistic Traveling Salesman Problem given in path representation which can be visualized in the GUI.")] 35 35 [StorableClass] 36 36 public sealed class PathPTSPTour : Item {
Note: See TracChangeset
for help on using the changeset viewer.