jadex.bdi.planlib.protocols
Interface IOfferGenerator

All Known Implementing Classes:
ExponentialPriceCalculator, LinearPriceCalculator

public interface IOfferGenerator

The interface for calculating offers of auctions (e.g. typically prices or sth. similar)

See Also:
LinearPriceCalculator, ExponentialPriceCalculator

Method Summary
 java.lang.Comparable getCurrentOffer()
          Returns the current offer for the round.
 java.lang.Comparable getLastOffer()
          Returns the offer for the last round.
 java.lang.Comparable getLimitOffer()
          Returns the limit offer to be reached in order to terminate successfully.
 int getRound()
          Get the round.
 java.lang.Comparable getStartOffer()
          Returns the start offer for the auction.
 void setNextRound()
          Increase the round.
 

Method Detail

getCurrentOffer

java.lang.Comparable getCurrentOffer()
Returns the current offer for the round.

Returns:
The current offer.

getLastOffer

java.lang.Comparable getLastOffer()
Returns the offer for the last round.

Returns:
The last offer.

getLimitOffer

java.lang.Comparable getLimitOffer()
Returns the limit offer to be reached in order to terminate successfully.

Returns:
Minimal/maximal offer for this auction to terminate.

getStartOffer

java.lang.Comparable getStartOffer()
Returns the start offer for the auction.

Returns:
Start offer.

getRound

int getRound()
Get the round.

Returns:
The round.

setNextRound

void setNextRound()
Increase the round.



Copyright © 2010. All Rights Reserved.