Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

fst::SparsePowerArc< A, K > Struct Template Reference

#include <fst/arc.h>

Collaboration diagram for fst::SparsePowerArc< A, K >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef A Arc
typedef A::Label Label
typedef A::StateId StateId
typedef SparsePowerWeight
< typename A::Weight, K > 
Weight

Public Member Functions

 SparsePowerArc ()
 SparsePowerArc (Label i, Label o, Weight w, StateId s)

Static Public Member Functions

static const string & Type ()

Public Attributes

Label ilabel
 Transition input label.
Label olabel
 Transition output label.
Weight weight
 Transition weight.
StateId nextstate
 Transition destination state.

Detailed Description

template<class A, class K = int>
struct fst::SparsePowerArc< A, K >

Arc with label and state Id type the same as first template arg and with weights over the arbitrary cartesian power of the weight type.

Definition at line 241 of file arc.h.


Member Typedef Documentation

template<class A , class K = int>
typedef A fst::SparsePowerArc< A, K >::Arc

Definition at line 242 of file arc.h.

template<class A , class K = int>
typedef A::Label fst::SparsePowerArc< A, K >::Label

Definition at line 243 of file arc.h.

template<class A , class K = int>
typedef A::StateId fst::SparsePowerArc< A, K >::StateId

Definition at line 244 of file arc.h.

template<class A , class K = int>
typedef SparsePowerWeight<typename A::Weight, K> fst::SparsePowerArc< A, K >::Weight

Definition at line 245 of file arc.h.


Constructor & Destructor Documentation

template<class A , class K = int>
fst::SparsePowerArc< A, K >::SparsePowerArc (  )  [inline]

Definition at line 247 of file arc.h.

template<class A , class K = int>
fst::SparsePowerArc< A, K >::SparsePowerArc ( Label  i,
Label  o,
Weight  w,
StateId  s 
) [inline]

Definition at line 249 of file arc.h.


Member Function Documentation

template<class A , class K = int>
static const string& fst::SparsePowerArc< A, K >::Type ( void   )  [inline, static]

Definition at line 252 of file arc.h.


Member Data Documentation

template<class A , class K = int>
Label fst::SparsePowerArc< A, K >::ilabel

Transition input label.

Definition at line 263 of file arc.h.

template<class A , class K = int>
StateId fst::SparsePowerArc< A, K >::nextstate

Transition destination state.

Definition at line 266 of file arc.h.

template<class A , class K = int>
Label fst::SparsePowerArc< A, K >::olabel

Transition output label.

Definition at line 264 of file arc.h.

template<class A , class K = int>
Weight fst::SparsePowerArc< A, K >::weight

Transition weight.

Definition at line 265 of file arc.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines