Beispiel #1
0
 public UninformedSearch(IProblem <T> problem, IFrontier <Node <T> > frontier)
 {
     Problem    = problem;
     Frontier   = frontier;
     OpenList   = new HashSet <T>();
     ClosedList = new HashSet <T>();
 }
Beispiel #2
0
 public BFS()
 {
     frontier = new BFSFrontier();
 }
Beispiel #3
0
 public ADstar()
 {
     frontier = new PriorityQueue();
 }
Beispiel #4
0
 public DFS()
 {
     frontier = new DFSFrontier();
 }
 public GraphSearch(IFrontier frontier)
 {
     this.frontier = frontier;
 }
Beispiel #6
0
 public ADstar(bool onlyPassOnDepth)
 {
     onlyStopOnDepth = onlyPassOnDepth;
     frontier        = new PriorityQueue();
 }
Beispiel #7
0
 public ADstar()
 {
     onlyStopOnDepth = false;
     frontier        = new PriorityQueue();
 }
Beispiel #8
0
 public BFS(bool onlystopOnDepth)
 {
     onlyStopOnDepth = onlystopOnDepth;
     frontier        = new BFSFrontier();
 }
Beispiel #9
0
 public BFS()
 {
     onlyStopOnDepth = false;
     frontier        = new BFSFrontier();
 }