Ejemplo n.º 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
        }
Ejemplo n.º 2
0
 public Dictionary <Consideration <CakeGame>, float> think()
 {
     reasoner.execute(reasonerResults);
     return(reasonerResults);
 }