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); }
public void calculateTaskCost(TileNode source) { this.cost = TaskMetaDataHeuristics.calculateTaskCost(source, this.toolPrerequisite); }