Changeset 8438
- Timestamp:
- 08/08/12 16:57:31 (12 years ago)
- Location:
- branches/RoutePlanning
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning.Test/Program.cs
r8434 r8438 24 24 IDataSource ds = TestLoad(file6); 25 25 OsmGraph graph = new OsmGraph(ds); 26 //TestRouter(new DijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb27 //TestRouter(new AStarAlgorithm(graph), 529102170, 31372732, false); // inz - hgb26 TestRouter(new DijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 27 TestRouter(new AStarAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 28 28 TestRouter(new AStarAlgorithmV2(graph), 529102170, 31372732, false); // inz - hgb 29 //TestRouter(new BidrectionalDijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb29 TestRouter(new BidrectionalDijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 30 30 31 31 //TestLoadAndRouter(file6, typeof(DijkstraAlgorithm), 529102170, 31372732, false, false); // inz - hgb -
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Graph/Edge.cs
r8300 r8438 12 12 } 13 13 14 public Edge(Vertex source, Vertex target) { 14 private short category; 15 public short Category { 16 get { return category; } 17 set { category = value; } 18 } 19 20 public Edge(Vertex source, Vertex target) 21 : this(source, target, 0) { 22 23 } 24 25 public Edge(Vertex source, Vertex target, short category) { 15 26 this.source = source; 16 27 this.target = target; 28 this.category = category; 17 29 } 18 30 -
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Graph/Vertex.cs
r8434 r8438 22 22 public Vertex(long id) { 23 23 this.id = id; 24 } 25 26 public Vertex(long id, double longitude, double latitude) { 27 this.id = id; 28 this.longitude = longitude; 29 this.latitude = latitude; 24 30 } 25 31 -
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/HeuristicLab.Problems.RoutePlanning.csproj
r8434 r8438 57 57 <ItemGroup> 58 58 <Compile Include="Graph\Edge.cs" /> 59 <Compile Include="Graph\Graph.cs" /> 60 <Compile Include="Graph\IGraph.cs" /> 59 61 <Compile Include="Graph\OsmGraph.cs" /> 60 62 <Compile Include="Graph\IEdge.cs" /> 61 63 <Compile Include="Graph\OsmVertex.cs" /> 62 64 <Compile Include="Graph\Route.cs" /> 65 <Compile Include="Graph\Vertex.cs" /> 63 66 <Compile Include="Osm.Data\XmlDataSource.cs" /> 64 67 <Compile Include="Osm\IDataSource.cs" />
Note: See TracChangeset
for help on using the changeset viewer.