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

fst::GallicArc< A, S > Struct Template Reference

#include <fst/arc.h>

Collaboration diagram for fst::GallicArc< A, S >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef A Arc
typedef A::Label Label
typedef A::StateId StateId
typedef GallicWeight< Label,
typename A::Weight, S > 
Weight

Public Member Functions

 GallicArc ()
 GallicArc (Label i, Label o, Weight w, StateId s)
 GallicArc (const A &arc)

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, StringType S = STRING_LEFT>
struct fst::GallicArc< A, S >

Arc with label and state Id type the same as template arg and with weights over the Gallic semiring w.r.t the output labels and weights of A.

Definition at line 102 of file arc.h.


Member Typedef Documentation

template<class A , StringType S = STRING_LEFT>
typedef A fst::GallicArc< A, S >::Arc

Definition at line 103 of file arc.h.

template<class A , StringType S = STRING_LEFT>
typedef A::Label fst::GallicArc< A, S >::Label

Definition at line 104 of file arc.h.

template<class A , StringType S = STRING_LEFT>
typedef A::StateId fst::GallicArc< A, S >::StateId

Definition at line 105 of file arc.h.

template<class A , StringType S = STRING_LEFT>
typedef GallicWeight<Label, typename A::Weight, S> fst::GallicArc< A, S >::Weight

Definition at line 106 of file arc.h.


Constructor & Destructor Documentation

template<class A , StringType S = STRING_LEFT>
fst::GallicArc< A, S >::GallicArc (  )  [inline]

Definition at line 108 of file arc.h.

template<class A , StringType S = STRING_LEFT>
fst::GallicArc< A, S >::GallicArc ( Label  i,
Label  o,
Weight  w,
StateId  s 
) [inline]

Definition at line 110 of file arc.h.

template<class A , StringType S = STRING_LEFT>
fst::GallicArc< A, S >::GallicArc ( const A &  arc  )  [inline]

Definition at line 113 of file arc.h.


Member Function Documentation

template<class A , StringType S = STRING_LEFT>
static const string& fst::GallicArc< A, S >::Type ( void   )  [inline, static]

Definition at line 117 of file arc.h.


Member Data Documentation

template<class A , StringType S = STRING_LEFT>
Label fst::GallicArc< A, S >::ilabel

Transition input label.

Definition at line 126 of file arc.h.

template<class A , StringType S = STRING_LEFT>
StateId fst::GallicArc< A, S >::nextstate

Transition destination state.

Definition at line 129 of file arc.h.

template<class A , StringType S = STRING_LEFT>
Label fst::GallicArc< A, S >::olabel

Transition output label.

Definition at line 127 of file arc.h.

template<class A , StringType S = STRING_LEFT>
Weight fst::GallicArc< A, S >::weight

Transition weight.

Definition at line 128 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