1#ifndef CYCLUS_SRC_TOOLKIT_MATL_SELL_POLICY_H_
2#define CYCLUS_SRC_TOOLKIT_MATL_SELL_POLICY_H_
112 double Limit()
const;
115 inline bool Excl()
const {
return quantize_ > 0; }
119 virtual std::set<BidPortfolio<Material>::Ptr>
GetMatlBids(
127 void set_quantize(
double x);
128 void set_throughput(
double x);
129 void set_ignore_comp(
bool x);
130 void set_package(std::string
x);
131 void set_transport_unit(std::string
x);
134 std::set<std::string> commods_;
The abstract base class used by all types of agents that live and interact in a simulation.
boost::shared_ptr< Material > Ptr
boost::shared_ptr< Package > Ptr
static std::string unpackaged_name()
A simple API for agents that wish to exchange resources in the simulation.
virtual Agent * manager()
static std::string unrestricted_name()
boost::shared_ptr< TransportUnit > Ptr
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters
std::map< std::string, std::vector< Request< T > * > > type
A Trade is a simple container that associates a request for a resource with a bid for that resource.