7#if !defined(TETENGO_LATTICE_PATH_H)
8#define TETENGO_LATTICE_PATH_H
16#if defined(__cplusplus)
20#if !defined(DOCUMENTATION)
21typedef struct tetengo_lattice_path_tag tetengo_lattice_path_t;
82#if defined(__cplusplus)
tetengo_lattice_path_t * tetengo_lattice_path_createEmpty()
Creates an empty path.
tetengo_lattice_path_t * tetengo_lattice_path_create(const tetengo_lattice_node_t *p_nodes, size_t node_count, int cost)
Creates a path.
int tetengo_lattice_path_cost(const tetengo_lattice_path_t *p_path)
Returns the cost.
size_t tetengo_lattice_path_pNodes(const tetengo_lattice_path_t *p_path, tetengo_lattice_node_t *p_nodes)
Returns the nodes.
bool tetengo_lattice_path_empty(const tetengo_lattice_path_t *p_path)
Returns true when this path is empty.
void tetengo_lattice_path_destroy(const tetengo_lattice_path_t *p_path)
Destroys a path.
A node.
Definition node.h:25