AIMA.Core.Search.Framework.Node.getPathCost C# (CSharp) 메소드

getPathCost() 공개 메소드

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

Usage 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