Changeset 10116
- Timestamp:
- 11/08/13 11:48:18 (11 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers-3.3.csproj
r10114 r10116 91 91 <Private>False</Private> 92 92 </Reference> 93 <Reference Include="HeuristicLab.Problems.TravelingSalesman-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 94 <SpecificVersion>False</SpecificVersion> 95 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.TravelingSalesman-3.3.dll</HintPath> 96 <Private>False</Private> 97 </Reference> 93 98 <Reference Include="System" /> 94 99 <Reference Include="System.Core" /> … … 104 109 <Compile Include="RealVectorConvexHullSolutionCacheAnalyzer.cs" /> 105 110 <Compile Include="DistanceMatrixToPoints.cs" /> 111 <Compile Include="RunCollectionModifiers\PermutationConvexHullModifier.cs" /> 112 <Compile Include="RunCollectionModifiers\RealVectorConvexHullModifier.cs" /> 106 113 <Compile Include="VertexComparer.cs" /> 107 114 <Compile Include="CombinedOperator.cs" /> -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/Plugin.cs.frame
r9789 r10116 31 31 [PluginDependency("HeuristicLab.Data", "3.3")] 32 32 [PluginDependency("HeuristicLab.Encodings.PermutationEncoding", "3.3")] 33 [PluginDependency("HeuristicLab.Encodings.RealVectorEncoding", "3.3")] 34 [PluginDependency("HeuristicLab.Problems.TravelingSalesman", "3.3")] 33 35 [PluginDependency("HeuristicLab.Operators", "3.3")] 34 36 [PluginDependency("HeuristicLab.Optimization", "3.3")] -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/RealVectorConvexHullSolutionCacheAnalyzer.cs
r10090 r10116 54 54 55 55 while (sols.Count != 0) { 56 var input = sols.Select(x => Convert PermutationToVertex(x)).ToArray();56 var input = sols.Select(x => ConvertRealVectorToArray(x)).ToArray(); 57 57 var convexHull = LPHull.Calculate(input); 58 58 var volume = ConvexHullMeasures.CalculateVolume(convexHull); … … 66 66 } 67 67 68 private double[] Convert PermutationToVertex(RealVector p) {68 private double[] ConvertRealVectorToArray(RealVector p) { 69 69 double[] vertex = p.Select(x => (double)x).ToArray(); 70 70 return vertex;
Note: See TracChangeset
for help on using the changeset viewer.