Package search

Interface KnowsOwnCost

All Known Implementing Classes:
BoardNode, Nodes.SimpleTreeCostNode, Nodes.SimpleTreePathCostNode

public interface KnowsOwnCost
Additional interface implemented by search tree nodes which are aware of their own cost.
  • Method Summary

    Modifier and Type Method Description
    double getCost()  
  • Method Details

    • getCost

      double getCost()
      Returns:
      The cost of reaching the state in this node.