/// <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); }
/// <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>(); }
/// <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>(); }