CYCLUS
Loading...
Searching...
No Matches
bid_portfolio.cc
Go to the documentation of this file.
1#include "bid_portfolio.h"
2
3#include "trader.h"
4
5namespace cyclus {
6
7std::string GetTraderPrototype(Trader* bidder) {
8 return bidder->manager()->prototype();
9}
10
11std::string GetTraderSpec(Trader* bidder) {
12 return bidder->manager()->spec();
13}
14
15} // namespace cyclus
const std::string prototype() const
Returns the agent's prototype.
Definition agent.h:342
std::string spec()
The string representation of the agent spec that uniquely identifies the concrete agent class/module.
Definition agent.h:353
A simple API for agents that wish to exchange resources in the simulation.
Definition trader.h:24
virtual Agent * manager()
Definition trader.h:28
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
Definition agent.cc:14
std::string GetTraderSpec(Trader *bidder)
std::string GetTraderPrototype(Trader *bidder)