GreedySyncAgent

class scml.oneshot.GreedySyncAgent(*args, threshold=None, **kwargs)[source]

Bases: scml.OneShotSyncAgent, scml.GreedyOneShotAgent

A greedy agent based on OneShotSyncAgent

Methods Summary

before_step()

Initialize the quantities and best prices received for next step

counter_all(offers, states)

Respond to a set of offers given the negotiation state of each.

first_proposals()

Decide a first proposal on every negotiation.

Methods Documentation

before_step()[source]

Initialize the quantities and best prices received for next step

counter_all(offers, states)[source]

Respond to a set of offers given the negotiation state of each.

first_proposals()[source]

Decide a first proposal on every negotiation. Returning None for a negotiation means ending it.