CYCLUS
|
A simple API for agents that wish to exchange resources in the simulation.
A Trader is a mixin class designed for agents that wish to exchange resources. It defines the API for the querying of requests, offers, and the corresponding exchanges.
#include <trader.h>
Protected Attributes | |
Agent * | manager_ |
|
inlinevirtual |
default implementation for material trade acceptance
Reimplemented in cyclus::Facility, and cyclus::toolkit::MatlBuyPolicy.
|
inlinevirtual |
default implementation for product trade acceptance
Reimplemented in cyclus::Facility.
default implementation for material preferences.
Reimplemented in cyclus::Facility.
default implementation for material preferences.
Reimplemented in cyclus::Facility.
|
inlinevirtual |
default implementation for material requests
Reimplemented in cyclus::Facility, and cyclus::toolkit::MatlSellPolicy.
|
inlinevirtual |
default implementation for material requests
Reimplemented in cyclus::Facility, and cyclus::toolkit::MatlBuyPolicy.
|
inlinevirtual |
default implementation for responding to material trades
trades | all trades in which this trader is the supplier |
responses | a container to populate with responses to each trade |
Reimplemented in cyclus::Facility, and cyclus::toolkit::MatlSellPolicy.
|
inlinevirtual |
default implementation for product requests
Reimplemented in cyclus::Facility.
|
inlinevirtual |
default implementation for product requests
Reimplemented in cyclus::Facility.
|
inlinevirtual |
default implementation for responding to product trades
trades | all trades in which this trader is the supplier |
responses | a container to populate with responses to each trade |
Reimplemented in cyclus::Facility.