コード例 #1
0
 public GraphNavigator(DirectedGraph graph, Point start, Point end, IRoadPathService roadPathService)
 {
     State = new GraphNavigationState(graph, start, end);
     this.roadPathService = roadPathService;
 }
コード例 #2
0
 protected override void Given()
 {
     var graph = new DirectedGraph(new[] { PointMother.ChannelSt, PointMother.BurchellSt, PointMother.EthelSt });
     state = new GraphNavigationState(graph, PointMother.ChannelSt, PointMother.ChannelSt);
 }