FST  openfst-1.7.0
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 310 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 373 of file shortest-path.h.

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 314 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 322 of file shortest-path.h.

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

Definition at line 349 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 367 of file shortest-path.h.

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

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

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

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

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

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


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