FST  openfst-1.6.1
OpenFst Library
Public Types | Public Member Functions | Public Attributes | List of all members
fst::ShortestPathOptions< Arc, Queue, ArcFilter > Struct Template Reference

#include <shortest-path.h>

Inheritance diagram for fst::ShortestPathOptions< Arc, Queue, ArcFilter >:
Inheritance graph
[legend]
Collaboration diagram for fst::ShortestPathOptions< Arc, Queue, ArcFilter >:
Collaboration graph
[legend]

Public Types

using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::ShortestDistanceOptions< Arc, Queue, ArcFilter >
using StateId = typename Arc::StateId
 

Public Member Functions

 ShortestPathOptions (Queue *queue, ArcFilter filter, int32 nshortest=1, bool unique=false, bool has_distance=false, float delta=kDelta, bool first_path=false, Weight weight_threshold=Weight::Zero(), StateId state_threshold=kNoStateId)
 
- Public Member Functions inherited from fst::ShortestDistanceOptions< Arc, Queue, ArcFilter >
 ShortestDistanceOptions (Queue *state_queue, ArcFilter arc_filter, StateId source=kNoStateId, float delta=kDelta)
 

Public Attributes

int32 nshortest
 
bool unique
 
bool has_distance
 
bool first_path
 
Weight weight_threshold
 
StateId state_threshold
 
- Public Attributes inherited from fst::ShortestDistanceOptions< Arc, Queue, ArcFilter >
Queue * state_queue
 
ArcFilter arc_filter
 
StateId source
 
float delta
 
bool first_path
 

Detailed Description

template<class Arc, class Queue, class ArcFilter>
struct fst::ShortestPathOptions< Arc, Queue, ArcFilter >

Definition at line 25 of file shortest-path.h.

Member Typedef Documentation

template<class Arc, class Queue, class ArcFilter>
using fst::ShortestPathOptions< Arc, Queue, ArcFilter >::StateId = typename Arc::StateId

Definition at line 27 of file shortest-path.h.

template<class Arc, class Queue, class ArcFilter>
using fst::ShortestPathOptions< Arc, Queue, ArcFilter >::Weight = typename Arc::Weight

Definition at line 28 of file shortest-path.h.

Constructor & Destructor Documentation

template<class Arc, class Queue, class ArcFilter>
fst::ShortestPathOptions< Arc, Queue, ArcFilter >::ShortestPathOptions ( Queue *  queue,
ArcFilter  filter,
int32  nshortest = 1,
bool  unique = false,
bool  has_distance = false,
float  delta = kDelta,
bool  first_path = false,
Weight  weight_threshold = Weight::Zero(),
StateId  state_threshold = kNoStateId 
)
inline

Definition at line 42 of file shortest-path.h.

Member Data Documentation

template<class Arc, class Queue, class ArcFilter>
bool fst::ShortestPathOptions< Arc, Queue, ArcFilter >::first_path

Definition at line 34 of file shortest-path.h.

template<class Arc, class Queue, class ArcFilter>
bool fst::ShortestPathOptions< Arc, Queue, ArcFilter >::has_distance

Definition at line 32 of file shortest-path.h.

template<class Arc, class Queue, class ArcFilter>
int32 fst::ShortestPathOptions< Arc, Queue, ArcFilter >::nshortest

Definition at line 30 of file shortest-path.h.

template<class Arc, class Queue, class ArcFilter>
StateId fst::ShortestPathOptions< Arc, Queue, ArcFilter >::state_threshold

Definition at line 40 of file shortest-path.h.

template<class Arc, class Queue, class ArcFilter>
bool fst::ShortestPathOptions< Arc, Queue, ArcFilter >::unique

Definition at line 31 of file shortest-path.h.

template<class Arc, class Queue, class ArcFilter>
Weight fst::ShortestPathOptions< Arc, Queue, ArcFilter >::weight_threshold

Definition at line 39 of file shortest-path.h.


The documentation for this struct was generated from the following file: