scml.scml2020.agents.indneg
Implements the base class for agents that negotiate independently with different partners.
These agents do not take production capacity, availability of materials or any other aspects of the simulation into account. They are to serve only as baselines.
Assumptions
The main assumptions of the agents based on IndependentNegotiationsAgent
are:
All production processes take one input time and generate one output type.
Classes
Implements the base class for agents that negotiate independently with different partners. |
|
Implements the base class for agents that negotiate independently with different partners using trading/catalog |
Module Contents
- class scml.scml2020.agents.indneg.IndependentNegotiationsAgent(*args, **kwargs)[source]
Bases:
scml.scml2020.components.negotiation.IndependentNegotiationsManager
,scml.scml2020.components.prediction.FixedTradePredictionStrategy
,scml.scml2020.components.trading.ReactiveTradingStrategy
,scml.scml2020.world.SCML2020Agent
Implements the base class for agents that negotiate independently with different partners.
These agents do not take production capacity, availability of materials or any other aspects of the simulation into account. They are to serve only as baselines.
Remarks:
IndependentNegotiationsAgent
agents assume that each production process has one input type with the sameindex as itself and one output type with one added to the index (i.e. process $i$ takes product $i$ as input and creates product $i+1$ as output.
It does not assume that all lines have the same production cost (it uses the average cost though).
It does not assume that the agent has a single production process.
- class scml.scml2020.agents.indneg.MarketAwareIndependentNegotiationsAgent(*args, buying_margin=None, selling_margin=None, min_price_margin=0.5, max_price_margin=0.5, **kwargs)[source]
Bases:
scml.scml2020.components.signing.KeepOnlyGoodPrices
,IndependentNegotiationsAgent
Implements the base class for agents that negotiate independently with different partners using trading/catalog prices to control signing
These agents do not take production capacity, availability of materials or any other aspects of the simulation into account. They are to serve only as baselines.
Remarks:
IndependentNegotiationsAgent
agents assume that each production process has one input type with the sameindex as itself and one output type with one added to the index (i.e. process $i$ takes product $i$ as input and creates product $i+1$ as output.
It does not assume that all lines have the same production cost (it uses the average cost though).
It does not assume that the agent has a single production process.