| Modifier and Type | Method and Description |
|---|---|
Bidder<? extends Good> |
BiddingLanguage.getBidder()
References back to the Bidder instance from whom this
Bidding language instance was created.
|
| Modifier and Type | Method and Description |
|---|---|
Bidder<T> |
XORBid.getBidder() |
Bidder<T> |
SizeOrderedXOR.getBidder() |
Bidder<T> |
SizeBasedUniqueRandomXOR.getBidder() |
| Constructor and Description |
|---|
Builder(Bidder<T> bidder) |
Builder(Bidder<T> bidder,
Collection<? extends XORValue<T>> values)
Creates a new Builder instance with initial XORValues
|
DecreasingSizeOrderedXOR(Collection<T> goods,
Bidder<T> bidder) |
IncreasingSizeOrderedXOR(Collection<T> goods,
Bidder<T> bidder) |
SizeBasedUniqueRandomXOR(Collection<T> goods,
RNGSupplier rngSupplier,
Bidder<T> bidder) |
SizeOrderedXOR(Collection<T> goods,
Bidder<T> bidder) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultModel<W extends World,B extends Bidder<? extends Good>> |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Bidder<?>> |
World.restorePopulation(Class<T> type,
long populationId) |
<T extends Bidder<?>> |
World.restorePopulation(Class<T> type,
long populationId,
InstanceHandler storageHandler)
Advanced way to restore serialized
Bidder instances, allowing to specify a custom InstanceHandler For most use cases, it's recommended to use BMWorld.restorePopulation(long). |
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<? extends Bidder<?>> |
World.restorePopulation(long populationId)
Restore serialized
Bidder instances via population id |
| Modifier and Type | Class and Description |
|---|---|
class |
BMBidder |
| Modifier and Type | Class and Description |
|---|---|
class |
CATSBidder |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Bidder<CATSLicense>> |
CATSWorld.restorePopulation(long populationId) |
| Modifier and Type | Class and Description |
|---|---|
class |
GSVMBidder |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Bidder<GSVMLicense>> |
GSVMWorld.restorePopulation(long populationId) |
| Modifier and Type | Class and Description |
|---|---|
class |
LSVMBidder |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Bidder<LSVMLicense>> |
LSVMWorld.restorePopulation(long populationId) |
| Modifier and Type | Class and Description |
|---|---|
class |
MRVMBidder |
class |
MRVMLocalBidder |
class |
MRVMNationalBidder |
class |
MRVMRegionalBidder |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Bidder<MRVMLicense>> |
MRVMWorld.restorePopulation(long populationId) |
| Modifier and Type | Class and Description |
|---|---|
class |
SRVMBidder |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Bidder<SRVMLicense>> |
SRVMWorld.restorePopulation(long populationId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Bidder<?>> |
JSONInstanceHandler.readBidder(Class<T> type,
World world,
long populationId,
long bidderId) |
abstract <T extends Bidder<?>> |
InstanceHandler.readBidder(Class<T> type,
World world,
long populationId,
long bidderId)
Used to deserialize a bidder, if its implementing class is known
|
<T extends Bidder<?>> |
InMemoryInstanceHandler.readBidder(Class<T> type,
World world,
long populationId,
long bidderId) |
<T extends Bidder<?>> |
JSONInstanceHandler.readBidderWithUnknownType(Class<T> bidderSuperType,
World world,
long populationId,
long bidderId) |
abstract <T extends Bidder<?>> |
InstanceHandler.readBidderWithUnknownType(Class<T> bidderSuperType,
World world,
long populationId,
long bidderId)
Used to deserialize a bidder, if its type is not exactly known,
i.e., if there are different bidder implementations for this model.
|
<T extends Bidder<?>> |
InMemoryInstanceHandler.readBidderWithUnknownType(Class<T> bidderSuperType,
World world,
long populationId,
long bidderId) |
<T extends Bidder<?>> |
JSONInstanceHandler.readPopulation(Class<T> type,
World world,
long populationId) |
abstract <T extends Bidder<?>> |
InstanceHandler.readPopulation(Class<T> type,
World world,
long populationId)
Used to deserialize a set of bidders, if the implementing class of all bidders is known and the same
|
<T extends Bidder<?>> |
InMemoryInstanceHandler.readPopulation(Class<T> type,
World world,
long populationId) |
<T extends Bidder<?>> |
JSONInstanceHandler.readPopulationWithUnknownTypes(Class<T> bidderSuperType,
World world,
long populationId) |
abstract <T extends Bidder<?>> |
InstanceHandler.readPopulationWithUnknownTypes(Class<T> bidderSuperType,
World world,
long populationId)
Used to deserialize a set of bidders, if their type is not exactly known,
i.e., if there are different bidder implementations for this model.
|
<T extends Bidder<?>> |
InMemoryInstanceHandler.readPopulationWithUnknownTypes(Class<T> bidderSuperType,
World world,
long populationId) |
| Modifier and Type | Method and Description |
|---|---|
void |
JSONInstanceHandler.writeBidder(Bidder<?> bidder) |
abstract void |
InstanceHandler.writeBidder(Bidder<?> bidder)
Writes a new bidder instance.
|
void |
InMemoryInstanceHandler.writeBidder(Bidder<?> bidder) |
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableMap<Bidder<?>,GenericValue<T>> |
GenericAllocation.values |
| Modifier and Type | Method and Description |
|---|---|
Collection<Bidder<?>> |
GenericAllocation.getBidders() |
Collection<? extends Bidder<?>> |
Allocation.getBidders() |
| Modifier and Type | Method and Description |
|---|---|
GenericValue<T> |
GenericAllocation.getAllocation(Bidder<?> bidder) |
T |
Allocation.getAllocation(Bidder<?> bidder)
Returns information about the goods allocated to a specific bidder
|
void |
GenericAllocation.Builder.putGenericValue(Bidder<?> bidder,
GenericValue<T> value) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Bidder<?>> |
XORAllocation.getBidders() |
Set<Bidder<T>> |
Bids.getBidders() |
Set<Bidder<T>> |
Auction.getBidders() |
Map<Bidder<T>,XORBid<T>> |
Bids.getBidMap() |
Map<Bidder<T>,BidderPayment> |
Payment.getPaymentMap() |
Map<Bidder<T>,BidderAllocation<T>> |
XORAllocation.getTradesMap()
The Map only includes winning bidders
|
Set<Bidder<T>> |
XORAllocation.getWinners() |
Set<Bidder<T>> |
Payment.getWinners() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Bids.contains(Bidder<T> bidder) |
BidderAllocation<T> |
XORAllocation.getAllocation(Bidder<?> bidder) |
XORBid<T> |
Bids.getBid(Bidder<T> bidder) |
XORBid<T> |
Auction.getBid(Bidder<T> bidder) |
boolean |
XORAllocation.isWinner(Bidder bidder) |
boolean |
Payment.isWinner(Bidder<T> bidder) |
BidderPayment |
Payment.paymentOf(Bidder<T> bidder) |
BidderAllocation |
XORAllocation.tradeOf(Bidder bidder)
Deprecated.
|
Bids<T> |
Bids.without(Bidder<T> bidder)
Creates a copy of this instance, excluding the bid form a specific
Bidder |
Auction<T> |
Auction.without(Bidder<T> bidder) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Good> |
Payment.getZeroPayment(Set<Bidder<T>> bidders) |
| Constructor and Description |
|---|
Payment(Map<Bidder<T>,BidderPayment> payments) |
XORAllocation(Map<Bidder<T>,BidderAllocation<T>> trades) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Bidder<T>> |
ItemAllocation.getBidders() |
| Modifier and Type | Method and Description |
|---|---|
Bundle<T> |
ItemAllocation.getAllocation(Bidder<?> bidder) |
| Modifier and Type | Method and Description |
|---|---|
ItemAllocation.ItemAllocationBuilder<T> |
ItemAllocation.ItemAllocationBuilder.withAllocation(Map<Bidder<T>,Bundle<T>> alloc) |
Copyright © 2018. All rights reserved.