Graph.cs 535 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. namespace PathfindingPCL
  4. {
  5. public interface Graph
  6. {
  7. Node BeginningNode();
  8. Node ExitNode();
  9. List<Node> NodesList();
  10. List<Node> NodesList(Node _currentNode);
  11. int NodesCount();
  12. List<Arc> ArcsList();
  13. List<Arc> ArcsList(Node _currentNode);
  14. double CostBetweenNodes(Node _fromNode, Node _toNode);
  15. String ReconstructPath();
  16. void ComputeEstimatedDistanceToExit();
  17. void Clear();
  18. }
  19. }