public iThinkBrain(string method) { lastUpdate = Time.time; if (method == "DepthFS") { planner = new BreadthFS(); } else if (method == "BreadthFS") { planner = new BreadthFS(); } else if (method == "BestFS") { planner = new BestFS(); } else if (method == "AstarFS") { planner = new AstarFS(); } else if (method == "AstarWeakFS") { planner = new AstarWeakFS(); } factList = new List <iThinkFact>(); sensorySystem = new iThinkSensorySystem(); }
protected List<iThinkFact> factList; /// A list of all the Facts known to the agent. #endregion Fields #region Constructors /// iThinkBrain constructor public iThinkBrain() { lastUpdate = Time.time; planner = new HeuristicDepthFS(); //default planner factList = new List<iThinkFact>(); sensorySystem = new iThinkSensorySystem(); }
/// iThinkBrain constructor public iThinkBrain() { lastUpdate = Time.time; planner = new HeuristicDepthFS(); //default planner factList = new List <iThinkFact>(); sensorySystem = new iThinkSensorySystem(); }
public iThinkBrain(string method) { lastUpdate = Time.time; if (method == "DepthFS") { planner = new BreadthFS(); } else if (method == "BreadthFS") { planner = new BreadthFS(); } else if (method == "BestFS") { planner = new BestFS(); } else if (method == "AstarFS") { planner = new AstarFS(); } else if (method == "AstarWeakFS") { planner = new AstarWeakFS(); } factList = new List<iThinkFact>(); sensorySystem = new iThinkSensorySystem(); }