FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::PdtShortestPath< Arc, Queue > Class Template Reference

#include <shortest-path.h>

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using SpData = internal::PdtShortestPathData< Arc >
 
using SearchState = typename SpData::SearchState
 
using ParenSpec = typename SpData::ParenSpec
 
using CloseSourceIterator = typename internal::PdtBalanceData< Arc >::SetIterator
 
using CloseParenMultimap = std::unordered_multimap< internal::ParenState< Arc >, Arc, typename internal::ParenState< Arc >::Hash >
 

Public Member Functions

 PdtShortestPath (const Fst< Arc > &ifst, const std::vector< std::pair< Label, Label >> &parens, const PdtShortestPathOptions< Arc, Queue > &opts)
 
 ~PdtShortestPath ()
 
void ShortestPath (MutableFst< Arc > *ofst)
 
const internal::PdtShortestPathData< Arc > & GetShortestPathData () const
 
internal::PdtBalanceData< Arc > * GetBalanceData ()
 
const CloseParenMultimapGetCloseParenMultimap () const
 

Detailed Description

template<class Arc, class Queue>
class fst::PdtShortestPath< Arc, Queue >

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

Member Typedef Documentation

template<class Arc, class Queue>
using fst::PdtShortestPath< Arc, Queue >::CloseParenMultimap = std::unordered_multimap<internal::ParenState<Arc>, Arc, typename internal::ParenState<Arc>::Hash>

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

template<class Arc, class Queue>
using fst::PdtShortestPath< Arc, Queue >::CloseSourceIterator = typename internal::PdtBalanceData<Arc>::SetIterator

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

template<class Arc, class Queue>
using fst::PdtShortestPath< Arc, Queue >::Label = typename Arc::Label

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

template<class Arc, class Queue>
using fst::PdtShortestPath< Arc, Queue >::ParenSpec = typename SpData::ParenSpec

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

template<class Arc, class Queue>
using fst::PdtShortestPath< Arc, Queue >::SearchState = typename SpData::SearchState

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

template<class Arc, class Queue>
using fst::PdtShortestPath< Arc, Queue >::SpData = internal::PdtShortestPathData<Arc>

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

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

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

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

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

Constructor & Destructor Documentation

template<class Arc, class Queue>
fst::PdtShortestPath< Arc, Queue >::PdtShortestPath ( const Fst< Arc > &  ifst,
const std::vector< std::pair< Label, Label >> &  parens,
const PdtShortestPathOptions< Arc, Queue > &  opts 
)
inline

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

template<class Arc, class Queue>
fst::PdtShortestPath< Arc, Queue >::~PdtShortestPath ( )
inline

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

Member Function Documentation

template<class Arc, class Queue>
internal::PdtBalanceData<Arc>* fst::PdtShortestPath< Arc, Queue >::GetBalanceData ( )
inline

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

template<class Arc, class Queue>
const CloseParenMultimap& fst::PdtShortestPath< Arc, Queue >::GetCloseParenMultimap ( ) const
inline

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

template<class Arc, class Queue>
const internal::PdtShortestPathData<Arc>& fst::PdtShortestPath< Arc, Queue >::GetShortestPathData ( ) const
inline

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

template<class Arc, class Queue>
void fst::PdtShortestPath< Arc, Queue >::ShortestPath ( MutableFst< Arc > *  ofst)
inline

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


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