ICEACE Model: Closed Economy  1.0.0
Design Documentation of ICEACE Model
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
memory.c File Reference

Holds memory functions. More...

#include "header.h"
Include dependency graph for memory.c:

Go to the source code of this file.

Functions

void unittest_idle_start_FirmInitPostId ()
 
void unittest_idle_start_FirmLoop ()
 
void unittest_firm_init_post_id_FirmInitPostId_FirmInitEmployment ()
 
void unittest_firm_init_employment_FirmInitEmployment_FirmInitBalanceSheet ()
 
void unittest_firm_init_balancesheet_FirmInitBalanceSheet_FirmLoop ()
 
void unittest_firm_iterate_FirmLoop_FirmCreditStart ()
 
void unittest_idle_FirmUpdateDeposits_FirmCreditPolicyChecks ()
 
void unittest_firm_update_bank_account_FirmUpdateDeposits_FirmCreditPolicyChecks ()
 
void unittest_idle_FirmConsumptionStart_FirmHousingStart ()
 
void unittest_idle_FirmConsumptionStart_FirmConsumptionMarket ()
 
void unittest_idle_FirmConsumptionMarket_FirmHousingStart ()
 
void unittest_firm_consumption_supply_FirmConsumptionMarket_FirmReceiveSales ()
 
void unittest_firm_consumption_receive_sales_FirmReceiveSales_FirmConsumptionPrice ()
 
void unittest_firm_consumption_update_market_price_FirmConsumptionPrice_FirmHousingStart ()
 
void unittest_idle_FirmLabourStart_FirmConsumptionStart ()
 
void unittest_firm_labour_workforce_needed_FirmLabourStart_FirmLabourStage1 ()
 
void unittest_idle_FirmLabourStage1_FirmLabourStage1End ()
 
void unittest_firm_labour_fire_FirmLabourStage1_FirmLabourStage1End ()
 
void unittest_firm_labour_job_announcement_stage1_FirmLabourStage1_FirmLabourStage1Application ()
 
void unittest_firm_labour_job_offer_stage1_FirmLabourStage1Application_FirmLabourStage1End ()
 
void unittest_firm_labour_update_FirmLabourStage1End_FirmLabourStage2 ()
 
void unittest_firm_labour_job_announcement_stage2_FirmLabourStage2_FirmLabourStage2End ()
 
void unittest_idle_FirmLabourStage2_FirmConsumptionStart ()
 
void unittest_firm_labour_job_offer_stage2_FirmLabourStage2End_FirmConsumptionStart ()
 
void unittest_idle_FirmLabourPayWages_FirmUpdateDeposits ()
 
void unittest_firm_labour_pay_wages_FirmLabourPayWages_FirmLabourWageAdjustment ()
 
void unittest_firm_labour_trace_wages_FirmLabourWageAdjustment_FirmUpdateDeposits ()
 
void unittest_idle_FirmProductionStart_FirmLabourStart ()
 
void unittest_idle_FirmProductionStart_FirmProductionSkip ()
 
void unittest_firm_production_skip_FirmProductionSkip_FirmLabourStart ()
 
void unittest_idle_FirmProductionSkip_FirmProductionRoleCheck ()
 
void unittest_idle_FirmProductionRoleCheck_FirmProductionRegular ()
 
void unittest_idle_FirmProductionRoleCheck_FirmProductionConstructor ()
 
void unittest_firm_production_produce_goods_FirmProductionRegular_FirmLabourStart ()
 
void unittest_firm_production_set_price_FirmProductionRegular_FirmProductionPlanning ()
 
void unittest_firm_production_plan_FirmProductionPlanning_FirmProductionLabourDemand ()
 
void unittest_firm_production_compute_labour_demand_FirmProductionLabourDemand_FirmLabourStart ()
 
void unittest_firm_production_construct_houses_FirmProductionConstructor_FirmLabourStart ()
 
void unittest_firm_production_construction_plan_FirmProductionConstructor_FirmConstructionLabourDemand ()
 
void unittest_firm_production_construction_labour_demand_FirmConstructionLabourDemand_FirmLabourStart ()
 
void unittest_idle_FirmCreditStart_FirmProductionStart ()
 
void unittest_firm_credit_compute_income_statement_FirmCreditStart_FirmCreditInvestment ()
 
void unittest_firm_credit_investment_decisions_FirmCreditInvestment_FirmCreditComputeDividends ()
 
void unittest_firm_credit_compute_dividends_FirmCreditComputeDividends_FirmCreditLiquidityNeed ()
 
void unittest_firm_credit_check_liquidity_need_FirmCreditLiquidityNeed_FirmCreditStatus ()
 
void unittest_idle_FirmCreditStatus_FirmCreditPayments ()
 
void unittest_firm_credit_demand_loans_1_FirmCreditStatus_FirmCreditLoanBorrow1 ()
 
void unittest_firm_credit_borrow_loans_1_FirmCreditLoanBorrow1_FirmCreditLoanBorrow2 ()
 
void unittest_idle_FirmCreditLoanBorrow2_FirmCreditPayments ()
 
void unittest_firm_credit_borrow_loans_2_FirmCreditLoanBorrow2_FirmCreditIlliquidityStatus ()
 
void unittest_idle_FirmCreditIlliquidityStatus_FirmCreditPayments ()
 
void unittest_firm_credit_request_equityfund_investment_FirmCreditIlliquidityStatus_FirmCreditLiquidityRecheck ()
 
void unittest_idle_FirmCreditLiquidityRecheck_FirmCreditPayments ()
 
void unittest_firm_credit_check_equityfund_investment_FirmCreditLiquidityRecheck_FirmCreditBankruptcy ()
 
void unittest_idle_FirmCreditBankruptcy_FirmCreditPayments ()
 
void unittest_firm_credit_illiquidity_bankrupt_FirmCreditBankruptcy_FirmCreditBalanceSheet ()
 
void unittest_firm_credit_pay_interest_on_loans_FirmCreditPayments_FirmCreditDividendPayments ()
 
void unittest_firm_credit_pay_dividends_FirmCreditDividendPayments_FirmCreditBalanceSheet ()
 
void unittest_firm_credit_do_balance_sheet_FirmCreditBalanceSheet_FirmCreditInsolvencyCheck ()
 
void unittest_idle_FirmCreditInsolvencyCheck_FirmProductionStart ()
 
void unittest_firm_credit_insolvency_bankruptcy_FirmCreditInsolvencyCheck_FirmProductionStart ()
 
void unittest_idle_FirmCreditPolicyChecks_end ()
 
void unittest_firm_credit_check_interest_rate_FirmCreditPolicyChecks_FirmCreditCheckTaxRate ()
 
void unittest_firm_credit_check_tax_rate_FirmCreditCheckTaxRate_end ()
 
void unittest_idle_FirmHousingStart_FirmLabourPayWages ()
 
void unittest_idle_FirmHousingStart_FirmHousingMarket ()
 
void unittest_idle_FirmHousingMarket_FirmLabourPayWages ()
 
void unittest_firm_housing_enter_market_FirmHousingMarket_FirmHousingSell ()
 
void unittest_firm_housing_collect_sale_revenues_FirmHousingSell_FirmHousingPrice ()
 
void unittest_firm_housing_update_market_price_FirmHousingPrice_FirmLabourPayWages ()
 
void unittest_idle_start_HouseholdInitPostId ()
 
void unittest_idle_start_HouseholdLoop ()
 
void unittest_household_init_post_id_HouseholdInitPostId_HouseholdInitEmployment ()
 
void unittest_household_init_employment_HouseholdInitEmployment_HouseholdInitBalanceSheet ()
 
void unittest_household_init_balancesheet_HouseholdInitBalanceSheet_HouseholdLoop ()
 
void unittest_household_iterate_HouseholdLoop_HHCreditStart ()
 
void unittest_idle_HouseholdUpdateDeposits_HHCreditPolicyChecks ()
 
void unittest_household_update_bank_account_HouseholdUpdateDeposits_HHCreditPolicyChecks ()
 
void unittest_idle_HHConsumptionStart_HHConsumptionWeekly ()
 
void unittest_household_consumption_compute_budget_HHConsumptionStart_HHConsumptionWeekly ()
 
void unittest_idle_HHConsumptionWeekly_HHConsumptionMonthly ()
 
void unittest_household_consumption_demand_HHConsumptionWeekly_HHConsumptionRecieveGoods ()
 
void unittest_household_consumption_recieve_goods_HHConsumptionRecieveGoods_HHConsumptionMonthly ()
 
void unittest_idle_HHConsumptionMonthly_HHHousingStart ()
 
void unittest_household_consumption_trace_cpi_HHConsumptionMonthly_HHHousingStart ()
 
void unittest_idle_HHLabourStart_HHConsumptionStart ()
 
void unittest_household_labour_check_fired_HHLabourStart_HHLabourStage1 ()
 
void unittest_household_labour_reemployment_application_HHLabourStage1_HHLabourStage2 ()
 
void unittest_idle_HHLabourStage1_HHLabourStage1Applications ()
 
void unittest_household_labour_turnover_HHLabourStage2_HHConsumptionStart ()
 
void unittest_household_labour_employment_application_HHLabourStage1Applications_HHLabourStage1Placement ()
 
void unittest_household_labour_employment_HHLabourStage1Placement_HHConsumptionStart ()
 
void unittest_idle_HHLabourPayroll_HouseholdUpdateDeposits ()
 
void unittest_household_labour_receive_wage_HHLabourPayroll_HHLabourEmploymentStatus ()
 
void unittest_household_labour_report_status_HHLabourEmploymentStatus_HouseholdUpdateDeposits ()
 
void unittest_idle_HHCreditStart_HHCreditMonthly ()
 
void unittest_idle_HHCreditStart_HHCreditIsCapitalist ()
 
void unittest_idle_HHCreditIsCapitalist_HHCreditBalanceSheet ()
 
void unittest_household_credit_collect_shares_HHCreditIsCapitalist_HHCreditBalanceSheet ()
 
void unittest_household_credit_do_balance_sheet_HHCreditBalanceSheet_HHCreditMonthly ()
 
void unittest_idle_HHCreditMonthly_HHLabourStart ()
 
void unittest_household_credit_collect_benefits_HHCreditMonthly_HHLabourStart ()
 
void unittest_idle_HHCreditPolicyChecks_end ()
 
void unittest_household_credit_check_interest_rate_HHCreditPolicyChecks_HHCreditUpdateAnnuity ()
 
void unittest_household_credit_update_mortgage_rates_HHCreditUpdateAnnuity_HHCreditCheckTaxRate ()
 
void unittest_household_credit_check_tax_rate_HHCreditCheckTaxRate_end ()
 
void unittest_idle_HHHousingStart_HHLabourPayroll ()
 
void unittest_household_housing_market_role_HHHousingStart_HHHousingRole ()
 
void unittest_idle_HHHousingRole_HHHousingPrice ()
 
void unittest_household_housing_check_wealth_HHHousingRole_HHHousingCheckWealth ()
 
void unittest_household_housing_sell_HHHousingRole_HHHousingRevenue ()
 
void unittest_household_housing_fire_sell_HHHousingRole_HHHousingRevenue ()
 
void unittest_household_housing_collect_sale_revenue_HHHousingRevenue_HHHousingPrice ()
 
void unittest_idle_HHHousingCheckWealth_HHHousingPrice ()
 
void unittest_household_housing_enter_market_HHHousingCheckWealth_HHHousingBargain ()
 
void unittest_household_housing_buy_HHHousingBargain_HHHousingPrice ()
 
void unittest_household_housing_update_market_price_HHHousingPrice_HHHousingPayments ()
 
void unittest_household_housing_pay_mortgages_HHHousingPayments_HHHousingWriteOff ()
 
void unittest_household_housing_debt_writeoff_HHHousingWriteOff_HHLabourPayroll ()
 
void unittest_equityfund_init_start_EquityFundLoop ()
 
void unittest_idle_start_EquityFundLoop ()
 
void unittest_equityfund_iterate_EquityFundLoop_EquityFundCredit ()
 
void unittest_idle_EFLabourMarket_EFCreditIncomeStatement ()
 
void unittest_equityfund_audit_dividends_EFLabourMarket_EFCreditIncomeStatement ()
 
void unittest_idle_EquityFundCredit_EFLabourMarket ()
 
void unittest_equityfund_credit_invest_illiquids_EquityFundCredit_EFCreditShareCollectionBanks ()
 
void unittest_equityfund_credit_collect_bank_shares_EFCreditShareCollectionBanks_EFCreditShareCollectionFirms ()
 
void unittest_equityfund_credit_collect_firm_shares_EFCreditShareCollectionFirms_EFCreditDistributeShares ()
 
void unittest_equityfund_credit_distribute_shares_EFCreditDistributeShares_EFLabourMarket ()
 
void unittest_idle_EFCreditIncomeStatement_end ()
 
void unittest_equityfund_credit_compute_income_statement_EFCreditIncomeStatement_EFCreditBalanceSheet ()
 
void unittest_equityfund_credit_do_balance_sheet_EFCreditBalanceSheet_EFCreditPolicyChecks ()
 
void unittest_equityfund_credit_check_tax_rate_EFCreditPolicyChecks_end ()
 
void unittest_idle_start_BankInitLoans ()
 
void unittest_idle_start_BankLoop ()
 
void unittest_bank_init_loans_BankInitLoans_BankInitMortgages ()
 
void unittest_bank_init_mortgages_BankInitMortgages_BankInitDeposits ()
 
void unittest_bank_init_deposits_BankInitDeposits_BankInitBalanceSheet ()
 
void unittest_bank_init_balancesheet_BankInitBalanceSheet_BankLoop ()
 
void unittest_bank_iterate_BankLoop_BankCreditStart ()
 
void unittest_idle_BankUpdateDeposits_BankCreditPolicyChecks ()
 
void unittest_bank_update_deposits_BankUpdateDeposits_BankCreditPolicyChecks ()
 
void unittest_idle_BankCreditStart_BankHousingMarket ()
 
void unittest_bank_credit_compute_income_statement_BankCreditStart_BankCreditDividends ()
 
void unittest_bank_credit_compute_dividends_BankCreditDividends_BankCreditBalanceSheet ()
 
void unittest_bank_credit_do_balance_sheet_BankCreditBalanceSheet_BankCreditRequest1 ()
 
void unittest_bank_credit_process_loan_requests_1_BankCreditRequest1_BankCreditRequest2 ()
 
void unittest_bank_credit_process_loan_requests_2_BankCreditRequest2_BankCreditLoanWriteOffs ()
 
void unittest_bank_credit_recieve_loan_writeoffs_BankCreditLoanWriteOffs_BankCreditNewEntrants ()
 
void unittest_bank_credit_recieve_new_entrant_loan_requests_BankCreditNewEntrants_BankCreditLoanInterests ()
 
void unittest_bank_credit_collect_loan_interests_BankCreditLoanInterests_BankHousingMarket ()
 
void unittest_idle_BankCreditPolicyChecks_end ()
 
void unittest_bank_credit_check_interest_rate_BankCreditPolicyChecks_end ()
 
void unittest_idle_BankHousingMarket_BankUpdateDeposits ()
 
void unittest_bank_housing_compute_capital_status_BankHousingMarket_BankHousingCrediting ()
 
void unittest_bank_housing_deliver_mortages_BankHousingCrediting_BankHousingSales ()
 
void unittest_bank_housing_recieve_mortgage_principals_BankHousingSales_BankHousingMortgages ()
 
void unittest_bank_housing_recieve_mortgages_BankHousingMortgages_BankHousingWriteOff ()
 
void unittest_bank_housing_debt_writeoff_BankHousingWriteOff_BankUpdateDeposits ()
 
void unittest_government_init_start_GovernmentLoop ()
 
void unittest_idle_start_GovernmentLoop ()
 
void unittest_government_iterate_GovernmentLoop_GovernmentCredit ()
 
void unittest_government_trace_unemployment_status_GovernmentLabourStatus_GovernmentFiscalPolicy ()
 
void unittest_idle_GovernmentCredit_GovernmentMonthly ()
 
void unittest_government_collect_capital_tax_GovernmentCredit_GovernmentMonthly ()
 
void unittest_idle_GovernmentMonthly_GovernmentFiscalPolicy ()
 
void unittest_government_distribute_general_benefits_GovernmentMonthly_GovernmentUnemploymentBenefits ()
 
void unittest_government_distribute_unemployment_benefits_GovernmentUnemploymentBenefits_GovernmentLabourTax ()
 
void unittest_government_collect_labour_tax_GovernmentLabourTax_GovernmentLabourStatus ()
 
void unittest_idle_GovernmentFiscalPolicy_end ()
 
void unittest_government_collect_centralbank_profit_GovernmentFiscalPolicy_GovernmentIncomeStatement ()
 
void unittest_government_compute_income_statement_GovernmentIncomeStatement_GovernmentBalanceSheet ()
 
void unittest_government_do_balance_sheet_GovernmentBalanceSheet_GovernmentUpdatePolicy ()
 
void unittest_government_update_fiscal_policy_GovernmentUpdatePolicy_end ()
 
void unittest_idle_start_CentralBankInitBalanceSheet ()
 
void unittest_idle_start_CentralBankLoop ()
 
void unittest_centralbank_init_balancesheet_CentralBankInitBalanceSheet_CentralBankLoop ()
 
void unittest_centralbank_iterate_CentralBankLoop_CentralBankCredit ()
 
void unittest_idle_CentralBankConsumption_CentralBankConsumptionPrices ()
 
void unittest_centralbank_trace_goods_prices_CentralBankConsumption_CentralBankConsumptionPrices ()
 
void unittest_idle_CentralBankConsumptionPrices_CentralBankHousing ()
 
void unittest_centralbank_update_price_indices_CentralBankConsumptionPrices_CentralBankHousing ()
 
void unittest_idle_CentralBankLabour_CentralBankPolicy ()
 
void unittest_centralbank_trace_unemployment_status_CentralBankLabour_CentralBankPolicy ()
 
void unittest_idle_CentralBankCredit_CentralBankConsumption ()
 
void unittest_centralbank_collect_interest_payments_CentralBankCredit_CentralBankDebtRequests ()
 
void unittest_centralbank_process_debt_requests_CentralBankDebtRequests_CentralBankConsumption ()
 
void unittest_idle_CentralBankPolicy_end ()
 
void unittest_centralbank_compute_income_statement_CentralBankPolicy_CentralBankGovernmentRequests ()
 
void unittest_centralbank_process_government_requests_CentralBankGovernmentRequests_CentralBankBalanceSheet ()
 
void unittest_centralbank_do_balance_sheet_CentralBankBalanceSheet_CentralBankUpdateInterestRate ()
 
void unittest_centralbank_set_interest_rate_CentralBankUpdateInterestRate_end ()
 
void unittest_idle_CentralBankHousing_CentralBankLabour ()
 
void unittest_centralbank_trace_housing_prices_CentralBankHousing_CentralBankLabour ()
 
void unittest_idle_start_JPOfficeInitEmployment ()
 
void unittest_idle_start_JPOfficeLoop ()
 
void unittest_jpoffice_init_employment_JPOfficeInitEmployment_JPOfficeLoop ()
 
void unittest_jpoffice_iterate_JPOfficeLoop_JPOLabourMarket ()
 
void unittest_idle_JPOLabourMarket_end ()
 
void unittest_jpoffice_labour_stage1_JPOLabourMarket_JPOLabourStage2 ()
 
void unittest_jpoffice_labour_stage2_JPOLabourStage2_end ()
 
void unittest_mall_init_start_MallConsumptionMarket ()
 
void unittest_idle_MallConsumptionMarket_end ()
 
void unittest_mall_consumption_shopping_MallConsumptionMarket_MallConsumptionSummary ()
 
void unittest_mall_consumption_summary_MallConsumptionSummary_end ()
 
void unittest_reagency_init_start_REAgencyHousingMarket ()
 
void unittest_idle_REAgencyCreditPolicyChecks_end ()
 
void unittest_reagency_check_interest_rate_REAgencyCreditPolicyChecks_end ()
 
void unittest_idle_REAgencyHousingMarket_REAgencyCreditPolicyChecks ()
 
void unittest_reagency_housing_process_REAgencyHousingMarket_REAgencyHousingSummary ()
 
void unittest_reagency_housing_summary_REAgencyHousingSummary_REAgencyCreditPolicyChecks ()
 
void free_messages ()
 
void initialise_pointers ()
 Initialises pointers to xmachine, message, and node lists. More...
 
void initialise_unit_testing ()
 Initialises framework for unit testing. More...
 
FLAME_outputadd_FLAME_output (FLAME_output **outputs)
 
void free_FLAME_outputs (FLAME_output **outputs)
 
void add_location (double point, location **p_location)
 Adds a location in order into the location list. More...
 
void freelocations (location **p_location)
 Free locations from the location list. More...
 
void init_int_static_array (int *array, int size)
 
void init_float_static_array (float *array, int size)
 
void init_double_static_array (double *array, int size)
 
void init_char_static_array (char *array, int size)
 
void init_transaction (transaction *temp)
 
void init_transaction_static_array (transaction *array, int size)
 
void free_transaction (transaction *temp)
 
void free_transaction_static_array (transaction *array, int size)
 
void copy_transaction (transaction *from, transaction *to)
 
void copy_transaction_static_array (transaction *from, transaction *to, int size)
 
void init_buyer (buyer *temp)
 
void init_buyer_static_array (buyer *array, int size)
 
void free_buyer (buyer *temp)
 
void free_buyer_static_array (buyer *array, int size)
 
void copy_buyer (buyer *from, buyer *to)
 
void copy_buyer_static_array (buyer *from, buyer *to, int size)
 
void init_seller (seller *temp)
 
void init_seller_static_array (seller *array, int size)
 
void free_seller (seller *temp)
 
void free_seller_static_array (seller *array, int size)
 
void copy_seller (seller *from, seller *to)
 
void copy_seller_static_array (seller *from, seller *to, int size)
 
void init_vacancy (vacancy *temp)
 
void init_vacancy_static_array (vacancy *array, int size)
 
void free_vacancy (vacancy *temp)
 
void free_vacancy_static_array (vacancy *array, int size)
 
void copy_vacancy (vacancy *from, vacancy *to)
 
void copy_vacancy_static_array (vacancy *from, vacancy *to, int size)
 
void init_employee (employee *temp)
 
void init_employee_static_array (employee *array, int size)
 
void free_employee (employee *temp)
 
void free_employee_static_array (employee *array, int size)
 
void copy_employee (employee *from, employee *to)
 
void copy_employee_static_array (employee *from, employee *to, int size)
 
void init_mortgage (mortgage *temp)
 
void init_mortgage_static_array (mortgage *array, int size)
 
void free_mortgage (mortgage *temp)
 
void free_mortgage_static_array (mortgage *array, int size)
 
void copy_mortgage (mortgage *from, mortgage *to)
 
void copy_mortgage_static_array (mortgage *from, mortgage *to, int size)
 
void init_loan (loan *temp)
 
void init_loan_static_array (loan *array, int size)
 
void free_loan (loan *temp)
 
void free_loan_static_array (loan *array, int size)
 
void copy_loan (loan *from, loan *to)
 
void copy_loan_static_array (loan *from, loan *to, int size)
 
void init_hbuyer (hbuyer *temp)
 
void init_hbuyer_static_array (hbuyer *array, int size)
 
void free_hbuyer (hbuyer *temp)
 
void free_hbuyer_static_array (hbuyer *array, int size)
 
void copy_hbuyer (hbuyer *from, hbuyer *to)
 
void copy_hbuyer_static_array (hbuyer *from, hbuyer *to, int size)
 
void init_hseller (hseller *temp)
 
void init_hseller_static_array (hseller *array, int size)
 
void free_hseller (hseller *temp)
 
void free_hseller_static_array (hseller *array, int size)
 
void copy_hseller (hseller *from, hseller *to)
 
void copy_hseller_static_array (hseller *from, hseller *to, int size)
 
void init_hbank (hbank *temp)
 
void init_hbank_static_array (hbank *array, int size)
 
void free_hbank (hbank *temp)
 
void free_hbank_static_array (hbank *array, int size)
 
void copy_hbank (hbank *from, hbank *to)
 
void copy_hbank_static_array (hbank *from, hbank *to, int size)
 
xmachine_memory_firm_stateinit_firm_state ()
 
xmachine_memory_firminit_firm_agent ()
 
void free_firm_agent (xmachine_memory_firm_holder *tmp, xmachine_memory_firm_state *state)
 
void unittest_init_firm_agent ()
 
void unittest_free_firm_agent ()
 
void free_firm_agents ()
 
void free_firm_states ()
 
void transition_firm_agent (xmachine_memory_firm_holder *tmp, xmachine_memory_firm_state *from_state, xmachine_memory_firm_state *to_state)
 
void add_firm_agent_internal (xmachine_memory_firm *agent, xmachine_memory_firm_state *state)
 
void add_firm_agent (int id, int bank_id, int isconstructor, int day_of_month_to_act, int isinsolvent, int it_no, int day_of_week_to_act, double average_goods_price, int_array *employees, int manager, double wage_offer, double average_wage, int no_employees, int vacancies, int employees_needed, int day_of_month_wages_paid, double labour_productivity, double capital_productivity, int capital_goods, double capital_goods_price, int production_current, int expected_sales, int production_plan, double unit_goods_price, double unit_cost, int day_of_month_production_completed, double unit_house_price, int projects[], double loans_interest_rate, double debt, int inventory, int sales, double revenues, double total_assets, double operating_costs, double labour_costs, double total_interest_payments, double dividends_paid, double dividends_to_be_paid, double retained_earnings, double net_earnings, double ebit, double equity, double liquidity, int isliquidshort, int hasloan, int hasinvestment, int isilliquid, double planned_investment_costs, double liquidity_need, loan loan_list[], double labour_tax_rate, double delta_housing_price)
 
xmachine_memory_household_stateinit_household_state ()
 
xmachine_memory_householdinit_household_agent ()
 
void free_household_agent (xmachine_memory_household_holder *tmp, xmachine_memory_household_state *state)
 
void unittest_init_household_agent ()
 
void unittest_free_household_agent ()
 
void free_household_agents ()
 
void free_household_states ()
 
void transition_household_agent (xmachine_memory_household_holder *tmp, xmachine_memory_household_state *from_state, xmachine_memory_household_state *to_state)
 
void add_household_agent_internal (xmachine_memory_household *agent, xmachine_memory_household_state *state)
 
void add_household_agent (int id, int bank_id, int it_no, int day_of_week_to_act, double weekly_consumption_budget, double mall_budget, double quarterly_price_change, int my_employer_id, double wage, int ismanager, double government_benefits, int day_of_month_to_act, int day_of_month_wage_recieved, double mortgages_interest_rate, double labour_tax_rate, mortgage_array *mortgages_list, double mortgages, double housing_payment, double equity, double housing_price, int housing_units, int n_shares, double liquidity, double capital_income, double previous_wages[], double previous_benefits[], double labour_income, double total_assets, double housing_value, double expected_housing_payment, int hmarket_role, double equity_ratio, double minimum_equity_ratio, double mortgage_costs[], double delta_housing_value, int mortgage_choice)
 Add household X-machine to the current being used X-machine list. More...
 
xmachine_memory_equityfund_stateinit_equityfund_state ()
 
xmachine_memory_equityfundinit_equityfund_agent ()
 
void free_equityfund_agent (xmachine_memory_equityfund_holder *tmp, xmachine_memory_equityfund_state *state)
 
void unittest_init_equityfund_agent ()
 
void unittest_free_equityfund_agent ()
 
void free_equityfund_agents ()
 
void free_equityfund_states ()
 
void transition_equityfund_agent (xmachine_memory_equityfund_holder *tmp, xmachine_memory_equityfund_state *from_state, xmachine_memory_equityfund_state *to_state)
 
void add_equityfund_agent_internal (xmachine_memory_equityfund *agent, xmachine_memory_equityfund_state *state)
 
void add_equityfund_agent (int id, int it_no, int day_of_month_to_act, int day_of_month_wages_paid, double share_firms, double share_construction_firms, double share_banks, double equity, double liquidity, int n_shares, double dividends_recieved, double dividends_retained, double dividends_paid, double firm_investment, double capital_tax_rate)
 Add equityfund X-machine to the current being used X-machine list. More...
 
xmachine_memory_bank_stateinit_bank_state ()
 
xmachine_memory_bankinit_bank_agent ()
 
void free_bank_agent (xmachine_memory_bank_holder *tmp, xmachine_memory_bank_state *state)
 
void unittest_init_bank_agent ()
 
void unittest_free_bank_agent ()
 
void free_bank_agents ()
 
void free_bank_states ()
 
void transition_bank_agent (xmachine_memory_bank_holder *tmp, xmachine_memory_bank_state *from_state, xmachine_memory_bank_state *to_state)
 
void add_bank_agent_internal (xmachine_memory_bank *agent, xmachine_memory_bank_state *state)
 
void add_bank_agent (int id, int day_of_month_to_act, int day_of_week_to_act, int it_no, double total_assets, double loans, double loans_start, double mortgages, double deposits, double centralbank_debt, double equity, double liquidity, double revenues, double total_writeoffs, double interest_rate, double interests_accrued, double interests_paid, double dividends_paid, double total_dividends, double retained_earnings, double net_earnings, double total_costs)
 Add bank X-machine to the current being used X-machine list. More...
 
xmachine_memory_government_stateinit_government_state ()
 
xmachine_memory_governmentinit_government_agent ()
 
void free_government_agent (xmachine_memory_government_holder *tmp, xmachine_memory_government_state *state)
 
void unittest_init_government_agent ()
 
void unittest_free_government_agent ()
 
void free_government_agents ()
 
void free_government_states ()
 
void transition_government_agent (xmachine_memory_government_holder *tmp, xmachine_memory_government_state *from_state, xmachine_memory_government_state *to_state)
 
void add_government_agent_internal (xmachine_memory_government *agent, xmachine_memory_government_state *state)
 
void add_government_agent (int id, int it_no, double average_wage, double unemployment_rate, int population_size, double debt, double equity, double liquidity, int day_of_month_to_act, int day_of_month_wages_paid, double capital_tax_rate, double labour_tax_rate, double labour_tax_income, double capital_tax_income, double gov_general_benefit_rate, double gov_unemployment_rate, double general_benefits, double unemployment_benefits, double earnings, double centralbank_income, double expenditures)
 Add government X-machine to the current being used X-machine list. More...
 
xmachine_memory_centralbank_stateinit_centralbank_state ()
 
xmachine_memory_centralbankinit_centralbank_agent ()
 
void free_centralbank_agent (xmachine_memory_centralbank_holder *tmp, xmachine_memory_centralbank_state *state)
 
void unittest_init_centralbank_agent ()
 
void unittest_free_centralbank_agent ()
 
void free_centralbank_agents ()
 
void free_centralbank_states ()
 
void transition_centralbank_agent (xmachine_memory_centralbank_holder *tmp, xmachine_memory_centralbank_state *from_state, xmachine_memory_centralbank_state *to_state)
 
void add_centralbank_agent_internal (xmachine_memory_centralbank *agent, xmachine_memory_centralbank_state *state)
 
void add_centralbank_agent (int id, int day_of_month_to_act, double unemployment_rate, double inflation_rate, double consumption_goods_prices[], int it_no, int day_of_week_to_act, transaction goods, double weekly_price_averages[], int day_of_month_wages_paid, double interest_rate, double liquidity, double loans_banks, double loans_government, double fiat_money, double equity, double liquidity_banks, double liquidity_government, double liquidity_equityfund, double total_assets, double total_writeoffs, double interests_accrued, double revenues, double net_earnings, double total_costs, transaction houses)
 
xmachine_memory_jpoffice_stateinit_jpoffice_state ()
 
xmachine_memory_jpofficeinit_jpoffice_agent ()
 
void free_jpoffice_agent (xmachine_memory_jpoffice_holder *tmp, xmachine_memory_jpoffice_state *state)
 
void unittest_init_jpoffice_agent ()
 
void unittest_free_jpoffice_agent ()
 
void free_jpoffice_agents ()
 
void free_jpoffice_states ()
 
void transition_jpoffice_agent (xmachine_memory_jpoffice_holder *tmp, xmachine_memory_jpoffice_state *from_state, xmachine_memory_jpoffice_state *to_state)
 
void add_jpoffice_agent_internal (xmachine_memory_jpoffice *agent, xmachine_memory_jpoffice_state *state)
 
void add_jpoffice_agent (int id, int it_no, int day_of_month_to_act)
 Add jpoffice X-machine to the current being used X-machine list. More...
 
xmachine_memory_mall_stateinit_mall_state ()
 
xmachine_memory_mallinit_mall_agent ()
 
void free_mall_agent (xmachine_memory_mall_holder *tmp, xmachine_memory_mall_state *state)
 
void unittest_init_mall_agent ()
 
void unittest_free_mall_agent ()
 
void free_mall_agents ()
 
void free_mall_states ()
 
void transition_mall_agent (xmachine_memory_mall_holder *tmp, xmachine_memory_mall_state *from_state, xmachine_memory_mall_state *to_state)
 
void add_mall_agent_internal (xmachine_memory_mall *agent, xmachine_memory_mall_state *state)
 
void add_mall_agent (int id, int it_no, int day_of_week_to_act, transaction goods_transactions)
 
xmachine_memory_reagency_stateinit_reagency_state ()
 
xmachine_memory_reagencyinit_reagency_agent ()
 
void free_reagency_agent (xmachine_memory_reagency_holder *tmp, xmachine_memory_reagency_state *state)
 
void unittest_init_reagency_agent ()
 
void unittest_free_reagency_agent ()
 
void free_reagency_agents ()
 
void free_reagency_states ()
 
void transition_reagency_agent (xmachine_memory_reagency_holder *tmp, xmachine_memory_reagency_state *from_state, xmachine_memory_reagency_state *to_state)
 
void add_reagency_agent_internal (xmachine_memory_reagency *agent, xmachine_memory_reagency_state *state)
 
void add_reagency_agent (int id, int day_of_month_to_act, int it_no, double mortgages_interest_rate, transaction housing_transactions)
 
void freexmachines ()
 Free the currently being used X-machine list. More...
 
void set_id (int id)
 Set id memory variable for current X-machine. More...
 
int get_id ()
 Get id memory variable from current X-machine. More...
 
void set_bank_id (int bank_id)
 Set bank_id memory variable for current X-machine. More...
 
int get_bank_id ()
 Get bank_id memory variable from current X-machine. More...
 
void set_isconstructor (int isconstructor)
 Set isconstructor memory variable for current X-machine. More...
 
int get_isconstructor ()
 Get isconstructor memory variable from current X-machine. More...
 
void set_day_of_month_to_act (int day_of_month_to_act)
 Set day_of_month_to_act memory variable for current X-machine. More...
 
int get_day_of_month_to_act ()
 Get day_of_month_to_act memory variable from current X-machine. More...
 
void set_isinsolvent (int isinsolvent)
 Set isinsolvent memory variable for current X-machine. More...
 
int get_isinsolvent ()
 Get isinsolvent memory variable from current X-machine. More...
 
void set_it_no (int it_no)
 Set it_no memory variable for current X-machine. More...
 
int get_it_no ()
 Get it_no memory variable from current X-machine. More...
 
void set_day_of_week_to_act (int day_of_week_to_act)
 Set day_of_week_to_act memory variable for current X-machine. More...
 
int get_day_of_week_to_act ()
 Get day_of_week_to_act memory variable from current X-machine. More...
 
void set_average_goods_price (double average_goods_price)
 Set average_goods_price memory variable for current X-machine. More...
 
double get_average_goods_price ()
 Get average_goods_price memory variable from current X-machine. More...
 
int_arrayget_employees ()
 Get employees memory variable from current X-machine. More...
 
void set_manager (int manager)
 Set manager memory variable for current X-machine. More...
 
int get_manager ()
 Get manager memory variable from current X-machine. More...
 
void set_wage_offer (double wage_offer)
 Set wage_offer memory variable for current X-machine. More...
 
double get_wage_offer ()
 Get wage_offer memory variable from current X-machine. More...
 
void set_average_wage (double average_wage)
 Set average_wage memory variable for current X-machine. More...
 
double get_average_wage ()
 Get average_wage memory variable from current X-machine. More...
 
void set_no_employees (int no_employees)
 Set no_employees memory variable for current X-machine. More...
 
int get_no_employees ()
 Get no_employees memory variable from current X-machine. More...
 
void set_vacancies (int vacancies)
 Set vacancies memory variable for current X-machine. More...
 
int get_vacancies ()
 Get vacancies memory variable from current X-machine. More...
 
void set_employees_needed (int employees_needed)
 Set employees_needed memory variable for current X-machine. More...
 
int get_employees_needed ()
 Get employees_needed memory variable from current X-machine. More...
 
void set_day_of_month_wages_paid (int day_of_month_wages_paid)
 Set day_of_month_wages_paid memory variable for current X-machine. More...
 
int get_day_of_month_wages_paid ()
 Get day_of_month_wages_paid memory variable from current X-machine. More...
 
void set_labour_productivity (double labour_productivity)
 Set labour_productivity memory variable for current X-machine. More...
 
double get_labour_productivity ()
 Get labour_productivity memory variable from current X-machine. More...
 
void set_capital_productivity (double capital_productivity)
 Set capital_productivity memory variable for current X-machine. More...
 
double get_capital_productivity ()
 Get capital_productivity memory variable from current X-machine. More...
 
void set_capital_goods (int capital_goods)
 Set capital_goods memory variable for current X-machine. More...
 
int get_capital_goods ()
 Get capital_goods memory variable from current X-machine. More...
 
void set_capital_goods_price (double capital_goods_price)
 Set capital_goods_price memory variable for current X-machine. More...
 
double get_capital_goods_price ()
 Get capital_goods_price memory variable from current X-machine. More...
 
void set_production_current (int production_current)
 Set production_current memory variable for current X-machine. More...
 
int get_production_current ()
 Get production_current memory variable from current X-machine. More...
 
void set_expected_sales (int expected_sales)
 Set expected_sales memory variable for current X-machine. More...
 
int get_expected_sales ()
 Get expected_sales memory variable from current X-machine. More...
 
void set_production_plan (int production_plan)
 Set production_plan memory variable for current X-machine. More...
 
int get_production_plan ()
 Get production_plan memory variable from current X-machine. More...
 
void set_unit_goods_price (double unit_goods_price)
 Set unit_goods_price memory variable for current X-machine. More...
 
double get_unit_goods_price ()
 Get unit_goods_price memory variable from current X-machine. More...
 
void set_unit_cost (double unit_cost)
 Set unit_cost memory variable for current X-machine. More...
 
double get_unit_cost ()
 Get unit_cost memory variable from current X-machine. More...
 
void set_day_of_month_production_completed (int day_of_month_production_completed)
 Set day_of_month_production_completed memory variable for current X-machine. More...
 
int get_day_of_month_production_completed ()
 Get day_of_month_production_completed memory variable from current X-machine. More...
 
void set_unit_house_price (double unit_house_price)
 Set unit_house_price memory variable for current X-machine. More...
 
double get_unit_house_price ()
 Get unit_house_price memory variable from current X-machine. More...
 
int * get_projects ()
 Get projects memory variable from current X-machine. More...
 
void set_loans_interest_rate (double loans_interest_rate)
 Set loans_interest_rate memory variable for current X-machine. More...
 
double get_loans_interest_rate ()
 Get loans_interest_rate memory variable from current X-machine. More...
 
void set_debt (double debt)
 Set debt memory variable for current X-machine. More...
 
double get_debt ()
 Get debt memory variable from current X-machine. More...
 
void set_inventory (int inventory)
 Set inventory memory variable for current X-machine. More...
 
int get_inventory ()
 Get inventory memory variable from current X-machine. More...
 
void set_sales (int sales)
 Set sales memory variable for current X-machine. More...
 
int get_sales ()
 Get sales memory variable from current X-machine. More...
 
void set_revenues (double revenues)
 Set revenues memory variable for current X-machine. More...
 
double get_revenues ()
 Get revenues memory variable from current X-machine. More...
 
void set_total_assets (double total_assets)
 Set total_assets memory variable for current X-machine. More...
 
double get_total_assets ()
 Get total_assets memory variable from current X-machine. More...
 
void set_operating_costs (double operating_costs)
 Set operating_costs memory variable for current X-machine. More...
 
double get_operating_costs ()
 Get operating_costs memory variable from current X-machine. More...
 
void set_labour_costs (double labour_costs)
 Set labour_costs memory variable for current X-machine. More...
 
double get_labour_costs ()
 Get labour_costs memory variable from current X-machine. More...
 
void set_total_interest_payments (double total_interest_payments)
 Set total_interest_payments memory variable for current X-machine. More...
 
double get_total_interest_payments ()
 Get total_interest_payments memory variable from current X-machine. More...
 
void set_dividends_paid (double dividends_paid)
 Set dividends_paid memory variable for current X-machine. More...
 
double get_dividends_paid ()
 Get dividends_paid memory variable from current X-machine. More...
 
void set_dividends_to_be_paid (double dividends_to_be_paid)
 Set dividends_to_be_paid memory variable for current X-machine. More...
 
double get_dividends_to_be_paid ()
 Get dividends_to_be_paid memory variable from current X-machine. More...
 
void set_retained_earnings (double retained_earnings)
 Set retained_earnings memory variable for current X-machine. More...
 
double get_retained_earnings ()
 Get retained_earnings memory variable from current X-machine. More...
 
void set_net_earnings (double net_earnings)
 Set net_earnings memory variable for current X-machine. More...
 
double get_net_earnings ()
 Get net_earnings memory variable from current X-machine. More...
 
void set_ebit (double ebit)
 Set ebit memory variable for current X-machine. More...
 
double get_ebit ()
 Get ebit memory variable from current X-machine. More...
 
void set_equity (double equity)
 Set equity memory variable for current X-machine. More...
 
double get_equity ()
 Get equity memory variable from current X-machine. More...
 
void set_liquidity (double liquidity)
 Set liquidity memory variable for current X-machine. More...
 
double get_liquidity ()
 Get liquidity memory variable from current X-machine. More...
 
void set_isliquidshort (int isliquidshort)
 Set isliquidshort memory variable for current X-machine. More...
 
int get_isliquidshort ()
 Get isliquidshort memory variable from current X-machine. More...
 
void set_hasloan (int hasloan)
 Set hasloan memory variable for current X-machine. More...
 
int get_hasloan ()
 Get hasloan memory variable from current X-machine. More...
 
void set_hasinvestment (int hasinvestment)
 Set hasinvestment memory variable for current X-machine. More...
 
int get_hasinvestment ()
 Get hasinvestment memory variable from current X-machine. More...
 
void set_isilliquid (int isilliquid)
 Set isilliquid memory variable for current X-machine. More...
 
int get_isilliquid ()
 Get isilliquid memory variable from current X-machine. More...
 
void set_planned_investment_costs (double planned_investment_costs)
 Set planned_investment_costs memory variable for current X-machine. More...
 
double get_planned_investment_costs ()
 Get planned_investment_costs memory variable from current X-machine. More...
 
void set_liquidity_need (double liquidity_need)
 Set liquidity_need memory variable for current X-machine. More...
 
double get_liquidity_need ()
 Get liquidity_need memory variable from current X-machine. More...
 
loanget_loan_list ()
 Get loan_list memory variable from current X-machine. More...
 
void set_labour_tax_rate (double labour_tax_rate)
 Set labour_tax_rate memory variable for current X-machine. More...
 
double get_labour_tax_rate ()
 Get labour_tax_rate memory variable from current X-machine. More...
 
void set_delta_housing_price (double delta_housing_price)
 Set delta_housing_price memory variable for current X-machine. More...
 
double get_delta_housing_price ()
 Get delta_housing_price memory variable from current X-machine. More...
 
void set_weekly_consumption_budget (double weekly_consumption_budget)
 Set weekly_consumption_budget memory variable for current X-machine. More...
 
double get_weekly_consumption_budget ()
 Get weekly_consumption_budget memory variable from current X-machine. More...
 
void set_mall_budget (double mall_budget)
 Set mall_budget memory variable for current X-machine. More...
 
double get_mall_budget ()
 Get mall_budget memory variable from current X-machine. More...
 
void set_quarterly_price_change (double quarterly_price_change)
 Set quarterly_price_change memory variable for current X-machine. More...
 
double get_quarterly_price_change ()
 Get quarterly_price_change memory variable from current X-machine. More...
 
void set_my_employer_id (int my_employer_id)
 Set my_employer_id memory variable for current X-machine. More...
 
int get_my_employer_id ()
 Get my_employer_id memory variable from current X-machine. More...
 
void set_wage (double wage)
 Set wage memory variable for current X-machine. More...
 
double get_wage ()
 Get wage memory variable from current X-machine. More...
 
void set_ismanager (int ismanager)
 Set ismanager memory variable for current X-machine. More...
 
int get_ismanager ()
 Get ismanager memory variable from current X-machine. More...
 
void set_government_benefits (double government_benefits)
 Set government_benefits memory variable for current X-machine. More...
 
double get_government_benefits ()
 Get government_benefits memory variable from current X-machine. More...
 
void set_day_of_month_wage_recieved (int day_of_month_wage_recieved)
 Set day_of_month_wage_recieved memory variable for current X-machine. More...
 
int get_day_of_month_wage_recieved ()
 Get day_of_month_wage_recieved memory variable from current X-machine. More...
 
void set_mortgages_interest_rate (double mortgages_interest_rate)
 Set mortgages_interest_rate memory variable for current X-machine. More...
 
double get_mortgages_interest_rate ()
 Get mortgages_interest_rate memory variable from current X-machine. More...
 
mortgage_arrayget_mortgages_list ()
 Get mortgages_list memory variable from current X-machine. More...
 
void set_mortgages (double mortgages)
 Set mortgages memory variable for current X-machine. More...
 
double get_mortgages ()
 Get mortgages memory variable from current X-machine. More...
 
void set_housing_payment (double housing_payment)
 Set housing_payment memory variable for current X-machine. More...
 
double get_housing_payment ()
 Get housing_payment memory variable from current X-machine. More...
 
void set_housing_price (double housing_price)
 Set housing_price memory variable for current X-machine. More...
 
double get_housing_price ()
 Get housing_price memory variable from current X-machine. More...
 
void set_housing_units (int housing_units)
 Set housing_units memory variable for current X-machine. More...
 
int get_housing_units ()
 Get housing_units memory variable from current X-machine. More...
 
void set_n_shares (int n_shares)
 Set n_shares memory variable for current X-machine. More...
 
int get_n_shares ()
 Get n_shares memory variable from current X-machine. More...
 
void set_capital_income (double capital_income)
 Set capital_income memory variable for current X-machine. More...
 
double get_capital_income ()
 Get capital_income memory variable from current X-machine. More...
 
double * get_previous_wages ()
 Get previous_wages memory variable from current X-machine. More...
 
double * get_previous_benefits ()
 Get previous_benefits memory variable from current X-machine. More...
 
void set_labour_income (double labour_income)
 Set labour_income memory variable for current X-machine. More...
 
double get_labour_income ()
 Get labour_income memory variable from current X-machine. More...
 
void set_housing_value (double housing_value)
 Set housing_value memory variable for current X-machine. More...
 
double get_housing_value ()
 Get housing_value memory variable from current X-machine. More...
 
void set_expected_housing_payment (double expected_housing_payment)
 Set expected_housing_payment memory variable for current X-machine. More...
 
double get_expected_housing_payment ()
 Get expected_housing_payment memory variable from current X-machine. More...
 
void set_hmarket_role (int hmarket_role)
 Set hmarket_role memory variable for current X-machine. More...
 
int get_hmarket_role ()
 Get hmarket_role memory variable from current X-machine. More...
 
void set_equity_ratio (double equity_ratio)
 Set equity_ratio memory variable for current X-machine. More...
 
double get_equity_ratio ()
 Get equity_ratio memory variable from current X-machine. More...
 
void set_minimum_equity_ratio (double minimum_equity_ratio)
 Set minimum_equity_ratio memory variable for current X-machine. More...
 
double get_minimum_equity_ratio ()
 Get minimum_equity_ratio memory variable from current X-machine. More...
 
double * get_mortgage_costs ()
 Get mortgage_costs memory variable from current X-machine. More...
 
void set_delta_housing_value (double delta_housing_value)
 Set delta_housing_value memory variable for current X-machine. More...
 
double get_delta_housing_value ()
 Get delta_housing_value memory variable from current X-machine. More...
 
void set_mortgage_choice (int mortgage_choice)
 Set mortgage_choice memory variable for current X-machine. More...
 
int get_mortgage_choice ()
 Get mortgage_choice memory variable from current X-machine. More...
 
void set_share_firms (double share_firms)
 Set share_firms memory variable for current X-machine. More...
 
double get_share_firms ()
 Get share_firms memory variable from current X-machine. More...
 
void set_share_construction_firms (double share_construction_firms)
 Set share_construction_firms memory variable for current X-machine. More...
 
double get_share_construction_firms ()
 Get share_construction_firms memory variable from current X-machine. More...
 
void set_share_banks (double share_banks)
 Set share_banks memory variable for current X-machine. More...
 
double get_share_banks ()
 Get share_banks memory variable from current X-machine. More...
 
void set_dividends_recieved (double dividends_recieved)
 Set dividends_recieved memory variable for current X-machine. More...
 
double get_dividends_recieved ()
 Get dividends_recieved memory variable from current X-machine. More...
 
void set_dividends_retained (double dividends_retained)
 Set dividends_retained memory variable for current X-machine. More...
 
double get_dividends_retained ()
 Get dividends_retained memory variable from current X-machine. More...
 
void set_firm_investment (double firm_investment)
 Set firm_investment memory variable for current X-machine. More...
 
double get_firm_investment ()
 Get firm_investment memory variable from current X-machine. More...
 
void set_capital_tax_rate (double capital_tax_rate)
 Set capital_tax_rate memory variable for current X-machine. More...
 
double get_capital_tax_rate ()
 Get capital_tax_rate memory variable from current X-machine. More...
 
void set_loans (double loans)
 Set loans memory variable for current X-machine. More...
 
double get_loans ()
 Get loans memory variable from current X-machine. More...
 
void set_loans_start (double loans_start)
 Set loans_start memory variable for current X-machine. More...
 
double get_loans_start ()
 Get loans_start memory variable from current X-machine. More...
 
void set_deposits (double deposits)
 Set deposits memory variable for current X-machine. More...
 
double get_deposits ()
 Get deposits memory variable from current X-machine. More...
 
void set_centralbank_debt (double centralbank_debt)
 Set centralbank_debt memory variable for current X-machine. More...
 
double get_centralbank_debt ()
 Get centralbank_debt memory variable from current X-machine. More...
 
void set_total_writeoffs (double total_writeoffs)
 Set total_writeoffs memory variable for current X-machine. More...
 
double get_total_writeoffs ()
 Get total_writeoffs memory variable from current X-machine. More...
 
void set_interest_rate (double interest_rate)
 Set interest_rate memory variable for current X-machine. More...
 
double get_interest_rate ()
 Get interest_rate memory variable from current X-machine. More...
 
void set_interests_accrued (double interests_accrued)
 Set interests_accrued memory variable for current X-machine. More...
 
double get_interests_accrued ()
 Get interests_accrued memory variable from current X-machine. More...
 
void set_interests_paid (double interests_paid)
 Set interests_paid memory variable for current X-machine. More...
 
double get_interests_paid ()
 Get interests_paid memory variable from current X-machine. More...
 
void set_total_dividends (double total_dividends)
 Set total_dividends memory variable for current X-machine. More...
 
double get_total_dividends ()
 Get total_dividends memory variable from current X-machine. More...
 
void set_total_costs (double total_costs)
 Set total_costs memory variable for current X-machine. More...
 
double get_total_costs ()
 Get total_costs memory variable from current X-machine. More...
 
void set_unemployment_rate (double unemployment_rate)
 Set unemployment_rate memory variable for current X-machine. More...
 
double get_unemployment_rate ()
 Get unemployment_rate memory variable from current X-machine. More...
 
void set_population_size (int population_size)
 Set population_size memory variable for current X-machine. More...
 
int get_population_size ()
 Get population_size memory variable from current X-machine. More...
 
void set_labour_tax_income (double labour_tax_income)
 Set labour_tax_income memory variable for current X-machine. More...
 
double get_labour_tax_income ()
 Get labour_tax_income memory variable from current X-machine. More...
 
void set_capital_tax_income (double capital_tax_income)
 Set capital_tax_income memory variable for current X-machine. More...
 
double get_capital_tax_income ()
 Get capital_tax_income memory variable from current X-machine. More...
 
void set_gov_general_benefit_rate (double gov_general_benefit_rate)
 Set gov_general_benefit_rate memory variable for current X-machine. More...
 
double get_gov_general_benefit_rate ()
 Get gov_general_benefit_rate memory variable from current X-machine. More...
 
void set_gov_unemployment_rate (double gov_unemployment_rate)
 Set gov_unemployment_rate memory variable for current X-machine. More...
 
double get_gov_unemployment_rate ()
 Get gov_unemployment_rate memory variable from current X-machine. More...
 
void set_general_benefits (double general_benefits)
 Set general_benefits memory variable for current X-machine. More...
 
double get_general_benefits ()
 Get general_benefits memory variable from current X-machine. More...
 
void set_unemployment_benefits (double unemployment_benefits)
 Set unemployment_benefits memory variable for current X-machine. More...
 
double get_unemployment_benefits ()
 Get unemployment_benefits memory variable from current X-machine. More...
 
void set_earnings (double earnings)
 Set earnings memory variable for current X-machine. More...
 
double get_earnings ()
 Get earnings memory variable from current X-machine. More...
 
void set_centralbank_income (double centralbank_income)
 Set centralbank_income memory variable for current X-machine. More...
 
double get_centralbank_income ()
 Get centralbank_income memory variable from current X-machine. More...
 
void set_expenditures (double expenditures)
 Set expenditures memory variable for current X-machine. More...
 
double get_expenditures ()
 Get expenditures memory variable from current X-machine. More...
 
void set_inflation_rate (double inflation_rate)
 Set inflation_rate memory variable for current X-machine. More...
 
double get_inflation_rate ()
 Get inflation_rate memory variable from current X-machine. More...
 
double * get_consumption_goods_prices ()
 Get consumption_goods_prices memory variable from current X-machine. More...
 
transactionget_goods ()
 Get goods memory variable from current X-machine. More...
 
double * get_weekly_price_averages ()
 Get weekly_price_averages memory variable from current X-machine. More...
 
void set_loans_banks (double loans_banks)
 Set loans_banks memory variable for current X-machine. More...
 
double get_loans_banks ()
 Get loans_banks memory variable from current X-machine. More...
 
void set_loans_government (double loans_government)
 Set loans_government memory variable for current X-machine. More...
 
double get_loans_government ()
 Get loans_government memory variable from current X-machine. More...
 
void set_fiat_money (double fiat_money)
 Set fiat_money memory variable for current X-machine. More...
 
double get_fiat_money ()
 Get fiat_money memory variable from current X-machine. More...
 
void set_liquidity_banks (double liquidity_banks)
 Set liquidity_banks memory variable for current X-machine. More...
 
double get_liquidity_banks ()
 Get liquidity_banks memory variable from current X-machine. More...
 
void set_liquidity_government (double liquidity_government)
 Set liquidity_government memory variable for current X-machine. More...
 
double get_liquidity_government ()
 Get liquidity_government memory variable from current X-machine. More...
 
void set_liquidity_equityfund (double liquidity_equityfund)
 Set liquidity_equityfund memory variable for current X-machine. More...
 
double get_liquidity_equityfund ()
 Get liquidity_equityfund memory variable from current X-machine. More...
 
transactionget_houses ()
 Get houses memory variable from current X-machine. More...
 
transactionget_goods_transactions ()
 Get goods_transactions memory variable from current X-machine. More...
 
transactionget_housing_transactions ()
 Get housing_transactions memory variable from current X-machine. More...
 
double agent_get_range ()
 Fixed routine to get the range from current X-machine. More...
 
int agent_get_id ()
 Fixed routine to get the id for the current X-machine. More...
 
double agent_get_x ()
 Fixed routine to get the x coordinate from current X-machine. More...
 
double agent_get_y ()
 Fixed routine to get the y coordinate from current X-machine. More...
 
double agent_get_z ()
 Fixed routine to get the z coordinate from current X-machine. More...
 
void add_node (int node_id, double minx, double maxx, double miny, double maxy, double minz, double maxz)
 Add a node to the node list. More...
 
void free_node_info ()
 Free the node list. More...
 
void clean_up (int code)
 Add a node to the node list. More...
 
void propagate_agents ()
 Check agent positions to see if any need to be moved to a another node. More...
 
void init_int_array (int_array *array)
 
void reset_int_array (int_array *array)
 Reset the int array to hold nothing. More...
 
void free_int_array (int_array *array)
 Free the memory of a dynamic integer array. More...
 
void copy_int_array (int_array *from, int_array *to)
 
void add_int (int_array *array, int new_int)
 Add an integer to the dynamic integer array. More...
 
void remove_int (int_array *array, int index)
 Remove an integer from a dynamic integer array. More...
 
void print_int_array (int_array *array)
 Print the elements of a dynamic integer array. More...
 
void init_float_array (float_array *array)
 
void reset_float_array (float_array *array)
 Reset the float array to hold nothing. More...
 
void free_float_array (float_array *array)
 Free the memory of a dynamic float array. More...
 
void copy_float_array (float_array *from, float_array *to)
 
void add_float (float_array *array, float new_float)
 Add an floateger to the dynamic float array. More...
 
void remove_float (float_array *array, int index)
 Remove an floateger from a dynamic float array. More...
 
void print_float_array (float_array *array)
 Print the elements of a dynamic float array. More...
 
void init_double_array (double_array *array)
 
void reset_double_array (double_array *array)
 Reset the double array to hold nothing. More...
 
void free_double_array (double_array *array)
 Free the memory of a dynamic double array. More...
 
void copy_double_array (double_array *from, double_array *to)
 
void add_double (double_array *array, double new_double)
 Add an double to the dynamic double array. More...
 
void remove_double (double_array *array, int index)
 Remove an double from a dynamic double array. More...
 
void print_double_array (double_array *array)
 Print the elements of a dynamic double array. More...
 
void init_char_array (char_array *array)
 
void reset_char_array (char_array *array)
 Reset the char array to hold nothing. More...
 
void free_char_array (char_array *array)
 Free the memory of a dynamic char array. More...
 
void copy_char_array (char_array *from, char_array *to)
 
void add_char (char_array *array, char new_char)
 Add an char to the dynamic char array. More...
 
void remove_char (char_array *array, int index)
 Remove an char from a dynamic char array. More...
 
char * copy_array_to_str (char_array *array)
 Return pointer to string from a char_array. More...
 
void print_char_array (char_array *array)
 Print the elements of a dynamic char array. More...
 
void init_transaction_array (transaction_array *array)
 
void reset_transaction_array (transaction_array *array)
 Reset the transaction array to hold nothing. More...
 
void free_transaction_array (transaction_array *array)
 Free the memory of a dynamic transaction array. More...
 
void copy_transaction_array (transaction_array *from, transaction_array *to)
 
void add_transaction (transaction_array *array, int quantity, double avg_price)
 Add an transaction to the dynamic transaction array. More...
 
void remove_transaction (transaction_array *array, int index)
 Remove an transaction from a dynamic transaction array. More...
 
void init_buyer_array (buyer_array *array)
 
void reset_buyer_array (buyer_array *array)
 Reset the buyer array to hold nothing. More...
 
void free_buyer_array (buyer_array *array)
 Free the memory of a dynamic buyer array. More...
 
void copy_buyer_array (buyer_array *from, buyer_array *to)
 
void add_buyer (buyer_array *array, int id, double budget)
 Add an buyer to the dynamic buyer array. More...
 
void remove_buyer (buyer_array *array, int index)
 Remove an buyer from a dynamic buyer array. More...
 
void init_seller_array (seller_array *array)
 
void reset_seller_array (seller_array *array)
 Reset the seller array to hold nothing. More...
 
void free_seller_array (seller_array *array)
 Free the memory of a dynamic seller array. More...
 
void copy_seller_array (seller_array *from, seller_array *to)
 
void add_seller (seller_array *array, int id, double price, int inventory, double inv_price)
 Add an seller to the dynamic seller array. More...
 
void remove_seller (seller_array *array, int index)
 Remove an seller from a dynamic seller array. More...
 
void init_vacancy_array (vacancy_array *array)
 
void reset_vacancy_array (vacancy_array *array)
 Reset the vacancy array to hold nothing. More...
 
void free_vacancy_array (vacancy_array *array)
 Free the memory of a dynamic vacancy array. More...
 
void copy_vacancy_array (vacancy_array *from, vacancy_array *to)
 
void add_vacancy (vacancy_array *array, int id, double wage)
 Add an vacancy to the dynamic vacancy array. More...
 
void remove_vacancy (vacancy_array *array, int index)
 Remove an vacancy from a dynamic vacancy array. More...
 
void init_employee_array (employee_array *array)
 
void reset_employee_array (employee_array *array)
 Reset the employee array to hold nothing. More...
 
void free_employee_array (employee_array *array)
 Free the memory of a dynamic employee array. More...
 
void copy_employee_array (employee_array *from, employee_array *to)
 
void add_employee (employee_array *array, int id, double wage)
 Add an employee to the dynamic employee array. More...
 
void remove_employee (employee_array *array, int index)
 Remove an employee from a dynamic employee array. More...
 
void init_mortgage_array (mortgage_array *array)
 
void reset_mortgage_array (mortgage_array *array)
 Reset the mortgage array to hold nothing. More...
 
void free_mortgage_array (mortgage_array *array)
 Free the memory of a dynamic mortgage array. More...
 
void copy_mortgage_array (mortgage_array *from, mortgage_array *to)
 
void add_mortgage (mortgage_array *array, int bank_id, double principal, int quarters_left, double quarterly_interest, double quarterly_principal, double interestrate, int mtype)
 Add an mortgage to the dynamic mortgage array. More...
 
void remove_mortgage (mortgage_array *array, int index)
 Remove an mortgage from a dynamic mortgage array. More...
 
void init_loan_array (loan_array *array)
 
void reset_loan_array (loan_array *array)
 Reset the loan array to hold nothing. More...
 
void free_loan_array (loan_array *array)
 Free the memory of a dynamic loan array. More...
 
void copy_loan_array (loan_array *from, loan_array *to)
 
void add_loan (loan_array *array, int bank_id, double amount, double to_be_paid)
 Add an loan to the dynamic loan array. More...
 
void remove_loan (loan_array *array, int index)
 Remove an loan from a dynamic loan array. More...
 
void init_hbuyer_array (hbuyer_array *array)
 
void reset_hbuyer_array (hbuyer_array *array)
 Reset the hbuyer array to hold nothing. More...
 
void free_hbuyer_array (hbuyer_array *array)
 Free the memory of a dynamic hbuyer array. More...
 
void copy_hbuyer_array (hbuyer_array *from, hbuyer_array *to)
 
void add_hbuyer (hbuyer_array *array, int buyer_id, int bank_id, double liquidity, double quarterly_income, double quarterly_mortgage_paid, int choice)
 Add an hbuyer to the dynamic hbuyer array. More...
 
void remove_hbuyer (hbuyer_array *array, int index)
 Remove an hbuyer from a dynamic hbuyer array. More...
 
void init_hseller_array (hseller_array *array)
 
void reset_hseller_array (hseller_array *array)
 Reset the hseller array to hold nothing. More...
 
void free_hseller_array (hseller_array *array)
 Free the memory of a dynamic hseller array. More...
 
void copy_hseller_array (hseller_array *from, hseller_array *to)
 
void add_hseller (hseller_array *array, int seller_id, double price, int quantity, int type)
 Add an hseller to the dynamic hseller array. More...
 
void remove_hseller (hseller_array *array, int index)
 Remove an hseller from a dynamic hseller array. More...
 
void init_hbank_array (hbank_array *array)
 
void reset_hbank_array (hbank_array *array)
 Reset the hbank array to hold nothing. More...
 
void free_hbank_array (hbank_array *array)
 Free the memory of a dynamic hbank array. More...
 
void copy_hbank_array (hbank_array *from, hbank_array *to)
 
void add_hbank (hbank_array *array, int id, double equity, double risky_assets, double amount_mortgaged)
 Add an hbank to the dynamic hbank array. More...
 
void remove_hbank (hbank_array *array, int index)
 Remove an hbank from a dynamic hbank array. More...
 
int idle ()
 an idle function for use by agents. More...
 
int FLAME_get_environment_variable_resume_mode ()
 
int FLAME_get_environment_variable_print_debug_mode ()
 
int FLAME_get_environment_variable_warning_mode ()
 
int FLAME_get_environment_variable_data_collection_mode ()
 
int FLAME_get_environment_variable_collect_household_data ()
 
int FLAME_get_environment_variable_collect_firm_data ()
 
double FLAME_get_environment_variable_ratio_liquidity ()
 
double FLAME_get_environment_variable_consumption_adjustment_speed ()
 
double FLAME_get_environment_variable_wealth_effect ()
 
double FLAME_get_environment_variable_turnover_probability ()
 
double FLAME_get_environment_variable_production_markup ()
 
double FLAME_get_environment_variable_price_markup ()
 
double FLAME_get_environment_variable_firm_memory_persistance ()
 
double FLAME_get_environment_variable_ratio_fiscal_policy ()
 
double FLAME_get_environment_variable_ratio_capitalist_households ()
 
double FLAME_get_environment_variable_inflation_target ()
 
double FLAME_get_environment_variable_firms_minimum_equity_ratio ()
 
double FLAME_get_environment_variable_firm_startup_leverage ()
 
double FLAME_get_environment_variable_household_startup_leverage ()
 
double FLAME_get_environment_variable_car_buffer_threshold ()
 
double FLAME_get_environment_variable_housing_market_entrance_prob ()
 
double FLAME_get_environment_variable_fire_sale_threshold ()
 
double FLAME_get_environment_variable_household_budget_constraint ()
 
double FLAME_get_environment_variable_capital_adequecy_ratio ()
 
double FLAME_get_environment_variable_housing_price_up_rate ()
 
double FLAME_get_environment_variable_housing_price_down_rate ()
 
double FLAME_get_environment_variable_household_mortgage_writeoff_high ()
 
double FLAME_get_environment_variable_household_mortgage_writeoff_low ()
 

Detailed Description

Holds memory functions.

Definition in file memory.c.

Function Documentation

void add_bank_agent ( int  id,
int  day_of_month_to_act,
int  day_of_week_to_act,
int  it_no,
double  total_assets,
double  loans,
double  loans_start,
double  mortgages,
double  deposits,
double  centralbank_debt,
double  equity,
double  liquidity,
double  revenues,
double  total_writeoffs,
double  interest_rate,
double  interests_accrued,
double  interests_paid,
double  dividends_paid,
double  total_dividends,
double  retained_earnings,
double  net_earnings,
double  total_costs 
)

Add bank X-machine to the current being used X-machine list.

Parameters
idVariable for the X-machine memory.
day_of_month_to_actVariable for the X-machine memory.
day_of_week_to_actVariable for the X-machine memory.
it_noVariable for the X-machine memory.
total_assetsVariable for the X-machine memory.
loansVariable for the X-machine memory.
loans_startVariable for the X-machine memory.
mortgagesVariable for the X-machine memory.
depositsVariable for the X-machine memory.
centralbank_debtVariable for the X-machine memory.
equityVariable for the X-machine memory.
liquidityVariable for the X-machine memory.
revenuesVariable for the X-machine memory.
total_writeoffsVariable for the X-machine memory.
interest_rateVariable for the X-machine memory.
interests_accruedVariable for the X-machine memory.
interests_paidVariable for the X-machine memory.
dividends_paidVariable for the X-machine memory.
total_dividendsVariable for the X-machine memory.
retained_earningsVariable for the X-machine memory.
net_earningsVariable for the X-machine memory.
total_costsVariable for the X-machine memory.

Definition at line 9893 of file memory.c.

Here is the call graph for this function:

void add_bank_agent_internal ( xmachine_memory_bank agent,
xmachine_memory_bank_state state 
)

Definition at line 9853 of file memory.c.

Here is the caller graph for this function:

void add_buyer ( buyer_array array,
int  id,
double  budget 
)

Add an buyer to the dynamic buyer array.

Parameters
arrayPointer to the dynamic buyer array.
new_intThe buyer to add

Definition at line 16565 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_centralbank_agent ( int  id,
int  day_of_month_to_act,
double  unemployment_rate,
double  inflation_rate,
double  consumption_goods_prices[],
int  it_no,
int  day_of_week_to_act,
transaction  goods,
double  weekly_price_averages[],
int  day_of_month_wages_paid,
double  interest_rate,
double  liquidity,
double  loans_banks,
double  loans_government,
double  fiat_money,
double  equity,
double  liquidity_banks,
double  liquidity_government,
double  liquidity_equityfund,
double  total_assets,
double  total_writeoffs,
double  interests_accrued,
double  revenues,
double  net_earnings,
double  total_costs,
transaction  houses 
)

Definition at line 10501 of file memory.c.

Here is the call graph for this function:

void add_centralbank_agent_internal ( xmachine_memory_centralbank agent,
xmachine_memory_centralbank_state state 
)

Definition at line 10457 of file memory.c.

Here is the caller graph for this function:

void add_char ( char_array array,
char  new_char 
)

Add an char to the dynamic char array.

Parameters
arrayPointer to the dynamic char array.
new_charThe char to add

Definition at line 16367 of file memory.c.

Here is the caller graph for this function:

void add_double ( double_array array,
double  new_double 
)

Add an double to the dynamic double array.

Parameters
arrayPointer to the dynamic double array.
new_doubleThe double to add

Definition at line 16277 of file memory.c.

Here is the caller graph for this function:

void add_employee ( employee_array array,
int  id,
double  wage 
)

Add an employee to the dynamic employee array.

Parameters
arrayPointer to the dynamic employee array.
new_intThe employee to add

Definition at line 16840 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_equityfund_agent ( int  id,
int  it_no,
int  day_of_month_to_act,
int  day_of_month_wages_paid,
double  share_firms,
double  share_construction_firms,
double  share_banks,
double  equity,
double  liquidity,
int  n_shares,
double  dividends_recieved,
double  dividends_retained,
double  dividends_paid,
double  firm_investment,
double  capital_tax_rate 
)

Add equityfund X-machine to the current being used X-machine list.

Parameters
idVariable for the X-machine memory.
it_noVariable for the X-machine memory.
day_of_month_to_actVariable for the X-machine memory.
day_of_month_wages_paidVariable for the X-machine memory.
share_firmsVariable for the X-machine memory.
share_construction_firmsVariable for the X-machine memory.
share_banksVariable for the X-machine memory.
equityVariable for the X-machine memory.
liquidityVariable for the X-machine memory.
n_sharesVariable for the X-machine memory.
dividends_recievedVariable for the X-machine memory.
dividends_retainedVariable for the X-machine memory.
dividends_paidVariable for the X-machine memory.
firm_investmentVariable for the X-machine memory.
capital_tax_rateVariable for the X-machine memory.

Definition at line 9521 of file memory.c.

Here is the call graph for this function:

void add_equityfund_agent_internal ( xmachine_memory_equityfund agent,
xmachine_memory_equityfund_state state 
)

Definition at line 9488 of file memory.c.

Here is the caller graph for this function:

void add_firm_agent ( int  id,
int  bank_id,
int  isconstructor,
int  day_of_month_to_act,
int  isinsolvent,
int  it_no,
int  day_of_week_to_act,
double  average_goods_price,
int_array employees,
int  manager,
double  wage_offer,
double  average_wage,
int  no_employees,
int  vacancies,
int  employees_needed,
int  day_of_month_wages_paid,
double  labour_productivity,
double  capital_productivity,
int  capital_goods,
double  capital_goods_price,
int  production_current,
int  expected_sales,
int  production_plan,
double  unit_goods_price,
double  unit_cost,
int  day_of_month_production_completed,
double  unit_house_price,
int  projects[],
double  loans_interest_rate,
double  debt,
int  inventory,
int  sales,
double  revenues,
double  total_assets,
double  operating_costs,
double  labour_costs,
double  total_interest_payments,
double  dividends_paid,
double  dividends_to_be_paid,
double  retained_earnings,
double  net_earnings,
double  ebit,
double  equity,
double  liquidity,
int  isliquidshort,
int  hasloan,
int  hasinvestment,
int  isilliquid,
double  planned_investment_costs,
double  liquidity_need,
loan  loan_list[],
double  labour_tax_rate,
double  delta_housing_price 
)

Definition at line 8695 of file memory.c.

Here is the call graph for this function:

void add_firm_agent_internal ( xmachine_memory_firm agent,
xmachine_memory_firm_state state 
)

Definition at line 8624 of file memory.c.

Here is the caller graph for this function:

FLAME_output* add_FLAME_output ( FLAME_output **  outputs)

Definition at line 7441 of file memory.c.

Here is the caller graph for this function:

void add_float ( float_array array,
float  new_float 
)

Add an floateger to the dynamic float array.

Parameters
arrayPointer to the dynamic float array.
new_floatThe float to add

Definition at line 16122 of file memory.c.

Here is the caller graph for this function:

void add_government_agent ( int  id,
int  it_no,
double  average_wage,
double  unemployment_rate,
int  population_size,
double  debt,
double  equity,
double  liquidity,
int  day_of_month_to_act,
int  day_of_month_wages_paid,
double  capital_tax_rate,
double  labour_tax_rate,
double  labour_tax_income,
double  capital_tax_income,
double  gov_general_benefit_rate,
double  gov_unemployment_rate,
double  general_benefits,
double  unemployment_benefits,
double  earnings,
double  centralbank_income,
double  expenditures 
)

Add government X-machine to the current being used X-machine list.

Parameters
idVariable for the X-machine memory.
it_noVariable for the X-machine memory.
average_wageVariable for the X-machine memory.
unemployment_rateVariable for the X-machine memory.
population_sizeVariable for the X-machine memory.
debtVariable for the X-machine memory.
equityVariable for the X-machine memory.
liquidityVariable for the X-machine memory.
day_of_month_to_actVariable for the X-machine memory.
day_of_month_wages_paidVariable for the X-machine memory.
capital_tax_rateVariable for the X-machine memory.
labour_tax_rateVariable for the X-machine memory.
labour_tax_incomeVariable for the X-machine memory.
capital_tax_incomeVariable for the X-machine memory.
gov_general_benefit_rateVariable for the X-machine memory.
gov_unemployment_rateVariable for the X-machine memory.
general_benefitsVariable for the X-machine memory.
unemployment_benefitsVariable for the X-machine memory.
earningsVariable for the X-machine memory.
centralbank_incomeVariable for the X-machine memory.
expendituresVariable for the X-machine memory.

Definition at line 10179 of file memory.c.

Here is the call graph for this function:

void add_government_agent_internal ( xmachine_memory_government agent,
xmachine_memory_government_state state 
)

Definition at line 10140 of file memory.c.

Here is the caller graph for this function:

void add_hbank ( hbank_array array,
int  id,
double  equity,
double  risky_assets,
double  amount_mortgaged 
)

Add an hbank to the dynamic hbank array.

Parameters
arrayPointer to the dynamic hbank array.
new_intThe hbank to add

Definition at line 17307 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_hbuyer ( hbuyer_array array,
int  buyer_id,
int  bank_id,
double  liquidity,
double  quarterly_income,
double  quarterly_mortgage_paid,
int  choice 
)

Add an hbuyer to the dynamic hbuyer array.

Parameters
arrayPointer to the dynamic hbuyer array.
new_intThe hbuyer to add

Definition at line 17119 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_household_agent ( int  id,
int  bank_id,
int  it_no,
int  day_of_week_to_act,
double  weekly_consumption_budget,
double  mall_budget,
double  quarterly_price_change,
int  my_employer_id,
double  wage,
int  ismanager,
double  government_benefits,
int  day_of_month_to_act,
int  day_of_month_wage_recieved,
double  mortgages_interest_rate,
double  labour_tax_rate,
mortgage_array mortgages_list,
double  mortgages,
double  housing_payment,
double  equity,
double  housing_price,
int  housing_units,
int  n_shares,
double  liquidity,
double  capital_income,
double  previous_wages[],
double  previous_benefits[],
double  labour_income,
double  total_assets,
double  housing_value,
double  expected_housing_payment,
int  hmarket_role,
double  equity_ratio,
double  minimum_equity_ratio,
double  mortgage_costs[],
double  delta_housing_value,
int  mortgage_choice 
)

Add household X-machine to the current being used X-machine list.

Parameters
idVariable for the X-machine memory.
bank_idVariable for the X-machine memory.
it_noVariable for the X-machine memory.
day_of_week_to_actVariable for the X-machine memory.
weekly_consumption_budgetVariable for the X-machine memory.
mall_budgetVariable for the X-machine memory.
quarterly_price_changeVariable for the X-machine memory.
my_employer_idVariable for the X-machine memory.
wageVariable for the X-machine memory.
ismanagerVariable for the X-machine memory.
government_benefitsVariable for the X-machine memory.
day_of_month_to_actVariable for the X-machine memory.
day_of_month_wage_recievedVariable for the X-machine memory.
mortgages_interest_rateVariable for the X-machine memory.
labour_tax_rateVariable for the X-machine memory.
mortgages_listVariable for the X-machine memory.
mortgagesVariable for the X-machine memory.
housing_paymentVariable for the X-machine memory.
equityVariable for the X-machine memory.
housing_priceVariable for the X-machine memory.
housing_unitsVariable for the X-machine memory.
n_sharesVariable for the X-machine memory.
liquidityVariable for the X-machine memory.
capital_incomeVariable for the X-machine memory.
previous_wagesVariable for the X-machine memory.
previous_benefitsVariable for the X-machine memory.
labour_incomeVariable for the X-machine memory.
total_assetsVariable for the X-machine memory.
housing_valueVariable for the X-machine memory.
expected_housing_paymentVariable for the X-machine memory.
hmarket_roleVariable for the X-machine memory.
equity_ratioVariable for the X-machine memory.
minimum_equity_ratioVariable for the X-machine memory.
mortgage_costsVariable for the X-machine memory.
delta_housing_valueVariable for the X-machine memory.
mortgage_choiceVariable for the X-machine memory.

Definition at line 9248 of file memory.c.

Here is the call graph for this function:

void add_household_agent_internal ( xmachine_memory_household agent,
xmachine_memory_household_state state 
)

Definition at line 9194 of file memory.c.

Here is the caller graph for this function:

void add_hseller ( hseller_array array,
int  seller_id,
double  price,
int  quantity,
int  type 
)

Add an hseller to the dynamic hseller array.

Parameters
arrayPointer to the dynamic hseller array.
new_intThe hseller to add

Definition at line 17214 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_int ( int_array array,
int  new_int 
)

Add an integer to the dynamic integer array.

Parameters
arrayPointer to the dynamic integer array.
new_intThe integer to add

Definition at line 15968 of file memory.c.

Here is the caller graph for this function:

void add_jpoffice_agent ( int  id,
int  it_no,
int  day_of_month_to_act 
)

Add jpoffice X-machine to the current being used X-machine list.

Parameters
idVariable for the X-machine memory.
it_noVariable for the X-machine memory.
day_of_month_to_actVariable for the X-machine memory.

Definition at line 10683 of file memory.c.

Here is the call graph for this function:

void add_jpoffice_agent_internal ( xmachine_memory_jpoffice agent,
xmachine_memory_jpoffice_state state 
)

Definition at line 10662 of file memory.c.

Here is the caller graph for this function:

void add_loan ( loan_array array,
int  bank_id,
double  amount,
double  to_be_paid 
)

Add an loan to the dynamic loan array.

Parameters
arrayPointer to the dynamic loan array.
new_intThe loan to add

Definition at line 17027 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_location ( double  point,
location **  p_location 
)

Adds a location in order into the location list.

Parameters
pointPosition of an agent.
p_locationPointer Pointer to the location list.

Definition at line 7481 of file memory.c.

void add_mall_agent ( int  id,
int  it_no,
int  day_of_week_to_act,
transaction  goods_transactions 
)

Definition at line 10829 of file memory.c.

Here is the call graph for this function:

void add_mall_agent_internal ( xmachine_memory_mall agent,
xmachine_memory_mall_state state 
)

Definition at line 10807 of file memory.c.

Here is the caller graph for this function:

void add_mortgage ( mortgage_array array,
int  bank_id,
double  principal,
int  quarters_left,
double  quarterly_interest,
double  quarterly_principal,
double  interestrate,
int  mtype 
)

Add an mortgage to the dynamic mortgage array.

Parameters
arrayPointer to the dynamic mortgage array.
new_intThe mortgage to add

Definition at line 16931 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_node ( int  node_id,
double  minx,
double  maxx,
double  miny,
double  maxy,
double  minz,
double  maxz 
)

Add a node to the node list.

Parameters
node_idThe node ID.
minxThe minumum value on the x-axis of the bounding volume.
maxxThe maximum value on the x-axis of the bounding volume.
minyThe minumum value on the y-axis of the bounding volume.
maxyThe maximum value on the y-axis of the bounding volume.
minzThe minumum value on the z-axis of the bounding volume.
maxzThe maximum value on the z-axis of the bounding volume.

Definition at line 13797 of file memory.c.

Here is the caller graph for this function:

void add_reagency_agent ( int  id,
int  day_of_month_to_act,
int  it_no,
double  mortgages_interest_rate,
transaction  housing_transactions 
)

Definition at line 10988 of file memory.c.

Here is the call graph for this function:

void add_reagency_agent_internal ( xmachine_memory_reagency agent,
xmachine_memory_reagency_state state 
)

Definition at line 10965 of file memory.c.

Here is the caller graph for this function:

void add_seller ( seller_array array,
int  id,
double  price,
int  inventory,
double  inv_price 
)

Add an seller to the dynamic seller array.

Parameters
arrayPointer to the dynamic seller array.
new_intThe seller to add

Definition at line 16656 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_transaction ( transaction_array array,
int  quantity,
double  avg_price 
)

Add an transaction to the dynamic transaction array.

Parameters
arrayPointer to the dynamic transaction array.
new_intThe transaction to add

Definition at line 16474 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void add_vacancy ( vacancy_array array,
int  id,
double  wage 
)

Add an vacancy to the dynamic vacancy array.

Parameters
arrayPointer to the dynamic vacancy array.
new_intThe vacancy to add

Definition at line 16749 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int agent_get_id ( void  )

Fixed routine to get the id for the current X-machine.

Returns
Value of agent id

Definition at line 13722 of file memory.c.

double agent_get_range ( )

Fixed routine to get the range from current X-machine.

Returns
Value of range

Definition at line 13702 of file memory.c.

double agent_get_x ( void  )

Fixed routine to get the x coordinate from current X-machine.

Returns
Value of x coordinate

Definition at line 13742 of file memory.c.

double agent_get_y ( void  )

Fixed routine to get the y coordinate from current X-machine.

Returns
Value of y coordinate

Definition at line 13761 of file memory.c.

double agent_get_z ( void  )

Fixed routine to get the z coordinate from current X-machine.

Returns
Value of z coordinate

Definition at line 13780 of file memory.c.

void clean_up ( int  code)

Add a node to the node list.

Parameters
codeThe error code (zero is no error).

Definition at line 13927 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

char* copy_array_to_str ( char_array array)

Return pointer to string from a char_array.

Parameters
arrayPointer to the dynamic integer array.
Returns
char Pointer to the new string.

Definition at line 16403 of file memory.c.

void copy_buyer ( buyer from,
buyer to 
)

Definition at line 7633 of file memory.c.

Here is the caller graph for this function:

void copy_buyer_array ( buyer_array from,
buyer_array to 
)

Definition at line 16548 of file memory.c.

Here is the call graph for this function:

void copy_buyer_static_array ( buyer from,
buyer to,
int  size 
)

Definition at line 7639 of file memory.c.

Here is the call graph for this function:

void copy_char_array ( char_array from,
char_array to 
)

Definition at line 16352 of file memory.c.

Here is the call graph for this function:

void copy_double_array ( double_array from,
double_array to 
)

Definition at line 16197 of file memory.c.

Here is the call graph for this function:

void copy_employee ( employee from,
employee to 
)

Definition at line 7766 of file memory.c.

Here is the caller graph for this function:

void copy_employee_array ( employee_array from,
employee_array to 
)

Definition at line 16823 of file memory.c.

Here is the call graph for this function:

void copy_employee_static_array ( employee from,
employee to,
int  size 
)

Definition at line 7772 of file memory.c.

Here is the call graph for this function:

void copy_float_array ( float_array from,
float_array to 
)

Definition at line 16043 of file memory.c.

Here is the call graph for this function:

void copy_hbank ( hbank from,
hbank to 
)

Definition at line 8007 of file memory.c.

Here is the caller graph for this function:

void copy_hbank_array ( hbank_array from,
hbank_array to 
)

Definition at line 17290 of file memory.c.

Here is the call graph for this function:

void copy_hbank_static_array ( hbank from,
hbank to,
int  size 
)

Definition at line 8015 of file memory.c.

Here is the call graph for this function:

void copy_hbuyer ( hbuyer from,
hbuyer to 
)

Definition at line 7911 of file memory.c.

Here is the caller graph for this function:

void copy_hbuyer_array ( hbuyer_array from,
hbuyer_array to 
)

Definition at line 17102 of file memory.c.

Here is the call graph for this function:

void copy_hbuyer_static_array ( hbuyer from,
hbuyer to,
int  size 
)

Definition at line 7921 of file memory.c.

Here is the call graph for this function:

void copy_hseller ( hseller from,
hseller to 
)

Definition at line 7960 of file memory.c.

Here is the caller graph for this function:

void copy_hseller_array ( hseller_array from,
hseller_array to 
)

Definition at line 17197 of file memory.c.

Here is the call graph for this function:

void copy_hseller_static_array ( hseller from,
hseller to,
int  size 
)

Definition at line 7968 of file memory.c.

Here is the call graph for this function:

void copy_int_array ( int_array from,
int_array to 
)

Definition at line 15893 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_loan ( loan from,
loan to 
)

Definition at line 7863 of file memory.c.

Here is the caller graph for this function:

void copy_loan_array ( loan_array from,
loan_array to 
)

Definition at line 17010 of file memory.c.

Here is the call graph for this function:

void copy_loan_static_array ( loan from,
loan to,
int  size 
)

Definition at line 7870 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_mortgage ( mortgage from,
mortgage to 
)

Definition at line 7814 of file memory.c.

Here is the caller graph for this function:

void copy_mortgage_array ( mortgage_array from,
mortgage_array to 
)

Definition at line 16914 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_mortgage_static_array ( mortgage from,
mortgage to,
int  size 
)

Definition at line 7825 of file memory.c.

Here is the call graph for this function:

void copy_seller ( seller from,
seller to 
)

Definition at line 7678 of file memory.c.

Here is the caller graph for this function:

void copy_seller_array ( seller_array from,
seller_array to 
)

Definition at line 16639 of file memory.c.

Here is the call graph for this function:

void copy_seller_static_array ( seller from,
seller to,
int  size 
)

Definition at line 7686 of file memory.c.

Here is the call graph for this function:

void copy_transaction ( transaction from,
transaction to 
)

Definition at line 7590 of file memory.c.

Here is the caller graph for this function:

void copy_transaction_array ( transaction_array from,
transaction_array to 
)

Definition at line 16457 of file memory.c.

Here is the call graph for this function:

void copy_transaction_static_array ( transaction from,
transaction to,
int  size 
)

Definition at line 7596 of file memory.c.

Here is the call graph for this function:

void copy_vacancy ( vacancy from,
vacancy to 
)

Definition at line 7723 of file memory.c.

Here is the caller graph for this function:

void copy_vacancy_array ( vacancy_array from,
vacancy_array to 
)

Definition at line 16732 of file memory.c.

Here is the call graph for this function:

void copy_vacancy_static_array ( vacancy from,
vacancy to,
int  size 
)

Definition at line 7729 of file memory.c.

Here is the call graph for this function:

double FLAME_get_environment_variable_capital_adequecy_ratio ( )

Definition at line 17446 of file memory.c.

double FLAME_get_environment_variable_car_buffer_threshold ( )

Definition at line 17430 of file memory.c.

int FLAME_get_environment_variable_collect_firm_data ( )

Definition at line 17374 of file memory.c.

int FLAME_get_environment_variable_collect_household_data ( )

Definition at line 17370 of file memory.c.

double FLAME_get_environment_variable_consumption_adjustment_speed ( )

Definition at line 17382 of file memory.c.

int FLAME_get_environment_variable_data_collection_mode ( )

Definition at line 17366 of file memory.c.

double FLAME_get_environment_variable_fire_sale_threshold ( )

Definition at line 17438 of file memory.c.

double FLAME_get_environment_variable_firm_memory_persistance ( )

Definition at line 17402 of file memory.c.

double FLAME_get_environment_variable_firm_startup_leverage ( )

Definition at line 17422 of file memory.c.

double FLAME_get_environment_variable_firms_minimum_equity_ratio ( )

Definition at line 17418 of file memory.c.

double FLAME_get_environment_variable_household_budget_constraint ( )

Definition at line 17442 of file memory.c.

double FLAME_get_environment_variable_household_mortgage_writeoff_high ( )

Definition at line 17458 of file memory.c.

double FLAME_get_environment_variable_household_mortgage_writeoff_low ( )

Definition at line 17462 of file memory.c.

double FLAME_get_environment_variable_household_startup_leverage ( )

Definition at line 17426 of file memory.c.

double FLAME_get_environment_variable_housing_market_entrance_prob ( )

Definition at line 17434 of file memory.c.

double FLAME_get_environment_variable_housing_price_down_rate ( )

Definition at line 17454 of file memory.c.

double FLAME_get_environment_variable_housing_price_up_rate ( )

Definition at line 17450 of file memory.c.

double FLAME_get_environment_variable_inflation_target ( )

Definition at line 17414 of file memory.c.

double FLAME_get_environment_variable_price_markup ( )

Definition at line 17398 of file memory.c.

int FLAME_get_environment_variable_print_debug_mode ( )

Definition at line 17358 of file memory.c.

double FLAME_get_environment_variable_production_markup ( )

Definition at line 17394 of file memory.c.

double FLAME_get_environment_variable_ratio_capitalist_households ( )

Definition at line 17410 of file memory.c.

double FLAME_get_environment_variable_ratio_fiscal_policy ( )

Definition at line 17406 of file memory.c.

double FLAME_get_environment_variable_ratio_liquidity ( )

Definition at line 17378 of file memory.c.

int FLAME_get_environment_variable_resume_mode ( )

Definition at line 17354 of file memory.c.

double FLAME_get_environment_variable_turnover_probability ( )

Definition at line 17390 of file memory.c.

int FLAME_get_environment_variable_warning_mode ( )

Definition at line 17362 of file memory.c.

double FLAME_get_environment_variable_wealth_effect ( )

Definition at line 17386 of file memory.c.

void free_bank_agent ( xmachine_memory_bank_holder tmp,
xmachine_memory_bank_state state 
)

Definition at line 9589 of file memory.c.

Here is the caller graph for this function:

void free_bank_agents ( )

Definition at line 9637 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_bank_states ( )

Definition at line 9817 of file memory.c.

Here is the caller graph for this function:

void free_buyer ( buyer temp)

Definition at line 7621 of file memory.c.

Here is the caller graph for this function:

void free_buyer_array ( buyer_array array)

Free the memory of a dynamic buyer array.

Parameters
arrayPointer to the dynamic buyer array.

Definition at line 16536 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_buyer_static_array ( buyer array,
int  size 
)

Definition at line 7626 of file memory.c.

Here is the call graph for this function:

void free_centralbank_agent ( xmachine_memory_centralbank_holder tmp,
xmachine_memory_centralbank_state state 
)

Definition at line 10257 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_centralbank_agents ( )

Definition at line 10313 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_centralbank_states ( )

Definition at line 10429 of file memory.c.

Here is the caller graph for this function:

void free_char_array ( char_array array)

Free the memory of a dynamic char array.

Parameters
arrayPointer to the dynamic char array.

Definition at line 16347 of file memory.c.

void free_double_array ( double_array array)

Free the memory of a dynamic double array.

Parameters
arrayPointer to the dynamic double array.

Definition at line 16192 of file memory.c.

void free_employee ( employee temp)

Definition at line 7754 of file memory.c.

Here is the caller graph for this function:

void free_employee_array ( employee_array array)

Free the memory of a dynamic employee array.

Parameters
arrayPointer to the dynamic employee array.

Definition at line 16811 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_employee_static_array ( employee array,
int  size 
)

Definition at line 7759 of file memory.c.

Here is the call graph for this function:

void free_equityfund_agent ( xmachine_memory_equityfund_holder tmp,
xmachine_memory_equityfund_state state 
)

Definition at line 9330 of file memory.c.

Here is the caller graph for this function:

void free_equityfund_agents ( )

Definition at line 9371 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_equityfund_states ( )

Definition at line 9463 of file memory.c.

Here is the caller graph for this function:

void free_firm_agent ( xmachine_memory_firm_holder tmp,
xmachine_memory_firm_state state 
)

Definition at line 8100 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_firm_agents ( )

Definition at line 8183 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_firm_states ( )

Definition at line 8563 of file memory.c.

Here is the caller graph for this function:

void free_FLAME_outputs ( FLAME_output **  outputs)

Definition at line 7460 of file memory.c.

Here is the caller graph for this function:

void free_float_array ( float_array array)

Free the memory of a dynamic float array.

Parameters
arrayPointer to the dynamic float array.

Definition at line 16038 of file memory.c.

void free_government_agent ( xmachine_memory_government_holder tmp,
xmachine_memory_government_state state 
)

Definition at line 9967 of file memory.c.

Here is the caller graph for this function:

void free_government_agents ( )

Definition at line 10014 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_government_states ( )

Definition at line 10114 of file memory.c.

Here is the caller graph for this function:

void free_hbank ( hbank temp)

Definition at line 7995 of file memory.c.

Here is the caller graph for this function:

void free_hbank_array ( hbank_array array)

Free the memory of a dynamic hbank array.

Parameters
arrayPointer to the dynamic hbank array.

Definition at line 17278 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_hbank_static_array ( hbank array,
int  size 
)

Definition at line 8000 of file memory.c.

Here is the call graph for this function:

void free_hbuyer ( hbuyer temp)

Definition at line 7899 of file memory.c.

Here is the caller graph for this function:

void free_hbuyer_array ( hbuyer_array array)

Free the memory of a dynamic hbuyer array.

Parameters
arrayPointer to the dynamic hbuyer array.

Definition at line 17090 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_hbuyer_static_array ( hbuyer array,
int  size 
)

Definition at line 7904 of file memory.c.

Here is the call graph for this function:

void free_household_agent ( xmachine_memory_household_holder tmp,
xmachine_memory_household_state state 
)

Definition at line 8815 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_household_agents ( )

Definition at line 8879 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_household_states ( )

Definition at line 9147 of file memory.c.

Here is the caller graph for this function:

void free_hseller ( hseller temp)

Definition at line 7948 of file memory.c.

Here is the caller graph for this function:

void free_hseller_array ( hseller_array array)

Free the memory of a dynamic hseller array.

Parameters
arrayPointer to the dynamic hseller array.

Definition at line 17185 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_hseller_static_array ( hseller array,
int  size 
)

Definition at line 7953 of file memory.c.

Here is the call graph for this function:

void free_int_array ( int_array array)

Free the memory of a dynamic integer array.

Parameters
arrayPointer to the dynamic integer array.

Definition at line 15888 of file memory.c.

Here is the caller graph for this function:

void free_jpoffice_agent ( xmachine_memory_jpoffice_holder tmp,
xmachine_memory_jpoffice_state state 
)

Definition at line 10561 of file memory.c.

Here is the caller graph for this function:

void free_jpoffice_agents ( )

Definition at line 10590 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_jpoffice_states ( )

Definition at line 10642 of file memory.c.

Here is the caller graph for this function:

void free_loan ( loan temp)

Definition at line 7851 of file memory.c.

Here is the caller graph for this function:

void free_loan_array ( loan_array array)

Free the memory of a dynamic loan array.

Parameters
arrayPointer to the dynamic loan array.

Definition at line 16998 of file memory.c.

Here is the call graph for this function:

void free_loan_static_array ( loan array,
int  size 
)

Definition at line 7856 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_mall_agent ( xmachine_memory_mall_holder tmp,
xmachine_memory_mall_state state 
)

Definition at line 10721 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_mall_agents ( )

Definition at line 10753 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_mall_states ( )

Definition at line 10789 of file memory.c.

Here is the caller graph for this function:

void free_messages ( )

Definition at line 3373 of file memory.c.

void free_mortgage ( mortgage temp)

Definition at line 7802 of file memory.c.

Here is the caller graph for this function:

void free_mortgage_array ( mortgage_array array)

Free the memory of a dynamic mortgage array.

Parameters
arrayPointer to the dynamic mortgage array.

Definition at line 16902 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_mortgage_static_array ( mortgage array,
int  size 
)

Definition at line 7807 of file memory.c.

Here is the call graph for this function:

void free_node_info ( void  )

Free the node list.

Definition at line 13908 of file memory.c.

Here is the caller graph for this function:

void free_reagency_agent ( xmachine_memory_reagency_holder tmp,
xmachine_memory_reagency_state state 
)

Definition at line 10869 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_reagency_agents ( )

Definition at line 10902 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_reagency_states ( )

Definition at line 10946 of file memory.c.

Here is the caller graph for this function:

void free_seller ( seller temp)

Definition at line 7666 of file memory.c.

Here is the caller graph for this function:

void free_seller_array ( seller_array array)

Free the memory of a dynamic seller array.

Parameters
arrayPointer to the dynamic seller array.

Definition at line 16627 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_seller_static_array ( seller array,
int  size 
)

Definition at line 7671 of file memory.c.

Here is the call graph for this function:

void free_transaction ( transaction temp)

Definition at line 7578 of file memory.c.

Here is the caller graph for this function:

void free_transaction_array ( transaction_array array)

Free the memory of a dynamic transaction array.

Parameters
arrayPointer to the dynamic transaction array.

Definition at line 16445 of file memory.c.

Here is the call graph for this function:

void free_transaction_static_array ( transaction array,
int  size 
)

Definition at line 7583 of file memory.c.

Here is the call graph for this function:

void free_vacancy ( vacancy temp)

Definition at line 7711 of file memory.c.

Here is the caller graph for this function:

void free_vacancy_array ( vacancy_array array)

Free the memory of a dynamic vacancy array.

Parameters
arrayPointer to the dynamic vacancy array.

Definition at line 16720 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_vacancy_static_array ( vacancy array,
int  size 
)

Definition at line 7716 of file memory.c.

Here is the call graph for this function:

void freelocations ( location **  p_location)

Free locations from the location list.

Parameters
p_locationPointer Pointer to the location list.

Definition at line 7519 of file memory.c.

void freexmachines ( void  )

Free the currently being used X-machine list.

Definition at line 11009 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

double get_average_goods_price ( )

Get average_goods_price memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11247 of file memory.c.

double get_average_wage ( )

Get average_wage memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11327 of file memory.c.

int get_bank_id ( )

Get bank_id memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11076 of file memory.c.

int get_capital_goods ( )

Get capital_goods memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11488 of file memory.c.

double get_capital_goods_price ( )

Get capital_goods_price memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11510 of file memory.c.

double get_capital_income ( )

Get capital_income memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12613 of file memory.c.

double get_capital_productivity ( )

Get capital_productivity memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11466 of file memory.c.

double get_capital_tax_income ( )

Get capital_tax_income memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13302 of file memory.c.

double get_capital_tax_rate ( )

Get capital_tax_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12983 of file memory.c.

double get_centralbank_debt ( )

Get centralbank_debt memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13072 of file memory.c.

double get_centralbank_income ( )

Get centralbank_income memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13434 of file memory.c.

double* get_consumption_goods_prices ( )

Get consumption_goods_prices memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13491 of file memory.c.

int get_day_of_month_production_completed ( )

Get day_of_month_production_completed memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11642 of file memory.c.

int get_day_of_month_to_act ( )

Get day_of_month_to_act memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11128 of file memory.c.

int get_day_of_month_wage_recieved ( )

Get day_of_month_wage_recieved memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12440 of file memory.c.

int get_day_of_month_wages_paid ( )

Get day_of_month_wages_paid memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11419 of file memory.c.

int get_day_of_week_to_act ( )

Get day_of_week_to_act memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11221 of file memory.c.

double get_debt ( )

Get debt memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11722 of file memory.c.

double get_delta_housing_price ( )

Get delta_housing_price memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12264 of file memory.c.

double get_delta_housing_value ( )

Get delta_housing_value memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12806 of file memory.c.

double get_deposits ( )

Get deposits memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13050 of file memory.c.

double get_dividends_paid ( )

Get dividends_paid memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11911 of file memory.c.

double get_dividends_recieved ( )

Get dividends_recieved memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12916 of file memory.c.

double get_dividends_retained ( )

Get dividends_retained memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12938 of file memory.c.

double get_dividends_to_be_paid ( )

Get dividends_to_be_paid memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11935 of file memory.c.

double get_earnings ( )

Get earnings memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13412 of file memory.c.

double get_ebit ( )

Get ebit memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12007 of file memory.c.

int_array* get_employees ( )

Get employees memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11260 of file memory.c.

int get_employees_needed ( )

Get employees_needed memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11394 of file memory.c.

double get_equity ( )

Get equity memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12034 of file memory.c.

double get_equity_ratio ( )

Get equity_ratio memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12749 of file memory.c.

double get_expected_housing_payment ( )

Get expected_housing_payment memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12705 of file memory.c.

int get_expected_sales ( )

Get expected_sales memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11554 of file memory.c.

double get_expenditures ( )

Get expenditures memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13456 of file memory.c.

double get_fiat_money ( )

Get fiat_money memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13583 of file memory.c.

double get_firm_investment ( )

Get firm_investment memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12960 of file memory.c.

double get_general_benefits ( )

Get general_benefits memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13368 of file memory.c.

transaction* get_goods ( )

Get goods memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13504 of file memory.c.

transaction* get_goods_transactions ( )

Get goods_transactions memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13675 of file memory.c.

double get_gov_general_benefit_rate ( )

Get gov_general_benefit_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13324 of file memory.c.

double get_gov_unemployment_rate ( )

Get gov_unemployment_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13346 of file memory.c.

double get_government_benefits ( )

Get government_benefits memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12418 of file memory.c.

int get_hasinvestment ( )

Get hasinvestment memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12137 of file memory.c.

int get_hasloan ( )

Get hasloan memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12115 of file memory.c.

int get_hmarket_role ( )

Get hmarket_role memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12727 of file memory.c.

transaction* get_houses ( )

Get houses memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13662 of file memory.c.

double get_housing_payment ( )

Get housing_payment memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12523 of file memory.c.

double get_housing_price ( )

Get housing_price memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12545 of file memory.c.

transaction* get_housing_transactions ( )

Get housing_transactions memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13688 of file memory.c.

int get_housing_units ( )

Get housing_units memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12567 of file memory.c.

double get_housing_value ( )

Get housing_value memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12683 of file memory.c.

int get_id ( )

Get id memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11045 of file memory.c.

double get_inflation_rate ( )

Get inflation_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13478 of file memory.c.

double get_interest_rate ( )

Get interest_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13119 of file memory.c.

double get_interests_accrued ( )

Get interests_accrued memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13143 of file memory.c.

double get_interests_paid ( )

Get interests_paid memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13166 of file memory.c.

int get_inventory ( )

Get inventory memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11745 of file memory.c.

int get_isconstructor ( )

Get isconstructor memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11099 of file memory.c.

int get_isilliquid ( )

Get isilliquid memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12159 of file memory.c.

int get_isinsolvent ( )

Get isinsolvent memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11157 of file memory.c.

int get_isliquidshort ( )

Get isliquidshort memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12093 of file memory.c.

int get_ismanager ( )

Get ismanager memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12396 of file memory.c.

int get_it_no ( )

Get it_no memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11187 of file memory.c.

double get_labour_costs ( )

Get labour_costs memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11865 of file memory.c.

double get_labour_income ( )

Get labour_income memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12661 of file memory.c.

double get_labour_productivity ( )

Get labour_productivity memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11444 of file memory.c.

double get_labour_tax_income ( )

Get labour_tax_income memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13280 of file memory.c.

double get_labour_tax_rate ( )

Get labour_tax_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12240 of file memory.c.

double get_liquidity ( )

Get liquidity memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12066 of file memory.c.

double get_liquidity_banks ( )

Get liquidity_banks memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13605 of file memory.c.

double get_liquidity_equityfund ( )

Get liquidity_equityfund memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13649 of file memory.c.

double get_liquidity_government ( )

Get liquidity_government memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13627 of file memory.c.

double get_liquidity_need ( )

Get liquidity_need memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12203 of file memory.c.

loan* get_loan_list ( )

Get loan_list memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12216 of file memory.c.

double get_loans ( )

Get loans memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13006 of file memory.c.

double get_loans_banks ( )

Get loans_banks memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13539 of file memory.c.

double get_loans_government ( )

Get loans_government memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13561 of file memory.c.

double get_loans_interest_rate ( )

Get loans_interest_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11699 of file memory.c.

double get_loans_start ( )

Get loans_start memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13028 of file memory.c.

double get_mall_budget ( )

Get mall_budget memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12308 of file memory.c.

int get_manager ( )

Get manager memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11282 of file memory.c.

double get_minimum_equity_ratio ( )

Get minimum_equity_ratio memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12771 of file memory.c.

int get_mortgage_choice ( )

Get mortgage_choice memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12828 of file memory.c.

double* get_mortgage_costs ( )

Get mortgage_costs memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12784 of file memory.c.

double get_mortgages ( )

Get mortgages memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12500 of file memory.c.

double get_mortgages_interest_rate ( )

Get mortgages_interest_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12463 of file memory.c.

mortgage_array* get_mortgages_list ( )

Get mortgages_list memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12477 of file memory.c.

int get_my_employer_id ( )

Get my_employer_id memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12352 of file memory.c.

int get_n_shares ( )

Get n_shares memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12590 of file memory.c.

double get_net_earnings ( )

Get net_earnings memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11983 of file memory.c.

int get_no_employees ( )

Get no_employees memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11350 of file memory.c.

double get_operating_costs ( )

Get operating_costs memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11843 of file memory.c.

double get_planned_investment_costs ( )

Get planned_investment_costs memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12181 of file memory.c.

int get_population_size ( )

Get population_size memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13258 of file memory.c.

double* get_previous_benefits ( )

Get previous_benefits memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12639 of file memory.c.

double* get_previous_wages ( )

Get previous_wages memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12626 of file memory.c.

int get_production_current ( )

Get production_current memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11532 of file memory.c.

int get_production_plan ( )

Get production_plan memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11576 of file memory.c.

int* get_projects ( )

Get projects memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11677 of file memory.c.

double get_quarterly_price_change ( )

Get quarterly_price_change memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12330 of file memory.c.

double get_retained_earnings ( )

Get retained_earnings memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11958 of file memory.c.

double get_revenues ( )

Get revenues memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11791 of file memory.c.

int get_sales ( )

Get sales memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11767 of file memory.c.

double get_share_banks ( )

Get share_banks memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12894 of file memory.c.

double get_share_construction_firms ( )

Get share_construction_firms memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12872 of file memory.c.

double get_share_firms ( )

Get share_firms memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12850 of file memory.c.

double get_total_assets ( )

Get total_assets memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11818 of file memory.c.

double get_total_costs ( )

Get total_costs memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13211 of file memory.c.

double get_total_dividends ( )

Get total_dividends memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13188 of file memory.c.

double get_total_interest_payments ( )

Get total_interest_payments memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11887 of file memory.c.

double get_total_writeoffs ( )

Get total_writeoffs memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13095 of file memory.c.

double get_unemployment_benefits ( )

Get unemployment_benefits memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13390 of file memory.c.

double get_unemployment_rate ( )

Get unemployment_rate memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13235 of file memory.c.

double get_unit_cost ( )

Get unit_cost memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11620 of file memory.c.

double get_unit_goods_price ( )

Get unit_goods_price memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11598 of file memory.c.

double get_unit_house_price ( )

Get unit_house_price memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11664 of file memory.c.

int get_vacancies ( )

Get vacancies memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11372 of file memory.c.

double get_wage ( )

Get wage memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12374 of file memory.c.

double get_wage_offer ( )

Get wage_offer memory variable from current X-machine.

Returns
Value for variable.

Definition at line 11304 of file memory.c.

double get_weekly_consumption_budget ( )

Get weekly_consumption_budget memory variable from current X-machine.

Returns
Value for variable.

Definition at line 12286 of file memory.c.

double* get_weekly_price_averages ( )

Get weekly_price_averages memory variable from current X-machine.

Returns
Value for variable.

Definition at line 13517 of file memory.c.

int idle ( void  )

an idle function for use by agents.

Definition at line 17349 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_bank* init_bank_agent ( )

Definition at line 9558 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_bank_state* init_bank_state ( )

Definition at line 9547 of file memory.c.

Here is the caller graph for this function:

void init_buyer ( buyer temp)

Definition at line 7607 of file memory.c.

Here is the caller graph for this function:

void init_buyer_array ( buyer_array array)

Definition at line 16515 of file memory.c.

Here is the caller graph for this function:

void init_buyer_static_array ( buyer array,
int  size 
)

Definition at line 7614 of file memory.c.

Here is the call graph for this function:

xmachine_memory_centralbank* init_centralbank_agent ( )

Definition at line 10222 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

xmachine_memory_centralbank_state* init_centralbank_state ( )

Definition at line 10211 of file memory.c.

Here is the caller graph for this function:

void init_char_array ( char_array array)

Definition at line 16325 of file memory.c.

void init_char_static_array ( char *  array,
int  size 
)

Definition at line 7555 of file memory.c.

void init_double_array ( double_array array)

Definition at line 16171 of file memory.c.

void init_double_static_array ( double *  array,
int  size 
)

Definition at line 7548 of file memory.c.

Here is the caller graph for this function:

void init_employee ( employee temp)

Definition at line 7740 of file memory.c.

Here is the caller graph for this function:

void init_employee_array ( employee_array array)

Definition at line 16790 of file memory.c.

Here is the caller graph for this function:

void init_employee_static_array ( employee array,
int  size 
)

Definition at line 7747 of file memory.c.

Here is the call graph for this function:

xmachine_memory_equityfund* init_equityfund_agent ( )

Definition at line 9306 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_equityfund_state* init_equityfund_state ( )

Definition at line 9295 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_firm* init_firm_agent ( )

Definition at line 8038 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

xmachine_memory_firm_state* init_firm_state ( )

Definition at line 8027 of file memory.c.

Here is the caller graph for this function:

void init_float_array ( float_array array)

Definition at line 16017 of file memory.c.

void init_float_static_array ( float *  array,
int  size 
)

Definition at line 7541 of file memory.c.

xmachine_memory_government* init_government_agent ( )

Definition at line 9937 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_government_state* init_government_state ( )

Definition at line 9926 of file memory.c.

Here is the caller graph for this function:

void init_hbank ( hbank temp)

Definition at line 7979 of file memory.c.

Here is the caller graph for this function:

void init_hbank_array ( hbank_array array)

Definition at line 17257 of file memory.c.

Here is the caller graph for this function:

void init_hbank_static_array ( hbank array,
int  size 
)

Definition at line 7988 of file memory.c.

Here is the call graph for this function:

void init_hbuyer ( hbuyer temp)

Definition at line 7881 of file memory.c.

Here is the caller graph for this function:

void init_hbuyer_array ( hbuyer_array array)

Definition at line 17069 of file memory.c.

Here is the caller graph for this function:

void init_hbuyer_static_array ( hbuyer array,
int  size 
)

Definition at line 7892 of file memory.c.

Here is the call graph for this function:

xmachine_memory_household* init_household_agent ( )

Definition at line 8770 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

xmachine_memory_household_state* init_household_state ( )

Definition at line 8759 of file memory.c.

Here is the caller graph for this function:

void init_hseller ( hseller temp)

Definition at line 7932 of file memory.c.

Here is the caller graph for this function:

void init_hseller_array ( hseller_array array)

Definition at line 17164 of file memory.c.

Here is the caller graph for this function:

void init_hseller_static_array ( hseller array,
int  size 
)

Definition at line 7941 of file memory.c.

Here is the call graph for this function:

void init_int_array ( int_array array)

Definition at line 15867 of file memory.c.

Here is the caller graph for this function:

void init_int_static_array ( int *  array,
int  size 
)

Definition at line 7534 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_jpoffice* init_jpoffice_agent ( )

Definition at line 10549 of file memory.c.

Here is the caller graph for this function:

xmachine_memory_jpoffice_state* init_jpoffice_state ( )

Definition at line 10538 of file memory.c.

Here is the caller graph for this function:

void init_loan ( loan temp)

Definition at line 7836 of file memory.c.

Here is the caller graph for this function:

void init_loan_array ( loan_array array)

Definition at line 16977 of file memory.c.

void init_loan_static_array ( loan array,
int  size 
)

Definition at line 7844 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

xmachine_memory_mall* init_mall_agent ( )

Definition at line 10708 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

xmachine_memory_mall_state* init_mall_state ( )

Definition at line 10697 of file memory.c.

Here is the caller graph for this function:

void init_mortgage ( mortgage temp)

Definition at line 7783 of file memory.c.

Here is the caller graph for this function:

void init_mortgage_array ( mortgage_array array)

Definition at line 16881 of file memory.c.

Here is the caller graph for this function:

void init_mortgage_static_array ( mortgage array,
int  size 
)

Definition at line 7795 of file memory.c.

Here is the call graph for this function:

xmachine_memory_reagency* init_reagency_agent ( )

Definition at line 10855 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

xmachine_memory_reagency_state* init_reagency_state ( )

Definition at line 10844 of file memory.c.

Here is the caller graph for this function:

void init_seller ( seller temp)

Definition at line 7650 of file memory.c.

Here is the caller graph for this function:

void init_seller_array ( seller_array array)

Definition at line 16606 of file memory.c.

Here is the caller graph for this function:

void init_seller_static_array ( seller array,
int  size 
)

Definition at line 7659 of file memory.c.

Here is the call graph for this function:

void init_transaction ( transaction temp)

Definition at line 7564 of file memory.c.

Here is the caller graph for this function:

void init_transaction_array ( transaction_array array)

Definition at line 16424 of file memory.c.

void init_transaction_static_array ( transaction array,
int  size 
)

Definition at line 7571 of file memory.c.

Here is the call graph for this function:

void init_vacancy ( vacancy temp)

Definition at line 7697 of file memory.c.

Here is the caller graph for this function:

void init_vacancy_array ( vacancy_array array)

Definition at line 16699 of file memory.c.

Here is the caller graph for this function:

void init_vacancy_static_array ( vacancy array,
int  size 
)

Definition at line 7704 of file memory.c.

Here is the call graph for this function:

void initialise_pointers ( void  )

Initialises pointers to xmachine, message, and node lists.

Definition at line 5132 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void initialise_unit_testing ( void  )

Initialises framework for unit testing.

Definition at line 7411 of file memory.c.

Here is the call graph for this function:

void print_char_array ( char_array array)

Print the elements of a dynamic char array.

Parameters
arrayPointer to the dynamic char array.

Definition at line 16414 of file memory.c.

void print_double_array ( double_array array)

Print the elements of a dynamic double array.

Parameters
arrayPointer to the dynamic double array.

Definition at line 16311 of file memory.c.

void print_float_array ( float_array array)

Print the elements of a dynamic float array.

Parameters
arrayPointer to the dynamic float array.

Definition at line 16157 of file memory.c.

void print_int_array ( int_array array)

Print the elements of a dynamic integer array.

Parameters
arrayPointer to the dynamic integer array.

Definition at line 16003 of file memory.c.

void propagate_agents ( void  )

Check agent positions to see if any need to be moved to a another node.

Definition at line 15760 of file memory.c.

void remove_buyer ( buyer_array array,
int  index 
)

Remove an buyer from a dynamic buyer array.

Parameters
arrayPointer to the dynamic buyer array.
indexThe index of the buyer to remove.

Definition at line 16584 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void remove_char ( char_array array,
int  index 
)

Remove an char from a dynamic char array.

Parameters
arrayPointer to the dynamic char array.
indexThe index of the char to remove.

Definition at line 16384 of file memory.c.

void remove_double ( double_array array,
int  index 
)

Remove an double from a dynamic double array.

Parameters
arrayPointer to the dynamic double array.
indexThe index of the double to remove.

Definition at line 16293 of file memory.c.

void remove_employee ( employee_array array,
int  index 
)

Remove an employee from a dynamic employee array.

Parameters
arrayPointer to the dynamic employee array.
indexThe index of the employee to remove.

Definition at line 16859 of file memory.c.

Here is the call graph for this function:

void remove_float ( float_array array,
int  index 
)

Remove an floateger from a dynamic float array.

Parameters
arrayPointer to the dynamic float array.
indexThe index of the float to remove.

Definition at line 16138 of file memory.c.

void remove_hbank ( hbank_array array,
int  index 
)

Remove an hbank from a dynamic hbank array.

Parameters
arrayPointer to the dynamic hbank array.
indexThe index of the hbank to remove.

Definition at line 17328 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void remove_hbuyer ( hbuyer_array array,
int  index 
)

Remove an hbuyer from a dynamic hbuyer array.

Parameters
arrayPointer to the dynamic hbuyer array.
indexThe index of the hbuyer to remove.

Definition at line 17142 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void remove_hseller ( hseller_array array,
int  index 
)

Remove an hseller from a dynamic hseller array.

Parameters
arrayPointer to the dynamic hseller array.
indexThe index of the hseller to remove.

Definition at line 17235 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void remove_int ( int_array array,
int  index 
)

Remove an integer from a dynamic integer array.

Parameters
arrayPointer to the dynamic integer array.
indexThe index of the integer to remove.

Definition at line 15984 of file memory.c.

Here is the caller graph for this function:

void remove_loan ( loan_array array,
int  index 
)

Remove an loan from a dynamic loan array.

Parameters
arrayPointer to the dynamic loan array.
indexThe index of the loan to remove.

Definition at line 17047 of file memory.c.

Here is the call graph for this function:

void remove_mortgage ( mortgage_array array,
int  index 
)

Remove an mortgage from a dynamic mortgage array.

Parameters
arrayPointer to the dynamic mortgage array.
indexThe index of the mortgage to remove.

Definition at line 16955 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void remove_seller ( seller_array array,
int  index 
)

Remove an seller from a dynamic seller array.

Parameters
arrayPointer to the dynamic seller array.
indexThe index of the seller to remove.

Definition at line 16677 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void remove_transaction ( transaction_array array,
int  index 
)

Remove an transaction from a dynamic transaction array.

Parameters
arrayPointer to the dynamic transaction array.
indexThe index of the transaction to remove.

Definition at line 16493 of file memory.c.

Here is the call graph for this function:

void remove_vacancy ( vacancy_array array,
int  index 
)

Remove an vacancy from a dynamic vacancy array.

Parameters
arrayPointer to the dynamic vacancy array.
indexThe index of the vacancy to remove.

Definition at line 16768 of file memory.c.

Here is the call graph for this function:

void reset_buyer_array ( buyer_array array)

Reset the buyer array to hold nothing.

Parameters
arrayPointer to the dynamic buyer array.

Definition at line 16527 of file memory.c.

void reset_char_array ( char_array array)

Reset the char array to hold nothing.

Parameters
arrayPointer to the dynamic char array.

Definition at line 16338 of file memory.c.

void reset_double_array ( double_array array)

Reset the double array to hold nothing.

Parameters
arrayPointer to the dynamic double array.

Definition at line 16183 of file memory.c.

void reset_employee_array ( employee_array array)

Reset the employee array to hold nothing.

Parameters
arrayPointer to the dynamic employee array.

Definition at line 16802 of file memory.c.

void reset_float_array ( float_array array)

Reset the float array to hold nothing.

Parameters
arrayPointer to the dynamic float array.

Definition at line 16029 of file memory.c.

void reset_hbank_array ( hbank_array array)

Reset the hbank array to hold nothing.

Parameters
arrayPointer to the dynamic hbank array.

Definition at line 17269 of file memory.c.

void reset_hbuyer_array ( hbuyer_array array)

Reset the hbuyer array to hold nothing.

Parameters
arrayPointer to the dynamic hbuyer array.

Definition at line 17081 of file memory.c.

void reset_hseller_array ( hseller_array array)

Reset the hseller array to hold nothing.

Parameters
arrayPointer to the dynamic hseller array.

Definition at line 17176 of file memory.c.

void reset_int_array ( int_array array)

Reset the int array to hold nothing.

Parameters
arrayPointer to the dynamic integer array.

Definition at line 15879 of file memory.c.

void reset_loan_array ( loan_array array)

Reset the loan array to hold nothing.

Parameters
arrayPointer to the dynamic loan array.

Definition at line 16989 of file memory.c.

void reset_mortgage_array ( mortgage_array array)

Reset the mortgage array to hold nothing.

Parameters
arrayPointer to the dynamic mortgage array.

Definition at line 16893 of file memory.c.

void reset_seller_array ( seller_array array)

Reset the seller array to hold nothing.

Parameters
arrayPointer to the dynamic seller array.

Definition at line 16618 of file memory.c.

void reset_transaction_array ( transaction_array array)

Reset the transaction array to hold nothing.

Parameters
arrayPointer to the dynamic transaction array.

Definition at line 16436 of file memory.c.

void reset_vacancy_array ( vacancy_array array)

Reset the vacancy array to hold nothing.

Parameters
arrayPointer to the dynamic vacancy array.

Definition at line 16711 of file memory.c.

void set_average_goods_price ( double  average_goods_price)

Set average_goods_price memory variable for current X-machine.

Parameters
average_goods_priceNew value for variable.

Definition at line 11238 of file memory.c.

void set_average_wage ( double  average_wage)

Set average_wage memory variable for current X-machine.

Parameters
average_wageNew value for variable.

Definition at line 11317 of file memory.c.

void set_bank_id ( int  bank_id)

Set bank_id memory variable for current X-machine.

Parameters
bank_idNew value for variable.

Definition at line 11066 of file memory.c.

void set_capital_goods ( int  capital_goods)

Set capital_goods memory variable for current X-machine.

Parameters
capital_goodsNew value for variable.

Definition at line 11479 of file memory.c.

void set_capital_goods_price ( double  capital_goods_price)

Set capital_goods_price memory variable for current X-machine.

Parameters
capital_goods_priceNew value for variable.

Definition at line 11501 of file memory.c.

void set_capital_income ( double  capital_income)

Set capital_income memory variable for current X-machine.

Parameters
capital_incomeNew value for variable.

Definition at line 12604 of file memory.c.

void set_capital_productivity ( double  capital_productivity)

Set capital_productivity memory variable for current X-machine.

Parameters
capital_productivityNew value for variable.

Definition at line 11457 of file memory.c.

void set_capital_tax_income ( double  capital_tax_income)

Set capital_tax_income memory variable for current X-machine.

Parameters
capital_tax_incomeNew value for variable.

Definition at line 13293 of file memory.c.

void set_capital_tax_rate ( double  capital_tax_rate)

Set capital_tax_rate memory variable for current X-machine.

Parameters
capital_tax_rateNew value for variable.

Definition at line 12973 of file memory.c.

void set_centralbank_debt ( double  centralbank_debt)

Set centralbank_debt memory variable for current X-machine.

Parameters
centralbank_debtNew value for variable.

Definition at line 13063 of file memory.c.

void set_centralbank_income ( double  centralbank_income)

Set centralbank_income memory variable for current X-machine.

Parameters
centralbank_incomeNew value for variable.

Definition at line 13425 of file memory.c.

void set_day_of_month_production_completed ( int  day_of_month_production_completed)

Set day_of_month_production_completed memory variable for current X-machine.

Parameters
day_of_month_production_completedNew value for variable.

Definition at line 11633 of file memory.c.

void set_day_of_month_to_act ( int  day_of_month_to_act)

Set day_of_month_to_act memory variable for current X-machine.

Parameters
day_of_month_to_actNew value for variable.

Definition at line 11112 of file memory.c.

void set_day_of_month_wage_recieved ( int  day_of_month_wage_recieved)

Set day_of_month_wage_recieved memory variable for current X-machine.

Parameters
day_of_month_wage_recievedNew value for variable.

Definition at line 12431 of file memory.c.

void set_day_of_month_wages_paid ( int  day_of_month_wages_paid)

Set day_of_month_wages_paid memory variable for current X-machine.

Parameters
day_of_month_wages_paidNew value for variable.

Definition at line 11407 of file memory.c.

void set_day_of_week_to_act ( int  day_of_week_to_act)

Set day_of_week_to_act memory variable for current X-machine.

Parameters
day_of_week_to_actNew value for variable.

Definition at line 11208 of file memory.c.

void set_debt ( double  debt)

Set debt memory variable for current X-machine.

Parameters
debtNew value for variable.

Definition at line 11712 of file memory.c.

void set_delta_housing_price ( double  delta_housing_price)

Set delta_housing_price memory variable for current X-machine.

Parameters
delta_housing_priceNew value for variable.

Definition at line 12255 of file memory.c.

void set_delta_housing_value ( double  delta_housing_value)

Set delta_housing_value memory variable for current X-machine.

Parameters
delta_housing_valueNew value for variable.

Definition at line 12797 of file memory.c.

void set_deposits ( double  deposits)

Set deposits memory variable for current X-machine.

Parameters
depositsNew value for variable.

Definition at line 13041 of file memory.c.

void set_dividends_paid ( double  dividends_paid)

Set dividends_paid memory variable for current X-machine.

Parameters
dividends_paidNew value for variable.

Definition at line 11900 of file memory.c.

void set_dividends_recieved ( double  dividends_recieved)

Set dividends_recieved memory variable for current X-machine.

Parameters
dividends_recievedNew value for variable.

Definition at line 12907 of file memory.c.

void set_dividends_retained ( double  dividends_retained)

Set dividends_retained memory variable for current X-machine.

Parameters
dividends_retainedNew value for variable.

Definition at line 12929 of file memory.c.

void set_dividends_to_be_paid ( double  dividends_to_be_paid)

Set dividends_to_be_paid memory variable for current X-machine.

Parameters
dividends_to_be_paidNew value for variable.

Definition at line 11926 of file memory.c.

void set_earnings ( double  earnings)

Set earnings memory variable for current X-machine.

Parameters
earningsNew value for variable.

Definition at line 13403 of file memory.c.

void set_ebit ( double  ebit)

Set ebit memory variable for current X-machine.

Parameters
ebitNew value for variable.

Definition at line 11998 of file memory.c.

void set_employees_needed ( int  employees_needed)

Set employees_needed memory variable for current X-machine.

Parameters
employees_neededNew value for variable.

Definition at line 11385 of file memory.c.

void set_equity ( double  equity)

Set equity memory variable for current X-machine.

Parameters
equityNew value for variable.

Definition at line 12020 of file memory.c.

void set_equity_ratio ( double  equity_ratio)

Set equity_ratio memory variable for current X-machine.

Parameters
equity_ratioNew value for variable.

Definition at line 12740 of file memory.c.

void set_expected_housing_payment ( double  expected_housing_payment)

Set expected_housing_payment memory variable for current X-machine.

Parameters
expected_housing_paymentNew value for variable.

Definition at line 12696 of file memory.c.

void set_expected_sales ( int  expected_sales)

Set expected_sales memory variable for current X-machine.

Parameters
expected_salesNew value for variable.

Definition at line 11545 of file memory.c.

void set_expenditures ( double  expenditures)

Set expenditures memory variable for current X-machine.

Parameters
expendituresNew value for variable.

Definition at line 13447 of file memory.c.

void set_fiat_money ( double  fiat_money)

Set fiat_money memory variable for current X-machine.

Parameters
fiat_moneyNew value for variable.

Definition at line 13574 of file memory.c.

void set_firm_investment ( double  firm_investment)

Set firm_investment memory variable for current X-machine.

Parameters
firm_investmentNew value for variable.

Definition at line 12951 of file memory.c.

void set_general_benefits ( double  general_benefits)

Set general_benefits memory variable for current X-machine.

Parameters
general_benefitsNew value for variable.

Definition at line 13359 of file memory.c.

void set_gov_general_benefit_rate ( double  gov_general_benefit_rate)

Set gov_general_benefit_rate memory variable for current X-machine.

Parameters
gov_general_benefit_rateNew value for variable.

Definition at line 13315 of file memory.c.

void set_gov_unemployment_rate ( double  gov_unemployment_rate)

Set gov_unemployment_rate memory variable for current X-machine.

Parameters
gov_unemployment_rateNew value for variable.

Definition at line 13337 of file memory.c.

void set_government_benefits ( double  government_benefits)

Set government_benefits memory variable for current X-machine.

Parameters
government_benefitsNew value for variable.

Definition at line 12409 of file memory.c.

void set_hasinvestment ( int  hasinvestment)

Set hasinvestment memory variable for current X-machine.

Parameters
hasinvestmentNew value for variable.

Definition at line 12128 of file memory.c.

void set_hasloan ( int  hasloan)

Set hasloan memory variable for current X-machine.

Parameters
hasloanNew value for variable.

Definition at line 12106 of file memory.c.

void set_hmarket_role ( int  hmarket_role)

Set hmarket_role memory variable for current X-machine.

Parameters
hmarket_roleNew value for variable.

Definition at line 12718 of file memory.c.

void set_housing_payment ( double  housing_payment)

Set housing_payment memory variable for current X-machine.

Parameters
housing_paymentNew value for variable.

Definition at line 12514 of file memory.c.

void set_housing_price ( double  housing_price)

Set housing_price memory variable for current X-machine.

Parameters
housing_priceNew value for variable.

Definition at line 12536 of file memory.c.

void set_housing_units ( int  housing_units)

Set housing_units memory variable for current X-machine.

Parameters
housing_unitsNew value for variable.

Definition at line 12558 of file memory.c.

void set_housing_value ( double  housing_value)

Set housing_value memory variable for current X-machine.

Parameters
housing_valueNew value for variable.

Definition at line 12674 of file memory.c.

void set_id ( int  id)

Set id memory variable for current X-machine.

Parameters
idNew value for variable.

Definition at line 11028 of file memory.c.

void set_inflation_rate ( double  inflation_rate)

Set inflation_rate memory variable for current X-machine.

Parameters
inflation_rateNew value for variable.

Definition at line 13469 of file memory.c.

void set_interest_rate ( double  interest_rate)

Set interest_rate memory variable for current X-machine.

Parameters
interest_rateNew value for variable.

Definition at line 13109 of file memory.c.

void set_interests_accrued ( double  interests_accrued)

Set interests_accrued memory variable for current X-machine.

Parameters
interests_accruedNew value for variable.

Definition at line 13133 of file memory.c.

void set_interests_paid ( double  interests_paid)

Set interests_paid memory variable for current X-machine.

Parameters
interests_paidNew value for variable.

Definition at line 13157 of file memory.c.

void set_inventory ( int  inventory)

Set inventory memory variable for current X-machine.

Parameters
inventoryNew value for variable.

Definition at line 11736 of file memory.c.

void set_isconstructor ( int  isconstructor)

Set isconstructor memory variable for current X-machine.

Parameters
isconstructorNew value for variable.

Definition at line 11090 of file memory.c.

void set_isilliquid ( int  isilliquid)

Set isilliquid memory variable for current X-machine.

Parameters
isilliquidNew value for variable.

Definition at line 12150 of file memory.c.

void set_isinsolvent ( int  isinsolvent)

Set isinsolvent memory variable for current X-machine.

Parameters
isinsolventNew value for variable.

Definition at line 11148 of file memory.c.

void set_isliquidshort ( int  isliquidshort)

Set isliquidshort memory variable for current X-machine.

Parameters
isliquidshortNew value for variable.

Definition at line 12084 of file memory.c.

void set_ismanager ( int  ismanager)

Set ismanager memory variable for current X-machine.

Parameters
ismanagerNew value for variable.

Definition at line 12387 of file memory.c.

void set_it_no ( int  it_no)

Set it_no memory variable for current X-machine.

Parameters
it_noNew value for variable.

Definition at line 11170 of file memory.c.

void set_labour_costs ( double  labour_costs)

Set labour_costs memory variable for current X-machine.

Parameters
labour_costsNew value for variable.

Definition at line 11856 of file memory.c.

void set_labour_income ( double  labour_income)

Set labour_income memory variable for current X-machine.

Parameters
labour_incomeNew value for variable.

Definition at line 12652 of file memory.c.

void set_labour_productivity ( double  labour_productivity)

Set labour_productivity memory variable for current X-machine.

Parameters
labour_productivityNew value for variable.

Definition at line 11435 of file memory.c.

void set_labour_tax_income ( double  labour_tax_income)

Set labour_tax_income memory variable for current X-machine.

Parameters
labour_tax_incomeNew value for variable.

Definition at line 13271 of file memory.c.

void set_labour_tax_rate ( double  labour_tax_rate)

Set labour_tax_rate memory variable for current X-machine.

Parameters
labour_tax_rateNew value for variable.

Definition at line 12229 of file memory.c.

void set_liquidity ( double  liquidity)

Set liquidity memory variable for current X-machine.

Parameters
liquidityNew value for variable.

Definition at line 12052 of file memory.c.

void set_liquidity_banks ( double  liquidity_banks)

Set liquidity_banks memory variable for current X-machine.

Parameters
liquidity_banksNew value for variable.

Definition at line 13596 of file memory.c.

void set_liquidity_equityfund ( double  liquidity_equityfund)

Set liquidity_equityfund memory variable for current X-machine.

Parameters
liquidity_equityfundNew value for variable.

Definition at line 13640 of file memory.c.

void set_liquidity_government ( double  liquidity_government)

Set liquidity_government memory variable for current X-machine.

Parameters
liquidity_governmentNew value for variable.

Definition at line 13618 of file memory.c.

void set_liquidity_need ( double  liquidity_need)

Set liquidity_need memory variable for current X-machine.

Parameters
liquidity_needNew value for variable.

Definition at line 12194 of file memory.c.

void set_loans ( double  loans)

Set loans memory variable for current X-machine.

Parameters
loansNew value for variable.

Definition at line 12997 of file memory.c.

void set_loans_banks ( double  loans_banks)

Set loans_banks memory variable for current X-machine.

Parameters
loans_banksNew value for variable.

Definition at line 13530 of file memory.c.

void set_loans_government ( double  loans_government)

Set loans_government memory variable for current X-machine.

Parameters
loans_governmentNew value for variable.

Definition at line 13552 of file memory.c.

void set_loans_interest_rate ( double  loans_interest_rate)

Set loans_interest_rate memory variable for current X-machine.

Parameters
loans_interest_rateNew value for variable.

Definition at line 11690 of file memory.c.

void set_loans_start ( double  loans_start)

Set loans_start memory variable for current X-machine.

Parameters
loans_startNew value for variable.

Definition at line 13019 of file memory.c.

void set_mall_budget ( double  mall_budget)

Set mall_budget memory variable for current X-machine.

Parameters
mall_budgetNew value for variable.

Definition at line 12299 of file memory.c.

void set_manager ( int  manager)

Set manager memory variable for current X-machine.

Parameters
managerNew value for variable.

Definition at line 11273 of file memory.c.

void set_minimum_equity_ratio ( double  minimum_equity_ratio)

Set minimum_equity_ratio memory variable for current X-machine.

Parameters
minimum_equity_ratioNew value for variable.

Definition at line 12762 of file memory.c.

void set_mortgage_choice ( int  mortgage_choice)

Set mortgage_choice memory variable for current X-machine.

Parameters
mortgage_choiceNew value for variable.

Definition at line 12819 of file memory.c.

void set_mortgages ( double  mortgages)

Set mortgages memory variable for current X-machine.

Parameters
mortgagesNew value for variable.

Definition at line 12490 of file memory.c.

void set_mortgages_interest_rate ( double  mortgages_interest_rate)

Set mortgages_interest_rate memory variable for current X-machine.

Parameters
mortgages_interest_rateNew value for variable.

Definition at line 12453 of file memory.c.

void set_my_employer_id ( int  my_employer_id)

Set my_employer_id memory variable for current X-machine.

Parameters
my_employer_idNew value for variable.

Definition at line 12343 of file memory.c.

void set_n_shares ( int  n_shares)

Set n_shares memory variable for current X-machine.

Parameters
n_sharesNew value for variable.

Definition at line 12580 of file memory.c.

void set_net_earnings ( double  net_earnings)

Set net_earnings memory variable for current X-machine.

Parameters
net_earningsNew value for variable.

Definition at line 11972 of file memory.c.

void set_no_employees ( int  no_employees)

Set no_employees memory variable for current X-machine.

Parameters
no_employeesNew value for variable.

Definition at line 11341 of file memory.c.

void set_operating_costs ( double  operating_costs)

Set operating_costs memory variable for current X-machine.

Parameters
operating_costsNew value for variable.

Definition at line 11834 of file memory.c.

void set_planned_investment_costs ( double  planned_investment_costs)

Set planned_investment_costs memory variable for current X-machine.

Parameters
planned_investment_costsNew value for variable.

Definition at line 12172 of file memory.c.

void set_population_size ( int  population_size)

Set population_size memory variable for current X-machine.

Parameters
population_sizeNew value for variable.

Definition at line 13249 of file memory.c.

void set_production_current ( int  production_current)

Set production_current memory variable for current X-machine.

Parameters
production_currentNew value for variable.

Definition at line 11523 of file memory.c.

void set_production_plan ( int  production_plan)

Set production_plan memory variable for current X-machine.

Parameters
production_planNew value for variable.

Definition at line 11567 of file memory.c.

void set_quarterly_price_change ( double  quarterly_price_change)

Set quarterly_price_change memory variable for current X-machine.

Parameters
quarterly_price_changeNew value for variable.

Definition at line 12321 of file memory.c.

void set_retained_earnings ( double  retained_earnings)

Set retained_earnings memory variable for current X-machine.

Parameters
retained_earningsNew value for variable.

Definition at line 11948 of file memory.c.

void set_revenues ( double  revenues)

Set revenues memory variable for current X-machine.

Parameters
revenuesNew value for variable.

Definition at line 11780 of file memory.c.

void set_sales ( int  sales)

Set sales memory variable for current X-machine.

Parameters
salesNew value for variable.

Definition at line 11758 of file memory.c.

void set_share_banks ( double  share_banks)

Set share_banks memory variable for current X-machine.

Parameters
share_banksNew value for variable.

Definition at line 12885 of file memory.c.

void set_share_construction_firms ( double  share_construction_firms)

Set share_construction_firms memory variable for current X-machine.

Parameters
share_construction_firmsNew value for variable.

Definition at line 12863 of file memory.c.

void set_share_firms ( double  share_firms)

Set share_firms memory variable for current X-machine.

Parameters
share_firmsNew value for variable.

Definition at line 12841 of file memory.c.

void set_total_assets ( double  total_assets)

Set total_assets memory variable for current X-machine.

Parameters
total_assetsNew value for variable.

Definition at line 11806 of file memory.c.

void set_total_costs ( double  total_costs)

Set total_costs memory variable for current X-machine.

Parameters
total_costsNew value for variable.

Definition at line 13201 of file memory.c.

void set_total_dividends ( double  total_dividends)

Set total_dividends memory variable for current X-machine.

Parameters
total_dividendsNew value for variable.

Definition at line 13179 of file memory.c.

void set_total_interest_payments ( double  total_interest_payments)

Set total_interest_payments memory variable for current X-machine.

Parameters
total_interest_paymentsNew value for variable.

Definition at line 11878 of file memory.c.

void set_total_writeoffs ( double  total_writeoffs)

Set total_writeoffs memory variable for current X-machine.

Parameters
total_writeoffsNew value for variable.

Definition at line 13085 of file memory.c.

void set_unemployment_benefits ( double  unemployment_benefits)

Set unemployment_benefits memory variable for current X-machine.

Parameters
unemployment_benefitsNew value for variable.

Definition at line 13381 of file memory.c.

void set_unemployment_rate ( double  unemployment_rate)

Set unemployment_rate memory variable for current X-machine.

Parameters
unemployment_rateNew value for variable.

Definition at line 13225 of file memory.c.

void set_unit_cost ( double  unit_cost)

Set unit_cost memory variable for current X-machine.

Parameters
unit_costNew value for variable.

Definition at line 11611 of file memory.c.

void set_unit_goods_price ( double  unit_goods_price)

Set unit_goods_price memory variable for current X-machine.

Parameters
unit_goods_priceNew value for variable.

Definition at line 11589 of file memory.c.

void set_unit_house_price ( double  unit_house_price)

Set unit_house_price memory variable for current X-machine.

Parameters
unit_house_priceNew value for variable.

Definition at line 11655 of file memory.c.

void set_vacancies ( int  vacancies)

Set vacancies memory variable for current X-machine.

Parameters
vacanciesNew value for variable.

Definition at line 11363 of file memory.c.

void set_wage ( double  wage)

Set wage memory variable for current X-machine.

Parameters
wageNew value for variable.

Definition at line 12365 of file memory.c.

void set_wage_offer ( double  wage_offer)

Set wage_offer memory variable for current X-machine.

Parameters
wage_offerNew value for variable.

Definition at line 11295 of file memory.c.

void set_weekly_consumption_budget ( double  weekly_consumption_budget)

Set weekly_consumption_budget memory variable for current X-machine.

Parameters
weekly_consumption_budgetNew value for variable.

Definition at line 12277 of file memory.c.

void transition_bank_agent ( xmachine_memory_bank_holder tmp,
xmachine_memory_bank_state from_state,
xmachine_memory_bank_state to_state 
)

Definition at line 9843 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_centralbank_agent ( xmachine_memory_centralbank_holder tmp,
xmachine_memory_centralbank_state from_state,
xmachine_memory_centralbank_state to_state 
)

Definition at line 10447 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_equityfund_agent ( xmachine_memory_equityfund_holder tmp,
xmachine_memory_equityfund_state from_state,
xmachine_memory_equityfund_state to_state 
)

Definition at line 9478 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_firm_agent ( xmachine_memory_firm_holder tmp,
xmachine_memory_firm_state from_state,
xmachine_memory_firm_state to_state 
)

Definition at line 8614 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_government_agent ( xmachine_memory_government_holder tmp,
xmachine_memory_government_state from_state,
xmachine_memory_government_state to_state 
)

Definition at line 10130 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_household_agent ( xmachine_memory_household_holder tmp,
xmachine_memory_household_state from_state,
xmachine_memory_household_state to_state 
)

Definition at line 9184 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_jpoffice_agent ( xmachine_memory_jpoffice_holder tmp,
xmachine_memory_jpoffice_state from_state,
xmachine_memory_jpoffice_state to_state 
)

Definition at line 10652 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_mall_agent ( xmachine_memory_mall_holder tmp,
xmachine_memory_mall_state from_state,
xmachine_memory_mall_state to_state 
)

Definition at line 10797 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void transition_reagency_agent ( xmachine_memory_reagency_holder tmp,
xmachine_memory_reagency_state from_state,
xmachine_memory_reagency_state to_state 
)

Definition at line 10955 of file memory.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void unittest_bank_credit_check_interest_rate_BankCreditPolicyChecks_end ( )

Definition at line 2131 of file memory.c.

void unittest_bank_credit_collect_loan_interests_BankCreditLoanInterests_BankHousingMarket ( )

Definition at line 2094 of file memory.c.

Here is the call graph for this function:

void unittest_bank_credit_compute_dividends_BankCreditDividends_BankCreditBalanceSheet ( )

Definition at line 1937 of file memory.c.

void unittest_bank_credit_compute_income_statement_BankCreditStart_BankCreditDividends ( )

Definition at line 1930 of file memory.c.

void unittest_bank_credit_do_balance_sheet_BankCreditBalanceSheet_BankCreditRequest1 ( )

Definition at line 1944 of file memory.c.

void unittest_bank_credit_process_loan_requests_1_BankCreditRequest1_BankCreditRequest2 ( )

Definition at line 1951 of file memory.c.

Here is the call graph for this function:

void unittest_bank_credit_process_loan_requests_2_BankCreditRequest2_BankCreditLoanWriteOffs ( )

Definition at line 1981 of file memory.c.

Here is the call graph for this function:

void unittest_bank_credit_recieve_loan_writeoffs_BankCreditLoanWriteOffs_BankCreditNewEntrants ( )

Definition at line 2011 of file memory.c.

Here is the call graph for this function:

void unittest_bank_credit_recieve_new_entrant_loan_requests_BankCreditNewEntrants_BankCreditLoanInterests ( )

Definition at line 2064 of file memory.c.

Here is the call graph for this function:

void unittest_bank_housing_compute_capital_status_BankHousingMarket_BankHousingCrediting ( )

Definition at line 2168 of file memory.c.

void unittest_bank_housing_debt_writeoff_BankHousingWriteOff_BankUpdateDeposits ( )

Definition at line 2265 of file memory.c.

Here is the call graph for this function:

void unittest_bank_housing_deliver_mortages_BankHousingCrediting_BankHousingSales ( )

Definition at line 2175 of file memory.c.

Here is the call graph for this function:

void unittest_bank_housing_recieve_mortgage_principals_BankHousingSales_BankHousingMortgages ( )

Definition at line 2205 of file memory.c.

Here is the call graph for this function:

void unittest_bank_housing_recieve_mortgages_BankHousingMortgages_BankHousingWriteOff ( )

Definition at line 2235 of file memory.c.

Here is the call graph for this function:

void unittest_bank_init_balancesheet_BankInitBalanceSheet_BankLoop ( )

Definition at line 1849 of file memory.c.

void unittest_bank_init_deposits_BankInitDeposits_BankInitBalanceSheet ( )

Definition at line 1796 of file memory.c.

Here is the call graph for this function:

void unittest_bank_init_loans_BankInitLoans_BankInitMortgages ( )

Definition at line 1736 of file memory.c.

Here is the call graph for this function:

void unittest_bank_init_mortgages_BankInitMortgages_BankInitDeposits ( )

Definition at line 1766 of file memory.c.

Here is the call graph for this function:

void unittest_bank_iterate_BankLoop_BankCreditStart ( )

Definition at line 1856 of file memory.c.

void unittest_bank_update_deposits_BankUpdateDeposits_BankCreditPolicyChecks ( )

Definition at line 1870 of file memory.c.

Here is the call graph for this function:

void unittest_centralbank_collect_interest_payments_CentralBankCredit_CentralBankDebtRequests ( )

Definition at line 2707 of file memory.c.

void unittest_centralbank_compute_income_statement_CentralBankPolicy_CentralBankGovernmentRequests ( )

Definition at line 2820 of file memory.c.

void unittest_centralbank_do_balance_sheet_CentralBankBalanceSheet_CentralBankUpdateInterestRate ( )

Definition at line 2903 of file memory.c.

void unittest_centralbank_init_balancesheet_CentralBankInitBalanceSheet_CentralBankLoop ( )

Definition at line 2506 of file memory.c.

void unittest_centralbank_iterate_CentralBankLoop_CentralBankCredit ( )

Definition at line 2605 of file memory.c.

void unittest_centralbank_process_debt_requests_CentralBankDebtRequests_CentralBankConsumption ( )

Definition at line 2737 of file memory.c.

void unittest_centralbank_process_government_requests_CentralBankGovernmentRequests_CentralBankBalanceSheet ( )

Definition at line 2827 of file memory.c.

void unittest_centralbank_set_interest_rate_CentralBankUpdateInterestRate_end ( )

Definition at line 2933 of file memory.c.

void unittest_centralbank_trace_goods_prices_CentralBankConsumption_CentralBankConsumptionPrices ( )

Definition at line 2619 of file memory.c.

void unittest_centralbank_trace_housing_prices_CentralBankHousing_CentralBankLabour ( )

Definition at line 2947 of file memory.c.

void unittest_centralbank_trace_unemployment_status_CentralBankLabour_CentralBankPolicy ( )

Definition at line 2670 of file memory.c.

void unittest_centralbank_update_price_indices_CentralBankConsumptionPrices_CentralBankHousing ( )

Definition at line 2656 of file memory.c.

void unittest_equityfund_audit_dividends_EFLabourMarket_EFCreditIncomeStatement ( )

Definition at line 1537 of file memory.c.

void unittest_equityfund_credit_check_tax_rate_EFCreditPolicyChecks_end ( )

Definition at line 1692 of file memory.c.

void unittest_equityfund_credit_collect_bank_shares_EFCreditShareCollectionBanks_EFCreditShareCollectionFirms ( )

Definition at line 1604 of file memory.c.

void unittest_equityfund_credit_collect_firm_shares_EFCreditShareCollectionFirms_EFCreditDistributeShares ( )

Definition at line 1634 of file memory.c.

void unittest_equityfund_credit_compute_income_statement_EFCreditIncomeStatement_EFCreditBalanceSheet ( )

Definition at line 1678 of file memory.c.

void unittest_equityfund_credit_distribute_shares_EFCreditDistributeShares_EFLabourMarket ( )

Definition at line 1664 of file memory.c.

void unittest_equityfund_credit_do_balance_sheet_EFCreditBalanceSheet_EFCreditPolicyChecks ( )

Definition at line 1685 of file memory.c.

void unittest_equityfund_credit_invest_illiquids_EquityFundCredit_EFCreditShareCollectionBanks ( )

Definition at line 1574 of file memory.c.

void unittest_equityfund_init_start_EquityFundLoop ( )

Definition at line 1509 of file memory.c.

void unittest_equityfund_iterate_EquityFundLoop_EquityFundCredit ( )

Definition at line 1523 of file memory.c.

void unittest_firm_consumption_receive_sales_FirmReceiveSales_FirmConsumptionPrice ( )

Definition at line 116 of file memory.c.

Here is the call graph for this function:

void unittest_firm_consumption_supply_FirmConsumptionMarket_FirmReceiveSales ( )

Definition at line 109 of file memory.c.

void unittest_firm_consumption_update_market_price_FirmConsumptionPrice_FirmHousingStart ( )

Definition at line 146 of file memory.c.

void unittest_firm_credit_borrow_loans_1_FirmCreditLoanBorrow1_FirmCreditLoanBorrow2 ( )

Definition at line 499 of file memory.c.

Here is the call graph for this function:

void unittest_firm_credit_borrow_loans_2_FirmCreditLoanBorrow2_FirmCreditIlliquidityStatus ( )

Definition at line 536 of file memory.c.

Here is the call graph for this function:

void unittest_firm_credit_check_equityfund_investment_FirmCreditLiquidityRecheck_FirmCreditBankruptcy ( )

Definition at line 587 of file memory.c.

Here is the call graph for this function:

void unittest_firm_credit_check_interest_rate_FirmCreditPolicyChecks_FirmCreditCheckTaxRate ( )

Definition at line 673 of file memory.c.

void unittest_firm_credit_check_liquidity_need_FirmCreditLiquidityNeed_FirmCreditStatus ( )

Definition at line 478 of file memory.c.

void unittest_firm_credit_check_tax_rate_FirmCreditCheckTaxRate_end ( )

Definition at line 703 of file memory.c.

void unittest_firm_credit_compute_dividends_FirmCreditComputeDividends_FirmCreditLiquidityNeed ( )

Definition at line 471 of file memory.c.

void unittest_firm_credit_compute_income_statement_FirmCreditStart_FirmCreditInvestment ( )

Definition at line 457 of file memory.c.

void unittest_firm_credit_demand_loans_1_FirmCreditStatus_FirmCreditLoanBorrow1 ( )

Definition at line 492 of file memory.c.

void unittest_firm_credit_do_balance_sheet_FirmCreditBalanceSheet_FirmCreditInsolvencyCheck ( )

Definition at line 645 of file memory.c.

void unittest_firm_credit_illiquidity_bankrupt_FirmCreditBankruptcy_FirmCreditBalanceSheet ( )

Definition at line 624 of file memory.c.

void unittest_firm_credit_insolvency_bankruptcy_FirmCreditInsolvencyCheck_FirmProductionStart ( )

Definition at line 659 of file memory.c.

void unittest_firm_credit_investment_decisions_FirmCreditInvestment_FirmCreditComputeDividends ( )

Definition at line 464 of file memory.c.

void unittest_firm_credit_pay_dividends_FirmCreditDividendPayments_FirmCreditBalanceSheet ( )

Definition at line 638 of file memory.c.

void unittest_firm_credit_pay_interest_on_loans_FirmCreditPayments_FirmCreditDividendPayments ( )

Definition at line 631 of file memory.c.

void unittest_firm_credit_request_equityfund_investment_FirmCreditIlliquidityStatus_FirmCreditLiquidityRecheck ( )

Definition at line 573 of file memory.c.

void unittest_firm_housing_collect_sale_revenues_FirmHousingSell_FirmHousingPrice ( )

Definition at line 761 of file memory.c.

Here is the call graph for this function:

void unittest_firm_housing_enter_market_FirmHousingMarket_FirmHousingSell ( )

Definition at line 754 of file memory.c.

void unittest_firm_housing_update_market_price_FirmHousingPrice_FirmLabourPayWages ( )

Definition at line 791 of file memory.c.

void unittest_firm_init_balancesheet_FirmInitBalanceSheet_FirmLoop ( )

Definition at line 60 of file memory.c.

void unittest_firm_init_employment_FirmInitEmployment_FirmInitBalanceSheet ( )

Definition at line 30 of file memory.c.

Here is the call graph for this function:

void unittest_firm_init_post_id_FirmInitPostId_FirmInitEmployment ( )

Definition at line 23 of file memory.c.

void unittest_firm_iterate_FirmLoop_FirmCreditStart ( )

Definition at line 67 of file memory.c.

void unittest_firm_labour_fire_FirmLabourStage1_FirmLabourStage1End ( )

Definition at line 197 of file memory.c.

void unittest_firm_labour_job_announcement_stage1_FirmLabourStage1_FirmLabourStage1Application ( )

Definition at line 204 of file memory.c.

void unittest_firm_labour_job_announcement_stage2_FirmLabourStage2_FirmLabourStage2End ( )

Definition at line 271 of file memory.c.

void unittest_firm_labour_job_offer_stage1_FirmLabourStage1Application_FirmLabourStage1End ( )

Definition at line 211 of file memory.c.

Here is the call graph for this function:

void unittest_firm_labour_job_offer_stage2_FirmLabourStage2End_FirmConsumptionStart ( )

Definition at line 285 of file memory.c.

Here is the call graph for this function:

void unittest_firm_labour_pay_wages_FirmLabourPayWages_FirmLabourWageAdjustment ( )

Definition at line 322 of file memory.c.

void unittest_firm_labour_trace_wages_FirmLabourWageAdjustment_FirmUpdateDeposits ( )

Definition at line 329 of file memory.c.

void unittest_firm_labour_update_FirmLabourStage1End_FirmLabourStage2 ( )

Definition at line 241 of file memory.c.

Here is the call graph for this function:

void unittest_firm_labour_workforce_needed_FirmLabourStart_FirmLabourStage1 ( )

Definition at line 183 of file memory.c.

void unittest_firm_production_compute_labour_demand_FirmProductionLabourDemand_FirmLabourStart ( )

Definition at line 422 of file memory.c.

void unittest_firm_production_construct_houses_FirmProductionConstructor_FirmLabourStart ( )

Definition at line 429 of file memory.c.

void unittest_firm_production_construction_labour_demand_FirmConstructionLabourDemand_FirmLabourStart ( )

Definition at line 443 of file memory.c.

void unittest_firm_production_construction_plan_FirmProductionConstructor_FirmConstructionLabourDemand ( )

Definition at line 436 of file memory.c.

void unittest_firm_production_plan_FirmProductionPlanning_FirmProductionLabourDemand ( )

Definition at line 415 of file memory.c.

void unittest_firm_production_produce_goods_FirmProductionRegular_FirmLabourStart ( )

Definition at line 401 of file memory.c.

void unittest_firm_production_set_price_FirmProductionRegular_FirmProductionPlanning ( )

Definition at line 408 of file memory.c.

void unittest_firm_production_skip_FirmProductionSkip_FirmLabourStart ( )

Definition at line 373 of file memory.c.

void unittest_firm_update_bank_account_FirmUpdateDeposits_FirmCreditPolicyChecks ( )

Definition at line 81 of file memory.c.

void unittest_free_bank_agent ( )

Definition at line 9631 of file memory.c.

void unittest_free_centralbank_agent ( )

Definition at line 10305 of file memory.c.

Here is the call graph for this function:

void unittest_free_equityfund_agent ( )

Definition at line 9365 of file memory.c.

void unittest_free_firm_agent ( )

Definition at line 8175 of file memory.c.

Here is the call graph for this function:

void unittest_free_government_agent ( )

Definition at line 10008 of file memory.c.

void unittest_free_household_agent ( )

Definition at line 8872 of file memory.c.

Here is the call graph for this function:

void unittest_free_jpoffice_agent ( )

Definition at line 10584 of file memory.c.

void unittest_free_mall_agent ( )

Definition at line 10746 of file memory.c.

Here is the call graph for this function:

void unittest_free_reagency_agent ( )

Definition at line 10895 of file memory.c.

Here is the call graph for this function:

void unittest_government_collect_capital_tax_GovernmentCredit_GovernmentMonthly ( )

Definition at line 2353 of file memory.c.

void unittest_government_collect_centralbank_profit_GovernmentFiscalPolicy_GovernmentIncomeStatement ( )

Definition at line 2441 of file memory.c.

void unittest_government_collect_labour_tax_GovernmentLabourTax_GovernmentLabourStatus ( )

Definition at line 2404 of file memory.c.

void unittest_government_compute_income_statement_GovernmentIncomeStatement_GovernmentBalanceSheet ( )

Definition at line 2471 of file memory.c.

void unittest_government_distribute_general_benefits_GovernmentMonthly_GovernmentUnemploymentBenefits ( )

Definition at line 2390 of file memory.c.

void unittest_government_distribute_unemployment_benefits_GovernmentUnemploymentBenefits_GovernmentLabourTax ( )

Definition at line 2397 of file memory.c.

void unittest_government_do_balance_sheet_GovernmentBalanceSheet_GovernmentUpdatePolicy ( )

Definition at line 2478 of file memory.c.

void unittest_government_init_start_GovernmentLoop ( )

Definition at line 2295 of file memory.c.

void unittest_government_iterate_GovernmentLoop_GovernmentCredit ( )

Definition at line 2309 of file memory.c.

void unittest_government_trace_unemployment_status_GovernmentLabourStatus_GovernmentFiscalPolicy ( )

Definition at line 2316 of file memory.c.

void unittest_government_update_fiscal_policy_GovernmentUpdatePolicy_end ( )

Definition at line 2485 of file memory.c.

void unittest_household_consumption_compute_budget_HHConsumptionStart_HHConsumptionWeekly ( )

Definition at line 907 of file memory.c.

void unittest_household_consumption_demand_HHConsumptionWeekly_HHConsumptionRecieveGoods ( )

Definition at line 921 of file memory.c.

void unittest_household_consumption_recieve_goods_HHConsumptionRecieveGoods_HHConsumptionMonthly ( )

Definition at line 928 of file memory.c.

Here is the call graph for this function:

void unittest_household_consumption_trace_cpi_HHConsumptionMonthly_HHHousingStart ( )

Definition at line 965 of file memory.c.

void unittest_household_credit_check_interest_rate_HHCreditPolicyChecks_HHCreditUpdateAnnuity ( )

Definition at line 1282 of file memory.c.

void unittest_household_credit_check_tax_rate_HHCreditCheckTaxRate_end ( )

Definition at line 1319 of file memory.c.

void unittest_household_credit_collect_benefits_HHCreditMonthly_HHLabourStart ( )

Definition at line 1222 of file memory.c.

void unittest_household_credit_collect_shares_HHCreditIsCapitalist_HHCreditBalanceSheet ( )

Definition at line 1178 of file memory.c.

void unittest_household_credit_do_balance_sheet_HHCreditBalanceSheet_HHCreditMonthly ( )

Definition at line 1208 of file memory.c.

void unittest_household_credit_update_mortgage_rates_HHCreditUpdateAnnuity_HHCreditCheckTaxRate ( )

Definition at line 1312 of file memory.c.

void unittest_household_housing_buy_HHHousingBargain_HHHousingPrice ( )

Definition at line 1435 of file memory.c.

Here is the call graph for this function:

void unittest_household_housing_check_wealth_HHHousingRole_HHHousingCheckWealth ( )

Definition at line 1370 of file memory.c.

void unittest_household_housing_collect_sale_revenue_HHHousingRevenue_HHHousingPrice ( )

Definition at line 1391 of file memory.c.

Here is the call graph for this function:

void unittest_household_housing_debt_writeoff_HHHousingWriteOff_HHLabourPayroll ( )

Definition at line 1502 of file memory.c.

void unittest_household_housing_enter_market_HHHousingCheckWealth_HHHousingBargain ( )

Definition at line 1428 of file memory.c.

void unittest_household_housing_fire_sell_HHHousingRole_HHHousingRevenue ( )

Definition at line 1384 of file memory.c.

void unittest_household_housing_market_role_HHHousingStart_HHHousingRole ( )

Definition at line 1356 of file memory.c.

void unittest_household_housing_pay_mortgages_HHHousingPayments_HHHousingWriteOff ( )

Definition at line 1495 of file memory.c.

void unittest_household_housing_sell_HHHousingRole_HHHousingRevenue ( )

Definition at line 1377 of file memory.c.

void unittest_household_housing_update_market_price_HHHousingPrice_HHHousingPayments ( )

Definition at line 1465 of file memory.c.

void unittest_household_init_balancesheet_HouseholdInitBalanceSheet_HouseholdLoop ( )

Definition at line 872 of file memory.c.

void unittest_household_init_employment_HouseholdInitEmployment_HouseholdInitBalanceSheet ( )

Definition at line 842 of file memory.c.

Here is the call graph for this function:

void unittest_household_init_post_id_HouseholdInitPostId_HouseholdInitEmployment ( )

Definition at line 835 of file memory.c.

void unittest_household_iterate_HouseholdLoop_HHCreditStart ( )

Definition at line 879 of file memory.c.

void unittest_household_labour_check_fired_HHLabourStart_HHLabourStage1 ( )

Definition at line 1002 of file memory.c.

Here is the call graph for this function:

void unittest_household_labour_employment_application_HHLabourStage1Applications_HHLabourStage1Placement ( )

Definition at line 1076 of file memory.c.

void unittest_household_labour_employment_HHLabourStage1Placement_HHConsumptionStart ( )

Definition at line 1083 of file memory.c.

Here is the call graph for this function:

void unittest_household_labour_receive_wage_HHLabourPayroll_HHLabourEmploymentStatus ( )

Definition at line 1120 of file memory.c.

Here is the call graph for this function:

void unittest_household_labour_reemployment_application_HHLabourStage1_HHLabourStage2 ( )

Definition at line 1032 of file memory.c.

void unittest_household_labour_report_status_HHLabourEmploymentStatus_HouseholdUpdateDeposits ( )

Definition at line 1150 of file memory.c.

void unittest_household_labour_turnover_HHLabourStage2_HHConsumptionStart ( )

Definition at line 1046 of file memory.c.

Here is the call graph for this function:

void unittest_household_update_bank_account_HouseholdUpdateDeposits_HHCreditPolicyChecks ( )

Definition at line 893 of file memory.c.

void unittest_idle_BankCreditPolicyChecks_end ( )

Definition at line 2124 of file memory.c.

void unittest_idle_BankCreditStart_BankHousingMarket ( )

Definition at line 1923 of file memory.c.

void unittest_idle_BankHousingMarket_BankUpdateDeposits ( )

Definition at line 2161 of file memory.c.

void unittest_idle_BankUpdateDeposits_BankCreditPolicyChecks ( )

Definition at line 1863 of file memory.c.

void unittest_idle_CentralBankConsumption_CentralBankConsumptionPrices ( )

Definition at line 2612 of file memory.c.

void unittest_idle_CentralBankConsumptionPrices_CentralBankHousing ( )

Definition at line 2649 of file memory.c.

void unittest_idle_CentralBankCredit_CentralBankConsumption ( )

Definition at line 2700 of file memory.c.

void unittest_idle_CentralBankHousing_CentralBankLabour ( )

Definition at line 2940 of file memory.c.

void unittest_idle_CentralBankLabour_CentralBankPolicy ( )

Definition at line 2663 of file memory.c.

void unittest_idle_CentralBankPolicy_end ( )

Definition at line 2813 of file memory.c.

void unittest_idle_EFCreditIncomeStatement_end ( )

Definition at line 1671 of file memory.c.

void unittest_idle_EFLabourMarket_EFCreditIncomeStatement ( )

Definition at line 1530 of file memory.c.

void unittest_idle_EquityFundCredit_EFLabourMarket ( )

Definition at line 1567 of file memory.c.

void unittest_idle_FirmConsumptionMarket_FirmHousingStart ( )

Definition at line 102 of file memory.c.

void unittest_idle_FirmConsumptionStart_FirmConsumptionMarket ( )

Definition at line 95 of file memory.c.

void unittest_idle_FirmConsumptionStart_FirmHousingStart ( )

Definition at line 88 of file memory.c.

void unittest_idle_FirmCreditBankruptcy_FirmCreditPayments ( )

Definition at line 617 of file memory.c.

void unittest_idle_FirmCreditIlliquidityStatus_FirmCreditPayments ( )

Definition at line 566 of file memory.c.

void unittest_idle_FirmCreditInsolvencyCheck_FirmProductionStart ( )

Definition at line 652 of file memory.c.

void unittest_idle_FirmCreditLiquidityRecheck_FirmCreditPayments ( )

Definition at line 580 of file memory.c.

void unittest_idle_FirmCreditLoanBorrow2_FirmCreditPayments ( )

Definition at line 529 of file memory.c.

void unittest_idle_FirmCreditPolicyChecks_end ( )

Definition at line 666 of file memory.c.

void unittest_idle_FirmCreditStart_FirmProductionStart ( )

Definition at line 450 of file memory.c.

void unittest_idle_FirmCreditStatus_FirmCreditPayments ( )

Definition at line 485 of file memory.c.

void unittest_idle_FirmHousingMarket_FirmLabourPayWages ( )

Definition at line 747 of file memory.c.

void unittest_idle_FirmHousingStart_FirmHousingMarket ( )

Definition at line 740 of file memory.c.

void unittest_idle_FirmHousingStart_FirmLabourPayWages ( )

Definition at line 733 of file memory.c.

void unittest_idle_FirmLabourPayWages_FirmUpdateDeposits ( )

Definition at line 315 of file memory.c.

void unittest_idle_FirmLabourStage1_FirmLabourStage1End ( )

Definition at line 190 of file memory.c.

void unittest_idle_FirmLabourStage2_FirmConsumptionStart ( )

Definition at line 278 of file memory.c.

void unittest_idle_FirmLabourStart_FirmConsumptionStart ( )

Definition at line 176 of file memory.c.

void unittest_idle_FirmProductionRoleCheck_FirmProductionConstructor ( )

Definition at line 394 of file memory.c.

void unittest_idle_FirmProductionRoleCheck_FirmProductionRegular ( )

Definition at line 387 of file memory.c.

void unittest_idle_FirmProductionSkip_FirmProductionRoleCheck ( )

Definition at line 380 of file memory.c.

void unittest_idle_FirmProductionStart_FirmLabourStart ( )

Definition at line 359 of file memory.c.

void unittest_idle_FirmProductionStart_FirmProductionSkip ( )

Definition at line 366 of file memory.c.

void unittest_idle_FirmUpdateDeposits_FirmCreditPolicyChecks ( )

Definition at line 74 of file memory.c.

void unittest_idle_GovernmentCredit_GovernmentMonthly ( )

Definition at line 2346 of file memory.c.

void unittest_idle_GovernmentFiscalPolicy_end ( )

Definition at line 2434 of file memory.c.

void unittest_idle_GovernmentMonthly_GovernmentFiscalPolicy ( )

Definition at line 2383 of file memory.c.

void unittest_idle_HHConsumptionMonthly_HHHousingStart ( )

Definition at line 958 of file memory.c.

void unittest_idle_HHConsumptionStart_HHConsumptionWeekly ( )

Definition at line 900 of file memory.c.

void unittest_idle_HHConsumptionWeekly_HHConsumptionMonthly ( )

Definition at line 914 of file memory.c.

void unittest_idle_HHCreditIsCapitalist_HHCreditBalanceSheet ( )

Definition at line 1171 of file memory.c.

void unittest_idle_HHCreditMonthly_HHLabourStart ( )

Definition at line 1215 of file memory.c.

void unittest_idle_HHCreditPolicyChecks_end ( )

Definition at line 1275 of file memory.c.

void unittest_idle_HHCreditStart_HHCreditIsCapitalist ( )

Definition at line 1164 of file memory.c.

void unittest_idle_HHCreditStart_HHCreditMonthly ( )

Definition at line 1157 of file memory.c.

void unittest_idle_HHHousingCheckWealth_HHHousingPrice ( )

Definition at line 1421 of file memory.c.

void unittest_idle_HHHousingRole_HHHousingPrice ( )

Definition at line 1363 of file memory.c.

void unittest_idle_HHHousingStart_HHLabourPayroll ( )

Definition at line 1349 of file memory.c.

void unittest_idle_HHLabourPayroll_HouseholdUpdateDeposits ( )

Definition at line 1113 of file memory.c.

void unittest_idle_HHLabourStage1_HHLabourStage1Applications ( )

Definition at line 1039 of file memory.c.

void unittest_idle_HHLabourStart_HHConsumptionStart ( )

Definition at line 995 of file memory.c.

void unittest_idle_HouseholdUpdateDeposits_HHCreditPolicyChecks ( )

Definition at line 886 of file memory.c.

void unittest_idle_JPOLabourMarket_end ( )

Definition at line 3051 of file memory.c.

void unittest_idle_MallConsumptionMarket_end ( )

Definition at line 3171 of file memory.c.

void unittest_idle_REAgencyCreditPolicyChecks_end ( )

Definition at line 3245 of file memory.c.

void unittest_idle_REAgencyHousingMarket_REAgencyCreditPolicyChecks ( )

Definition at line 3282 of file memory.c.

void unittest_idle_start_BankInitLoans ( )

Definition at line 1722 of file memory.c.

void unittest_idle_start_BankLoop ( )

Definition at line 1729 of file memory.c.

void unittest_idle_start_CentralBankInitBalanceSheet ( )

Definition at line 2492 of file memory.c.

void unittest_idle_start_CentralBankLoop ( )

Definition at line 2499 of file memory.c.

void unittest_idle_start_EquityFundLoop ( )

Definition at line 1516 of file memory.c.

void unittest_idle_start_FirmInitPostId ( )

Definition at line 9 of file memory.c.

void unittest_idle_start_FirmLoop ( )

Definition at line 16 of file memory.c.

void unittest_idle_start_GovernmentLoop ( )

Definition at line 2302 of file memory.c.

void unittest_idle_start_HouseholdInitPostId ( )

Definition at line 821 of file memory.c.

void unittest_idle_start_HouseholdLoop ( )

Definition at line 828 of file memory.c.

void unittest_idle_start_JPOfficeInitEmployment ( )

Definition at line 2977 of file memory.c.

void unittest_idle_start_JPOfficeLoop ( )

Definition at line 2984 of file memory.c.

void unittest_init_bank_agent ( )

Definition at line 9601 of file memory.c.

void unittest_init_centralbank_agent ( )

Definition at line 10271 of file memory.c.

Here is the call graph for this function:

void unittest_init_equityfund_agent ( )

Definition at line 9342 of file memory.c.

void unittest_init_firm_agent ( )

Definition at line 8114 of file memory.c.

Here is the call graph for this function:

void unittest_init_government_agent ( )

Definition at line 9979 of file memory.c.

void unittest_init_household_agent ( )

Definition at line 8828 of file memory.c.

Here is the call graph for this function:

void unittest_init_jpoffice_agent ( )

Definition at line 10573 of file memory.c.

void unittest_init_mall_agent ( )

Definition at line 10734 of file memory.c.

Here is the call graph for this function:

void unittest_init_reagency_agent ( )

Definition at line 10882 of file memory.c.

Here is the call graph for this function:

void unittest_jpoffice_init_employment_JPOfficeInitEmployment_JPOfficeLoop ( )

Definition at line 2991 of file memory.c.

void unittest_jpoffice_iterate_JPOfficeLoop_JPOLabourMarket ( )

Definition at line 3044 of file memory.c.

void unittest_jpoffice_labour_stage1_JPOLabourMarket_JPOLabourStage2 ( )

Definition at line 3058 of file memory.c.

void unittest_jpoffice_labour_stage2_JPOLabourStage2_end ( )

Definition at line 3111 of file memory.c.

void unittest_mall_consumption_shopping_MallConsumptionMarket_MallConsumptionSummary ( )

Definition at line 3178 of file memory.c.

void unittest_mall_consumption_summary_MallConsumptionSummary_end ( )

Definition at line 3231 of file memory.c.

void unittest_mall_init_start_MallConsumptionMarket ( )

Definition at line 3164 of file memory.c.

void unittest_reagency_check_interest_rate_REAgencyCreditPolicyChecks_end ( )

Definition at line 3252 of file memory.c.

void unittest_reagency_housing_process_REAgencyHousingMarket_REAgencyHousingSummary ( )

Definition at line 3289 of file memory.c.

void unittest_reagency_housing_summary_REAgencyHousingSummary_REAgencyCreditPolicyChecks ( )

Definition at line 3365 of file memory.c.

void unittest_reagency_init_start_REAgencyHousingMarket ( )

Definition at line 3238 of file memory.c.