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