SciLib.AI.Auction
Class WDA

java.lang.Object
  extended by SciLib.AI.Auction.WDA

public class WDA
extends java.lang.Object

This class contains some methods to compute winner determination.


Field Summary
protected  BidTree tree
           
 
Constructor Summary
WDA(BidTree tree)
           
 
Method Summary
 BidTree getBidTree()
          get the bid tree
 double hF(SearchNode node)
          compute the heuristic function at a node
 Result IDAStar()
          implements the winner determination algorithm
 java.util.LinkedList<SearchNode> successors(SearchNode node)
          generate successors
 java.util.LinkedList<SearchNode> successorsAtRoot()
          generate successors of the root
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tree

protected BidTree tree
Constructor Detail

WDA

public WDA(BidTree tree)
Method Detail

getBidTree

public BidTree getBidTree()
get the bid tree

Returns:
the the BidTree

successors

public java.util.LinkedList<SearchNode> successors(SearchNode node)
generate successors

Parameters:
node - the SearchNode in the SEARCH1 tree
Returns:
a list of nodes

successorsAtRoot

public java.util.LinkedList<SearchNode> successorsAtRoot()
generate successors of the root

Returns:
a list of nodes

hF

public double hF(SearchNode node)
compute the heuristic function at a node

Parameters:
node - the SearchNode in the SEARCH1 tree
Returns:
a double value

IDAStar

public Result IDAStar()
implements the winner determination algorithm

Returns:
the winner determination result