Package jadex.bdi.planlib.protocols
Interface IOfferGenerator
- 
- All Known Implementing Classes:
- ExponentialPriceCalculator,- LinearPriceCalculator
 
 public interface IOfferGeneratorThe interface for calculating offers of auctions (e.g. typically prices or sth. similar)- See Also:
- LinearPriceCalculator,- ExponentialPriceCalculator
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ComparablegetCurrentOffer()Returns the current offer for the round.java.lang.ComparablegetLastOffer()Returns the offer for the last round.java.lang.ComparablegetLimitOffer()Returns the limit offer to be reached in order to terminate successfully.intgetRound()Get the round.java.lang.ComparablegetStartOffer()Returns the start offer for the auction.voidsetNextRound()Increase the round.
 
- 
- 
- 
Method Detail- 
getCurrentOfferjava.lang.Comparable getCurrentOffer() Returns the current offer for the round.- Returns:
- The current offer.
 
 - 
getLastOfferjava.lang.Comparable getLastOffer() Returns the offer for the last round.- Returns:
- The last offer.
 
 - 
getLimitOfferjava.lang.Comparable getLimitOffer() Returns the limit offer to be reached in order to terminate successfully.- Returns:
- Minimal/maximal offer for this auction to terminate.
 
 - 
getStartOfferjava.lang.Comparable getStartOffer() Returns the start offer for the auction.- Returns:
- Start offer.
 
 - 
getRoundint getRound() Get the round.- Returns:
- The round.
 
 - 
setNextRoundvoid setNextRound() Increase the round.
 
- 
 
-