FST
openfst-1.8.2.post1
OpenFst Library
|
#include <shortest-path.h>
Public Types | |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | StateId = typename Arc::StateId |
Public Member Functions | |
ShortestPathOptions (Queue *queue, ArcFilter filter, int32_t nshortest=1, bool unique=false, bool has_distance=false, float delta=kShortestDelta, bool first_path=false, Weight weight_threshold=Weight::Zero(), StateId state_threshold=kNoStateId) | |
![]() | |
ShortestDistanceOptions (Queue *state_queue, ArcFilter arc_filter, StateId source=kNoStateId, float delta=kShortestDelta, bool first_path=false) | |
Public Attributes | |
int32_t | nshortest |
bool | unique |
bool | has_distance |
bool | first_path |
Weight | weight_threshold |
StateId | state_threshold |
![]() | |
Queue * | state_queue |
ArcFilter | arc_filter |
StateId | source |
float | delta |
bool | first_path |
Definition at line 41 of file shortest-path.h.
using fst::ShortestPathOptions< Arc, Queue, ArcFilter >::StateId = typename Arc::StateId |
Definition at line 43 of file shortest-path.h.
using fst::ShortestPathOptions< Arc, Queue, ArcFilter >::Weight = typename Arc::Weight |
Definition at line 44 of file shortest-path.h.
|
inline |
Definition at line 61 of file shortest-path.h.
bool fst::ShortestPathOptions< Arc, Queue, ArcFilter >::first_path |
Definition at line 50 of file shortest-path.h.
bool fst::ShortestPathOptions< Arc, Queue, ArcFilter >::has_distance |
Definition at line 48 of file shortest-path.h.
int32_t fst::ShortestPathOptions< Arc, Queue, ArcFilter >::nshortest |
Definition at line 46 of file shortest-path.h.
StateId fst::ShortestPathOptions< Arc, Queue, ArcFilter >::state_threshold |
Definition at line 59 of file shortest-path.h.
bool fst::ShortestPathOptions< Arc, Queue, ArcFilter >::unique |
Definition at line 47 of file shortest-path.h.
Weight fst::ShortestPathOptions< Arc, Queue, ArcFilter >::weight_threshold |
Definition at line 58 of file shortest-path.h.