1#ifndef CYCLUS_SRC_SIM_INIT_H_
2#define CYCLUS_SRC_SIM_INIT_H_
4#include <boost/uuid/uuid_io.hpp>
84 void LoadTransportUnits();
85 void LoadSolverInfo();
86 void LoadPrototypes();
87 void LoadInitialAgents();
88 void LoadInventories();
89 void LoadBuildSched();
90 void LoadDecomSched();
93 void* LoadPreconditioner(std::string name);
102 std::map<int, Agent*> agents_;
107 boost::uuids::uuid simid_;
a holding class for information related to a TradeExecutor
The abstract base class used by all types of agents that live and interact in a simulation.
boost::shared_ptr< Composition > Ptr
A simulation context provides access to necessary simulation-global functions and state.
a very simple interface for solving translated resource exchanges
boost::shared_ptr< Material > Ptr
boost::shared_ptr< Product > Ptr
Interface implemented by backends that support rudimentary querying.
Collects and manages output data generation for the cyclus core and agents during a simulation.
boost::shared_ptr< Resource > Ptr
Container for a static simulation-global parameters that both describe the simulation and affect its ...
Handles initialization of a simulation from the output database.
static Product::Ptr BuildProduct(QueryableBackend *b, int resid)
Convenience function for reconstructing an untracked product object with the given resource state id ...
void Restart(QueryableBackend *b, boost::uuids::uuid sim_id, int t)
EXPERIMENTAL (might not work properly).
void Init(Recorder *r, QueryableBackend *b)
Initialize a simulation with data from b for simulation id in r.
static void SnapAgent(Agent *m)
Records a snapshot of the agent's current internal state into the simulation's output database.
Timer * timer()
Returns the initialized timer.
static void Snapshot(Context *ctx)
Records a snapshot of the current state of the simulation being managed by ctx into the simulation's ...
Recorder * recorder()
Returns the initialized recorder with registered backends.
static Material::Ptr BuildMaterial(QueryableBackend *b, int resid)
Convenience function for reconstructing an untracked material object with the given resource state id...
Context * context()
Returns the initialized context.
void Branch(QueryableBackend *b, boost::uuids::uuid prev_sim_id, int t, boost::uuids::uuid new_sim_id)
NOT IMPLEMENTED.
Controls simulation timestepping and inter-timestep phases.
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