ContractNetAssignmentPolicy

constructor(deadline: Double, selectBest: (List<Bid>) -> Bid? = ::lowestBidByName)(source)

Parameters

deadline

how long each call for proposals stays open, in simulated time. Charged per auction, so a fleet with several tasks outstanding pays it several times over -- which is the honest cost of negotiating each job separately.

selectBest

which bid wins. Lower is better by convention, so the default takes the minimum.