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