forked from anubhav-gres/VAL-4.2.08
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDebugWriteController.cpp
More file actions
283 lines (229 loc) · 6.43 KB
/
DebugWriteController.cpp
File metadata and controls
283 lines (229 loc) · 6.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
/************************************************************************
* Copyright 2008, Strathclyde Planning Group,
* Department of Computer and Information Sciences,
* University of Strathclyde, Glasgow, UK
* http://planning.cis.strath.ac.uk/
*
* Maria Fox, Richard Howey and Derek Long - VAL
* Stephen Cresswell - PDDL Parser
*
* This file is part of VAL, the PDDL validator.
*
* VAL is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* VAL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with VAL. If not, see <http://www.gnu.org/licenses/>.
*
************************************************************************/
#include <iostream>
#include "DebugWriteController.h"
namespace VAL {
void DebugWriteController::write_symbol(ostream & o,const symbol * p)
{
p->display(indent);
};
void DebugWriteController::write_const_symbol(ostream & o,const const_symbol * p)
{
p->display(indent);
};
void DebugWriteController::write_var_symbol(ostream & o,const var_symbol * p)
{
p->display(indent);
};
void DebugWriteController::write_pddl_typed_symbol(ostream & o,const pddl_typed_symbol * p)
{
p->display(indent);
};
void DebugWriteController::write_plus_expression(ostream & o,const plus_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_minus_expression(ostream & o,const minus_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_mul_expression(ostream & o,const mul_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_div_expression(ostream & o,const div_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_uminus_expression(ostream & o,const uminus_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_int_expression(ostream & o,const int_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_float_expression(ostream & o,const float_expression * p)
{
p->display(indent);
};
void DebugWriteController::write_special_val_expr(ostream & o,const special_val_expr * p)
{
p->display(indent);
};
void DebugWriteController::write_func_term(ostream & o,const func_term * p)
{
p->display(indent);
};
void DebugWriteController::write_assignment(ostream & o,const assignment * p)
{
p->display(indent);
};
void DebugWriteController::write_goal_list(ostream & o,const goal_list * p)
{
p->display(indent);
};
void DebugWriteController::write_simple_goal(ostream & o,const simple_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_qfied_goal(ostream & o,const qfied_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_conj_goal(ostream & o,const conj_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_disj_goal(ostream & o,const disj_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_timed_goal(ostream & o,const timed_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_imply_goal(ostream & o,const imply_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_neg_goal(ostream & o,const neg_goal * p)
{
p->display(indent);
};
void DebugWriteController::write_comparison(ostream & o,const comparison * p)
{
p->display(indent);
};
void DebugWriteController::write_proposition(ostream & o,const proposition * p)
{
p->display(indent);
};
void DebugWriteController::write_pred_decl_list(ostream & o,const pred_decl_list * p)
{
p->display(indent);
};
void DebugWriteController::write_func_decl_list(ostream & o,const func_decl_list * p)
{
p->display(indent);
};
void DebugWriteController::write_pred_decl(ostream & o,const pred_decl * p)
{
p->display(indent);
};
void DebugWriteController::write_func_decl(ostream & o,const func_decl * p)
{
p->display(indent);
};
void DebugWriteController::write_simple_effect(ostream & o,const simple_effect * p)
{
p->display(indent);
};
void DebugWriteController::write_forall_effect(ostream & o,const forall_effect * p)
{
p->display(indent);
};
void DebugWriteController::write_cond_effect(ostream & o,const cond_effect * p)
{
p->display(indent);
};
void DebugWriteController::write_timed_effect(ostream & o,const timed_effect * p)
{
p->display(indent);
};
void DebugWriteController::write_timed_initial_literal(ostream & o,const timed_initial_literal * p)
{
p->display(indent);
};
void DebugWriteController::write_effect_lists(ostream & o,const effect_lists * p)
{
p->display(indent);
};
void DebugWriteController::write_operator_list(ostream & o,const operator_list * p)
{
p->display(indent);
};
void DebugWriteController::write_derivations_list(ostream & o,const derivations_list * d)
{
d->display(indent);
};
void DebugWriteController::write_derivation_rule(ostream & o,const derivation_rule * d)
{
d->display(indent);
};
void DebugWriteController::write_operator_(ostream & o,const operator_ * p)
{
p->display(indent);
};
void DebugWriteController::write_action(ostream & o,const action * p)
{
p->display(indent);
};
void DebugWriteController::write_event(ostream & o,const event * p)
{
p->display(indent);
};
void DebugWriteController::write_process(ostream & o,const process * p)
{
p->display(indent);
};
void DebugWriteController::write_durative_action(ostream & o,const durative_action * p)
{
p->display(indent);
};
void DebugWriteController::write_domain(ostream & o,const domain * p)
{
p->display(indent);
};
void DebugWriteController::write_metric_spec(ostream & o,const metric_spec * p)
{
p->display(indent);
};
void DebugWriteController::write_length_spec(ostream & o,const length_spec * p)
{
p->display(indent);
};
void DebugWriteController::write_problem(ostream & o,const problem * p)
{
p->display(indent);
};
void DebugWriteController::write_plan_step(ostream & o,const plan_step * p)
{
p->display(indent);
};
void DebugWriteController::write_preference(ostream & o,const preference * p)
{
p->display(indent);
};
void DebugWriteController::write_constraint_goal(ostream & o,const constraint_goal * cg)
{
cg->display(indent);
};
void DebugWriteController::write_violation_term(ostream & o,const violation_term * vt)
{
vt->display(indent);
};
};