C# Class AIMA.Core.Environment.EightPuzzle.ManhattanHeuristicFunction

Inheritance: HeuristicFunction
ファイルを表示 Open project: PaulMineau/AIMA.Net

Public Methods

Method Description
evaluateManhattanDistanceOf ( int i, XYLocation loc ) : int
h ( Object state ) : double

Method Details

evaluateManhattanDistanceOf() public method

public evaluateManhattanDistanceOf ( int i, XYLocation loc ) : int
i int
loc AIMA.Core.Util.DataStructure.XYLocation
return int

h() public method

public h ( Object state ) : double
state Object
return double