Ejemplo n.º 1
0
        public void calculateTaskCost(List <List <TileNode> > source, bool unknownPath)
        {
            var pair = TaskMetaDataHeuristics.calculateTaskCost(source, this.toolPrerequisite, unknownPath);

            this.cost        = pair.Key;
            this.pathsToTake = pair.Value;
            //this.path = Utilities.calculatePath(source, false);
        }
Ejemplo n.º 2
0
 public void calculateTaskCost(TileNode source)
 {
     this.cost = TaskMetaDataHeuristics.calculateTaskCost(source, this.toolPrerequisite);
 }