#include "graph.h"
#include "actions.h"
Go to the source code of this file.
Typedefs | |
| typedef enum _gr_generation_flags_t | gr_generation_flags_t |
| typedef _gr_generation_t | gr_generation_t |
Enumerations | |
| enum | _gr_generation_flags_t { GR_GENERATION_INC_ON_MATCH_FLAG = 0x00000001, GR_GENERATION_UPD_ON_MATCH_FLAG = 0x00000002, GR_GENERATION_INC_BEFORE_FINISH_FLAG = 0x00000004, GR_GENERATION_INC_AFTER_FINISH_FLAG = 0x00000008, GR_GENERATION_DEFAULT_FLAGS } |
Functions | |
| void | gr_install_generations (gr_graph_t *gr, gr_actions_t *acts, gr_id_t node_gen_attr, gr_id_t edge_gen_attr, unsigned flags) |
| int | gr_get_cur_generation (gr_graph_t *gr) |
| int | gr_get_next_generation (gr_graph_t *gr) |
| void | gr_set_cur_generation (gr_graph_t *gr, int count) |
Definition in file generation.h.
|
|
Generation control flags. |
|
|
The generation type. |
|
|
Generation control flags.
Definition at line 41 of file generation.h. |
|
|
Gets the current generation count.
Definition at line 206 of file generation.c. References ASSERT_GR, ASSERT_INST, and _gr_generation_t::generation. Referenced by gr_graph_add_edge(), gr_graph_add_node(), and gr_graph_set_node_type(). |
|
|
Gets the next generation count. Can be used to increase the generation manualy.
Definition at line 214 of file generation.c. References ASSERT_GR, ASSERT_INST, and _gr_generation_t::generation. |
|
||||||||||||||||||||||||
|
||||||||||||
|
Sets the current generation count.
Definition at line 222 of file generation.c. References ASSERT_GR, ASSERT_INST, and _gr_generation_t::generation. |
1.4.1