示例#1
0
 public BaseGoalAgent(HeuristicMethodType h, int startLocation, int goal)
     : base(h, startLocation)
 {
     Goal = goal;
 }
示例#2
0
 public BaseSearchAgent(HeuristicMethodType h, int startLocation)
     : base(startLocation)
 {
     _heuristic  = h;
     Expanstions = 0;
 }
示例#3
0
 public AStartAgent(HeuristicMethodType h, int startLocation, int target) : base(h, startLocation, target, new AStarAlgorithm <TravelSearchState>())
 {
 }
示例#4
0
 public SearchAlgoAgent(HeuristicMethodType h, int startLocation, int target, BaseSearchAlgorithm <TravelSearchState> algo) : base(h, startLocation, target)
 {
     _algo = algo;
 }
示例#5
0
 public GreedySearchAgent(HeuristicMethodType h, int startLocation) : base(h, startLocation)
 {
     Expanstions = 1;
 }
示例#6
0
 public RealTimeAStarAgent(HeuristicMethodType h, int startLocation, int target, int limit) : base(h, startLocation, target, new SimplyfiedRealTimeAStarAlgorithm <TravelSearchState>(limit))
 {
 }