Struct LeadPar

Struct Documentation

struct Models::EPEC::LeadPar

Public Functions

inline LeadPar(double imp_lim = -1, double exp_lim = -1, double price_limit = -1, bool tax_revenue = false, unsigned int tax_type_ = 0, bool tradeBool = true)

Standard constructor for LeadPar.

s

Parameters
  • imp_lim – Import cap

  • exp_lim – Export cap

  • price_limit – Price cap

  • tax_revenue – Leader tax revenue

  • tax_type_ – Taxation type

  • tradeBool – Is trade allowed?

Public Members

double import_limit = -1

Maximum net import in the country. If no limit, set the value as -1;.

double export_limit = -1

Maximum net export in the country. If no limit, set the value as -1;.

double price_limit = -1

Government does not want the price to exceed this limit.

bool tradeAllowed = true

False if the country cannot trade with other countries.

Models::EPEC::TaxType tax_type = Models::EPEC::TaxType::StandardTax

The taxation type.

bool tax_revenue = false