source: observatorio/simulacion/ModuloDinamico/io_manager.C

simulacion
Last change on this file was 16eed2b, checked in by Alejandro <amujica@…>, 9 years ago

Corregida la repeticion de arcos y las cantidades no asignadas. Agregada ubicacion de la empresa

  • Property mode set to 100644
File size: 7.6 KB
Line 
1/*
2  Copyright (C) 2012
3  Alejandro Mujica (amujica@cenditel.gob.ve)
4  Erwin Paredes (eparedes@cenditel.gob.ve)
5  José Ruiz (jruiz@cenditel.gob.ve)
6  Rodolfo Rangel (rrangel@cenditel.gob.ve)
7  Julie Vera (jvera@cenditel.gob.ve)
8 
9  CENDITEL Fundación Centro Nacional de Desarrollo e Investigación en
10  Tecnologías Libres
11 
12  Este programa es software libre; Usted puede usarlo bajo los términos de la
13  licencia de software GPL versión 2.0 de la Free Software Foundation.
14 
15  Este programa se distribuye con la esperanza de que sea útil, pero SIN
16  NINGUNA GARANTÍA; tampoco las implícitas garantías de MERCANTILIDAD o
17  ADECUACIÓN A UN PROPÓSITO PARTICULAR.
18  Consulte la licencia GPL para más detalles. Usted debe recibir una copia
19  de la GPL junto con este programa; si no, escriba a la Free Software
20  Foundation Inc. 51 Franklin Street,5 Piso, Boston, MA 02110-1301, USA.
21*/
22
23/*
24  Autor:             Alejandro J. Mujica
25  Fecha de creación: 01/08/2013
26  Este archivo contiene la implementación de la clase IO_Manager.
27*/
28
29# include <io_manager.H>
30
31const std::string IO_Manager::ZERO = "0";
32
33const std::string IO_Manager::ONE = "1";
34
35const std::string IO_Manager::UTF_8 = "UTF-8";
36
37const std::string IO_Manager::VALUE = "value";
38
39const std::string IO_Manager::PRODUCTION = "production";
40
41const std::string IO_Manager::ATTRIBUTES = "attributes";
42
43const std::string IO_Manager::YEAR = "year";
44
45const std::string IO_Manager::ROOT_NODE = "root";
46
47const std::string IO_Manager::CODE = "code";
48
49const std::string IO_Manager::RANKS = "ranks";
50
51const std::string IO_Manager::UP = "up";
52
53const std::string IO_Manager::DOWN = "down";
54
55const std::string IO_Manager::COPYRIGHT = "\
56  Copyright (C) 2012\n\
57  Alejandro Mujica (amujica@cenditel.gob.ve)\n\
58  José Ruiz (jruiz@cenditel.gob.ve)\n\
59  Julie Vera (jvera@cenditel.gob.ve)\n\n\
60  CENDITEL Fundación Centro Nacional de Desarrollo e Investigación en\n\
61  Tecnologías Libres\n\n\
62  Este programa es software libre; Usted puede usarlo bajo los términos de la\n\
63  licencia de software GPL versión 2.0 de la Free Software Foundation.\n\n\
64  Este programa se distribuye con la esperanza de que sea útil, pero SIN\n\
65  NINGUNA GARANTÍA; tampoco las implícitas garantías de MERCANTILIDAD o\n\
66  ADECUACIÓN A UN PROPÓSITO PARTICULAR.\n\
67  Consulte la licencia GPL para más detalles. Usted debe recibir una copia\n\
68  de la GPL junto con este programa; si no, escriba a la Free Software\n\
69  Foundation Inc. 51 Franklin Street,5 Piso, Boston, MA 02110-1301, USA.";
70
71const std::string IO_Manager::XML_GRAPH = "graph";
72
73const std::string IO_Manager::XML_NODES = "nodes";
74
75const std::string IO_Manager::XML_NODE = "node";
76
77const std::string IO_Manager::XML_ARCS = "arcs";
78
79const std::string IO_Manager::XML_ARC = "arc";
80
81const std::string IO_Manager::XML_SIMULATION = "simulation";
82
83const std::string IO_Manager::XML_SIMULATED_GRAPH = "simulated_graph";
84
85const std::string IO_Manager::XML_SIMULATED_NODES = "simulated_nodes";
86
87const std::string IO_Manager::XML_SIMULATED_NODE = "simulated_node";
88
89const std::string IO_Manager::XML_SIMULATED_ARCS = "simulated_arcs";
90
91const std::string IO_Manager::XML_SIMULATED_ARC = "simulated_arc";
92
93const std::string IO_Manager::XML_SIMULATED_STATES = "simulated_states";
94
95const std::string IO_Manager::XML_SIMULATED_STATE = "simulated_state";
96
97const std::string IO_Manager::XML_STATE_NUMBER = "number";
98
99const std::string IO_Manager::XML_STOCK = "stock";
100
101const std::string IO_Manager::XML_INTERNAL_REQUESTED_QUANTITY =
102  "internal_requested_quantity";
103
104const std::string IO_Manager::XML_EXTERNAL_REQUESTED_QUANTITY =
105  "external_requested_quantity";
106
107const std::string IO_Manager::XML_TOTAL_REQUESTED_QUANTITY =
108  "total_requested_quantity";
109
110const std::string IO_Manager::XML_DAILY_WAGE = "daily_wage";
111
112const std::string IO_Manager::XML_OTHER_WAGE = "other_wage";
113
114const std::string IO_Manager::XML_OTHER_DAILY_WAGE = "other_daily_wage";
115
116const std::string IO_Manager::XML_DAILY_FEEDING_COUPON = "daily_feeding_coupon";
117
118const std::string IO_Manager::XML_FEEDING_COUPON = "feeding_coupon";
119
120const std::string IO_Manager::XML_INTEGRAL_WAGE = "integral_wage";
121
122const std::string IO_Manager::XML_ADMINISTRATIVE_STAFF_COST =
123  "administrative_staff_cost";
124
125const std::string IO_Manager::XML_LABOR_COST = "labor_cost";
126
127const std::string IO_Manager::XML_INPUT_COST = "input_cost";
128
129const std::string IO_Manager::XML_TOTAL_COST = "total_cost";
130
131const std::string IO_Manager::XML_UNITARIAN_ADMINISTRATIVE_STAFF_COST =
132  "unitarian_administrative_staff_cost";
133
134const std::string IO_Manager::XML_UNITARIAN_LABOR_COST =
135  "unitarian_labor_cost";
136
137const std::string IO_Manager::XML_INPUT_COST_PER_UNIT = "input_cost_per_unit";
138
139const std::string IO_Manager::XML_OTHER_UNITARIAN_COST = "other_unitarian_cost";
140
141const std::string IO_Manager::XML_INCOME = "income";
142
143const std::string IO_Manager::XML_ECONOMIC_STATUS = "economic_status";
144
145const std::string IO_Manager::XML_OPTION = "option";
146
147const std::string IO_Manager::XML_VARIATION = "variation";
148
149const std::string IO_Manager::XML_POSITION = "position";
150
151const std::string IO_Manager::XML_LEVEL = "level";
152
153const std::string IO_Manager::XML_COMPANY_NAME = "company_name";
154
155const std::string IO_Manager::XML_COMPANY_RIF = "company_rif";
156
157const std::string IO_Manager::XML_COMPANY_LOCATION = "company_location";
158
159const std::string IO_Manager::XML_COMPANY_NATIONALITY = "company_nationality";
160
161const std::string IO_Manager::XML_PRODUCT_ID = "product_id";
162
163const std::string IO_Manager::XML_PRODUCT_NAME = "product_name";
164
165const std::string IO_Manager::XML_TARIFF_CODE = "tariff_code";
166
167const std::string IO_Manager::XML_MEASUREMENT_UNIT = "measurement_unit";
168
169const std::string IO_Manager::XML_QUANTITY = "quantity";
170
171const std::string IO_Manager::XML_REQ_QUANTITY = "req_quantity";
172
173const std::string IO_Manager::XML_BOUGHT_QUANTITY = "bought_quantity";
174
175const std::string IO_Manager::XML_UNITARIAN_PRICE = "unitarian_price";
176
177const std::string IO_Manager::XML_TYPE = "type";
178
179const std::string IO_Manager::XML_SRC = "src";
180
181const std::string IO_Manager::XML_TGT = "tgt";
182
183const std::string IO_Manager::XML_INPUT_ID = "input_id";
184
185const std::string IO_Manager::XML_PURCHASE_PRICE = "purchase_price";
186
187const std::string IO_Manager::XML_PRODUCTION_CAPACITY = "production_capacity";
188
189const std::string IO_Manager::XML_PRODUCTION = "production";
190
191const std::string IO_Manager::XML_INTERNAL_SALES = "internal_sales";
192
193const std::string IO_Manager::XML_EXTERNAL_SALES = "external_sales";
194
195const std::string IO_Manager::XML_WORKDAY = "workday";
196
197const std::string IO_Manager::XML_NUM_ADMINISTRATIVE_STAFF =
198  "num_administrative_staff";
199
200const std::string IO_Manager::XML_NUM_EMPLOYEES = "num_employees";
201
202const std::string IO_Manager::XML_PRICE = "price";
203
204const std::string IO_Manager::XML_OTHER_COST = "other_cost";
205
206const std::string IO_Manager::XML_IMPORTS = "imports";
207
208const std::string IO_Manager::XML_SALE = "sale";
209
210const std::string IO_Manager::XML_REQUESTED_QUANTITY = "requested_quantity";
211
212const std::string IO_Manager::XML_EXOGENOUS_VARIABLES = "exogenous_variables";
213
214const std::string IO_Manager::XML_AVERAGE_SALARY = "average_salary";
215
216const std::string IO_Manager::XML_RATE_OF_CHANGE_OF_SALARY =
217  "rate_of_change_of_salary";
218
219const std::string IO_Manager::XML_RATE_OF_GAIN = "rate_of_gain";
220
221const std::string IO_Manager::XML_RATE_OF_PRICE_CHANGE = "rate_of_price_change";
222
223const std::string IO_Manager::XML_RATE_OF_CHANGE_IN_FINAL_DEMAND =
224  "rate_of_change_in_final_demand";
225
226const std::string IO_Manager::XML_NOMINAL_EXCHANGE_RATE =
227  "nominal_exchange_rate";
228
229const std::string IO_Manager::XML_UT = "UT";
230
231const std::string IO_Manager::XML_SIGMA = "sigma";
232
233const std::string IO_Manager::XML_NUM_IT = "num_it";
234
Note: See TracBrowser for help on using the repository browser.