Package com.tnsai.coordination.auction
Interface BidStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for how an agent decides its bid value.
Implementations can use LLM calls, heuristics, or fixed values.
-
Method Summary
Modifier and TypeMethodDescriptiondoublecalculateBid(com.tnsai.agents.Agent agent, String taskDescription, double currentPrice, int round, List<Bid> previousBids) Determines the bid value for an agent.
-
Method Details
-
calculateBid
double calculateBid(com.tnsai.agents.Agent agent, String taskDescription, double currentPrice, int round, List<Bid> previousBids) Determines the bid value for an agent.- Parameters:
agent- the bidding agenttaskDescription- what is being auctionedcurrentPrice- current price (relevant for English/Dutch auctions)round- current auction roundpreviousBids- bids from previous rounds- Returns:
- bid value, or
Double.NaNto abstain from bidding
-