tmkit  0.0.1-alpha1
A Task-Motion Planning Framework
 All Data Structures Files Functions Enumerations Enumerator Pages
pddl.h
1 #ifndef AMINO_RX_PDDL_C_H
2 #define AMINO_RX_PDDL_C_H
3 
4 #include <stddef.h>
5 #include <stdbool.h>
6 
9 typedef int tmp_pd_action_pre(const unsigned * vars);
10 
11 typedef void tmp_pd_action_eff(unsigned * vars);
12 
14 {
15  size_t n_type; // Number of types
16  const unsigned * type; // Array containing the number of elements of each type
17 
18  // Array containing the domain of the grounded functions,
19  // represented by the index of the domain type
20  size_t n_func;
21  const unsigned * func;
22  const char ** func_name;
23 
24  // Action precondition and action effect
25  size_t n_action;
26  tmp_pd_action_pre ** action_precon;
27  tmp_pd_action_eff ** action_effect;
28  const char ** action_name;
29 
30 
31 };
32 
33 #endif
Definition: pddl.h:13