7#if !defined(TETENGO_LATTICE_NBESTITERATOR_H)
8#define TETENGO_LATTICE_NBESTITERATOR_H
18#if defined(__cplusplus)
22#if !defined(DOCUMENTATION)
23typedef struct tetengo_lattice_nBestIterator_tag tetengo_lattice_nBestIterator_t;
40 const tetengo_lattice_lattice_t* p_lattice,
42 tetengo_lattice_constraint_t* p_constraint);
78#if defined(__cplusplus)
tetengo_lattice_nBestIterator_t * tetengo_lattice_nBestIterator_create(const tetengo_lattice_lattice_t *p_lattice, const tetengo_lattice_node_t *p_eos_node, tetengo_lattice_constraint_t *p_constraint)
Creates an iterator.
void tetengo_lattice_nBestIterator_next(tetengo_lattice_nBestIterator_t *p_iterator)
Increments the iterator.
bool tetengo_lattice_nBestIterator_hasNext(const tetengo_lattice_nBestIterator_t *p_iterator)
Returns true when the iterator will return more elements.
void tetengo_lattice_nBestIterator_destroy(const tetengo_lattice_nBestIterator_t *p_iterator)
Destroys an iterator.
tetengo_lattice_path_t * tetengo_lattice_nBestIterator_createPath(const tetengo_lattice_nBestIterator_t *p_iterator)
Dereferences the iterator.
A node.
Definition node.h:25