コード例 #1
0
ファイル: PathReconstructer.cs プロジェクト: wsgan001/TPM
 /// <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);
 }
コード例 #2
0
 /// <summary>
 /// Create a new instance of the STMatching class
 /// </summary>
 /// <param name="graph">The RoadGraph object that represents road network</param>
 public TMM(RoadGraph graph)
 {
     _graph       = graph;
     _pathfinder  = new AstarPathfinder(_graph);
     _trackCutout = new List <ConnectionGeometry>();
 }