Class AuctionTheorySolver
java.lang.Object
org.episteme.social.economics.AuctionTheorySolver
Solvers for different auction formats used in Game Theory.
Provides analytical solutions and simulations for standard auction types.
- Version:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a bid in an auction. -
Method Summary
Modifier and TypeMethodDescriptionstatic RealsimulateDutch(double startPrice, double reservePrice, double dropRate, List<Double> bidderValuations) Simulates a Dutch Auction (descending price).static AuctionTheorySolver.BidSolves a Vickrey Auction (Second-price sealed-bid).
-
Method Details
-
solveVickrey
Solves a Vickrey Auction (Second-price sealed-bid). The winner is the highest bidder, but pays the price of the second highest bid.- Parameters:
bids- the list of all bids placed- Returns:
- the winning bid structure (winner identity, payment amount), or null if insufficient bids
-
simulateDutch
public static Real simulateDutch(double startPrice, double reservePrice, double dropRate, List<Double> bidderValuations) Simulates a Dutch Auction (descending price). The price starts high and drops until a bidder accepts the current price.- Parameters:
startPrice- the starting high pricereservePrice- the minimum price the seller will acceptdropRate- the amount the price drops per stepbidderValuations- a list of valuations for each bidder- Returns:
- the final sale price
-