AIMA.Core.Search.Framework.Node.getPathCost C# (CSharp) Method

getPathCost() public method

public getPathCost ( ) : double
return double
        public double getPathCost()
        {
            return pathCost;
        }

Usage Example

Example #1
0
 /**
  *
  * @param n
  * @return the cost, traditionally denoted by g(n), of the path from the
  *         initial state to the node, as indicated by the parent pointers.
  */
 public double g(Node n)
 {
     return(n.getPathCost());
 }
All Usage Examples Of AIMA.Core.Search.Framework.Node::getPathCost