예제 #1
0
파일: ThinkSystem.cs 프로젝트: xdrie/Sor
        protected override void makePlans()
        {
            // run the utility ai planner
            var resultTable = reasoner.execute();

            // store plan log
            state.updatePlanLog(resultTable);

            var chosen = reasoner.choose(resultTable); // pick the best-scored option

            chosen.action();                           // execute the action
        }
예제 #2
0
파일: Baker.cs 프로젝트: xdrie/DuckMind
 public Dictionary <Consideration <CakeGame>, float> think()
 {
     reasoner.execute(reasonerResults);
     return(reasonerResults);
 }