Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/08/12 13:40:03 (12 years ago)
Author:
spimming
Message:

#1894

  • renamed Graph to OsmGraph
  • generic type in edge interface
Location:
branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3/AStarAlgorithm.cs

    r8362 r8429  
    55namespace HeuristicLab.Algorithms.GraphRouting {
    66  public class AStarAlgorithm : IRouter {
    7     private Graph graph;
     7    private OsmGraph graph;
    88
    99    private Dictionary<long, float> distances;
     
    1414    private PriorityQueue<float, long> openList;
    1515
    16     public AStarAlgorithm(Graph graph) {
     16    public AStarAlgorithm(OsmGraph graph) {
    1717      this.graph = graph;
    1818    }
  • branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3/AStarAlgorithmV2.cs

    r8426 r8429  
    55namespace HeuristicLab.Algorithms.GraphRouting {
    66  public class AStarAlgorithmV2 : IRouter {
    7     private Graph graph;
     7    private OsmGraph graph;
    88
    99    private Dictionary<long, float> distances;
     
    1414    private Dictionary<long, NodeData> openListLookup;
    1515
    16     public AStarAlgorithmV2(Graph graph) {
     16    public AStarAlgorithmV2(OsmGraph graph) {
    1717      this.graph = graph;
    1818    }
  • branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3/BidirectionalDijkstraAlgorithm.cs

    r8423 r8429  
    55namespace HeuristicLab.Algorithms.GraphRouting {
    66  public class BidrectionalDijkstraAlgorithm : IRouter {
    7     private Graph graph;
     7    private OsmGraph graph;
    88
    99    private HashSet<long> visitedNodesForward;
     
    1616    private Dictionary<long, long> predecessorsBackward;
    1717
    18     public BidrectionalDijkstraAlgorithm(Graph graph) {
     18    public BidrectionalDijkstraAlgorithm(OsmGraph graph) {
    1919      this.graph = graph;
    2020    }
  • branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3/DijkstraAlgorithm.cs

    r8314 r8429  
    55namespace HeuristicLab.Algorithms.GraphRouting {
    66  public class DijkstraAlgorithm : IRouter {
    7     private Graph graph;
     7    private OsmGraph graph;
    88
    99    private HashSet<long> visitedNodes;
     
    1212    private Dictionary<long, long> predecessors;
    1313
    14     public DijkstraAlgorithm(Graph graph) {
     14    public DijkstraAlgorithm(OsmGraph graph) {
    1515      this.graph = graph;
    1616    }
Note: See TracChangeset for help on using the changeset viewer.