CYCLUS
Loading...
Searching...
No Matches
institution_cost.cycpp.h File Reference

Go to the source code of this file.

Functions

std::unordered_map< std::string, double > GenerateParamList () const
 

Variables

double bond_holders_rate_of_return
 
double corporate_income_tax_rate
 
std::vector< int > cycpp_shape_bond_holders_rate_of_return = {0}
 
std::vector< int > cycpp_shape_corporate_income_tax_rate = {0}
 
std::vector< int > cycpp_shape_fraction_bond_financing = {0}
 
std::vector< int > cycpp_shape_fraction_private_capital = {0}
 
std::vector< int > cycpp_shape_minimum_acceptable_return_rate = {0}
 
std::vector< int > cycpp_shape_share_holders_rate_of_return = {0}
 
double fraction_bond_financing
 
double fraction_private_capital
 
double minimum_acceptable_return_rate
 
double share_holders_rate_of_return
 

Function Documentation

◆ GenerateParamList()

std::unordered_map< std::string, double > GenerateParamList ( ) const

Definition at line 75 of file institution_cost.cycpp.h.

Variable Documentation

◆ bond_holders_rate_of_return

double bond_holders_rate_of_return

Definition at line 44 of file institution_cost.cycpp.h.

◆ corporate_income_tax_rate

double corporate_income_tax_rate

Definition at line 35 of file institution_cost.cycpp.h.

◆ cycpp_shape_bond_holders_rate_of_return

std::vector<int> cycpp_shape_bond_holders_rate_of_return = {0}

Definition at line 93 of file institution_cost.cycpp.h.

◆ cycpp_shape_corporate_income_tax_rate

std::vector<int> cycpp_shape_corporate_income_tax_rate = {0}

Definition at line 92 of file institution_cost.cycpp.h.

◆ cycpp_shape_fraction_bond_financing

std::vector<int> cycpp_shape_fraction_bond_financing = {0}

Definition at line 94 of file institution_cost.cycpp.h.

◆ cycpp_shape_fraction_private_capital

std::vector<int> cycpp_shape_fraction_private_capital = {0}

Definition at line 96 of file institution_cost.cycpp.h.

◆ cycpp_shape_minimum_acceptable_return_rate

std::vector<int> cycpp_shape_minimum_acceptable_return_rate = {0}

Definition at line 91 of file institution_cost.cycpp.h.

◆ cycpp_shape_share_holders_rate_of_return

std::vector<int> cycpp_shape_share_holders_rate_of_return = {0}

Definition at line 95 of file institution_cost.cycpp.h.

◆ fraction_bond_financing

double fraction_bond_financing

Definition at line 53 of file institution_cost.cycpp.h.

◆ fraction_private_capital

double fraction_private_capital

Definition at line 71 of file institution_cost.cycpp.h.

◆ minimum_acceptable_return_rate

double minimum_acceptable_return_rate

This includes the required header to add institution costs to archetypes.

One should only need to:

  • '#include "toolkit/institution_cost.cycpp.h"' in the header of the archetype class (as private)
  • Add InitEconParameters() to EnterNotify() in the cc file of the archetype class. How to add parameters to this file:
  1. Add the pragma. A default value MUST be added to ensure backwards compatibility.
  2. Edit the unordered_map called "econ_params" i. add the desired parameter to the array {"name", value} ii. the value of the pair should be the variable name exactly
  3. Add "std::vector<int> cycpp_shape_<param_name> = {0};" to the end of the file with the other ones, reaplcing <param_name> with the name you put in the econ_params array (again, must match exactly).

Definition at line 26 of file institution_cost.cycpp.h.

◆ share_holders_rate_of_return

double share_holders_rate_of_return

Definition at line 62 of file institution_cost.cycpp.h.