Exemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the PathReconstructer
 /// </summary>
 /// <param name="graph">The RoadGraph object with the road network that will be used in the reconstruction process</param>
 public PathReconstructer(RoadGraph graph)
 {
     _pathfinder = new AstarPathfinder(graph);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new instance of the STMatching class
 /// </summary>
 /// <param name="graph">The RoadGraph object that represents road network</param>
 public STMatching(RoadGraph graph)
 {
     _graph = graph;
     _pathfinder = new AstarPathfinder(_graph);
     _trackCutout = new List<ConnectionGeometry>();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a new instance of the STMatching class
 /// </summary>
 /// <param name="graph">The RoadGraph object that represents road network</param>
 public STMatching(RoadGraph graph)
 {
     _graph       = graph;
     _pathfinder  = new AstarPathfinder(_graph);
     _trackCutout = new List <ConnectionGeometry>();
 }