|
Microsimulation API
|
CostReport class for collecting statistics on costs. More...
#include <microsimulation.h>

Public Types | |
| typedef std::set< Time, std::greater< Time > > | Partition |
| typedef std::pair< State, Time > | Pair |
| typedef CostReport< State, Time, Cost > | This |
| typedef std::unordered_map< pair< State, Time >, Cost > | Table |
| typedef std::vector< Cost > | IndividualCosts |
Public Member Functions | |
| CostReport (Cost discountRate=0, int size=1, Time startReportAge=Time(0), bool indiv=false) | |
| void | individualReset () |
| void | setIndivN (const int n) |
| void | setStartReportAge (const Time a) |
| Cost | discountedCost (Time a, Cost cost) |
| void | setPartition (const vector< Time > v) |
| void | setPartition (const Time start, const Time finish, const Time delta, const Time maxTime=Time(1.0e100)) |
| void | clear () |
| void | resize (int size) |
| void | append (This &new_report) |
| void | add (const State state, const Time time, const Cost cost, const int index=0) |
| SEXP | wrap () |
| SEXP | wrap_indiv () |
| SEXP | wrap_means () |
Public Attributes | |
| Cost | discountRate |
| Cost | current |
| Partition | _partition |
| Table | _table |
| IndividualCosts | _vector |
| Means | mean_costs |
| Time | startReportAge |
| int | id |
| bool | indiv |
CostReport class for collecting statistics on costs.
Definition at line 1003 of file microsimulation.h.
| typedef std::vector<Cost> ssim::CostReport< State, Time, Cost >::IndividualCosts |
Definition at line 1009 of file microsimulation.h.
| typedef std::pair<State,Time> ssim::CostReport< State, Time, Cost >::Pair |
Definition at line 1006 of file microsimulation.h.
| typedef std::set<Time, std::greater<Time> > ssim::CostReport< State, Time, Cost >::Partition |
Definition at line 1005 of file microsimulation.h.
| typedef std::unordered_map<pair<State,Time>, Cost > ssim::CostReport< State, Time, Cost >::Table |
Definition at line 1008 of file microsimulation.h.
| typedef CostReport<State,Time,Cost> ssim::CostReport< State, Time, Cost >::This |
Definition at line 1007 of file microsimulation.h.
|
inline |
Definition at line 1010 of file microsimulation.h.
|
inline |
Definition at line 1066 of file microsimulation.h.
|
inline |
Definition at line 1059 of file microsimulation.h.
|
inline |
Definition at line 1050 of file microsimulation.h.
|
inline |
Definition at line 1032 of file microsimulation.h.
|
inline |
Definition at line 1013 of file microsimulation.h.
|
inline |
Definition at line 1056 of file microsimulation.h.
|
inline |
Definition at line 1025 of file microsimulation.h.
|
inline |
Definition at line 1044 of file microsimulation.h.
|
inline |
Definition at line 1041 of file microsimulation.h.
|
inline |
Definition at line 1029 of file microsimulation.h.
|
inline |
Definition at line 1076 of file microsimulation.h.
|
inline |
Definition at line 1079 of file microsimulation.h.
|
inline |
Definition at line 1082 of file microsimulation.h.
| Partition ssim::CostReport< State, Time, Cost >::_partition |
Definition at line 1086 of file microsimulation.h.
| Table ssim::CostReport< State, Time, Cost >::_table |
Definition at line 1087 of file microsimulation.h.
| IndividualCosts ssim::CostReport< State, Time, Cost >::_vector |
Definition at line 1088 of file microsimulation.h.
| Cost ssim::CostReport< State, Time, Cost >::current |
Definition at line 1085 of file microsimulation.h.
| Cost ssim::CostReport< State, Time, Cost >::discountRate |
Definition at line 1085 of file microsimulation.h.
| int ssim::CostReport< State, Time, Cost >::id |
Definition at line 1091 of file microsimulation.h.
| bool ssim::CostReport< State, Time, Cost >::indiv |
Definition at line 1092 of file microsimulation.h.
| Means ssim::CostReport< State, Time, Cost >::mean_costs |
Definition at line 1089 of file microsimulation.h.
| Time ssim::CostReport< State, Time, Cost >::startReportAge |
Definition at line 1090 of file microsimulation.h.
1.8.17