aima.search.nqueens
Class QueensToBePlacedHeuristic

java.lang.Object
  extended by aima.search.nqueens.QueensToBePlacedHeuristic
All Implemented Interfaces:
HeuristicFunction

public class QueensToBePlacedHeuristic
extends java.lang.Object
implements HeuristicFunction

Author:
Ravi Mohan

Constructor Summary
QueensToBePlacedHeuristic()
           
 
Method Summary
 int getHeuristicValue(java.lang.Object state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueensToBePlacedHeuristic

public QueensToBePlacedHeuristic()
Method Detail

getHeuristicValue

public int getHeuristicValue(java.lang.Object state)
Specified by:
getHeuristicValue in interface HeuristicFunction