class_completeBid - AiAUJI/PAUSETA GitHub Wiki

CompleteBid

Description

A CompleteBid is a list of bids that complete a requirement.

Member functions

  • CompleteBid()
  • CompleteBid(ArrayList<Bid> bids)
  • CompleteBid(Bid bid)
  • boolean addBid(Bid bid)
  • boolean addCompleteBid(CompleteBid bid)
  • double getValue()
  • ArrayList<Resource> getResources()
  • ArrayList<UUID> getIds()
  • String toString()

Member variables

  • ArrayList bids
  • double value

Member functions description

CompleteBid()
Default constructor.

CompleteBid(ArrayList<Bid> bids)
Constructor.

CompleteBid(Bid bid)
Constructor.

boolean addBid(Bid bid)
Adds a Bid to this CompleteBid.

boolean addCompleteBid(CompleteBid bid)
Adds a CompleteBid to this CompleteBid.

double getValue()
Returns the total value of this CompleteBid.

ArrayList<Resource> getResources()
Returns an Array with all the resources on this CompleteBid.

ArrayList<UUID> getIds()
Returns an Array with all the ids on this CompleteBid.

toString()
Returns a string with the information of all the Bids, Resources and values.

Member variables description

bids
List of bids that form this CompleteBid.

value
Value of the CompleteBid.

⚠️ **GitHub.com Fallback** ⚠️