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
5
6
7namespace cyclus {
8
9
10 std::string GetTraderPrototype(Trader* bidder){
11 return bidder->manager()->prototype();
12 }
13
14
15 std::string GetTraderSpec(Trader* bidder){
16 return bidder->manager()->spec();
17 }
18
19
20} // namespace cyclus
const std::string prototype() const
Returns the agent's prototype.
Definition agent.h:345
std::string spec()
The string representation of the agent spec that uniquely identifies the concrete agent class/module.
Definition agent.h:356
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)