Пример #1
0
        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
 public Dictionary <Consideration <CakeGame>, float> think()
 {
     reasoner.execute(reasonerResults);
     return(reasonerResults);
 }