Class SupplyOrderBook

  • All Implemented Interfaces:
    de.dlr.gitlab.fame.communication.transfer.Portable

    public class SupplyOrderBook
    extends OrderBook
    OrderBook that manages all OrderBookItems from supply-Bids
    Author:
    Martin Klein, Christoph Schimeczek
    • Constructor Detail

      • SupplyOrderBook

        public SupplyOrderBook()
    • Method Detail

      • getLastBid

        protected Bid getLastBid()
        Specified by:
        getLastBid in class OrderBook
        Returns:
        the last virtual Bid depending on the type of order book
      • getHighestItem

        public OrderBookItem getHighestItem()
        Returns:
        most expensive (real) bid (i.e. with block power is larger than 0); may only be called after sorting
      • getLastAwardedItem

        public OrderBookItem getLastAwardedItem()
        Can only be called once the book is updated after market clearing
        Returns:
        one of possibly many OrderBookItems that were price setting
        may only be called after sorting and awarding