SciLib.AI.Auction
Class Bid

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

public class Bid
extends java.lang.Object

This class contains some methods to define a Bid; an application-oriented Bid can be extended from this one.


Field Summary
protected  bitStream bid
           
protected  double value
           
 
Constructor Summary
Bid(bitStream b, double v)
           
Bid(java.lang.String b, double v)
           
 
Method Summary
 bitStream getBid()
          get the bitStream
 double getValue()
          get the bid value
 java.lang.String toString()
          represent data in a String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bid

protected bitStream bid

value

protected double value
Constructor Detail

Bid

public Bid(bitStream b,
           double v)

Bid

public Bid(java.lang.String b,
           double v)
Method Detail

getBid

public bitStream getBid()
get the bitStream

Returns:
the bitStream

getValue

public double getValue()
get the bid value

Returns:
the bid value

toString

public java.lang.String toString()
represent data in a String

Overrides:
toString in class java.lang.Object