HFST - Helsinki Finite-State Transducer Technology API  version 3.7.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
HfstFastTransitionData Class Reference

One implementation of template class C in HfstTransition. More...

#include <HfstFastTransitionData.h>

Public Types

typedef unsigned int SymbolType
 The input and output symbol type. More...
 
typedef std::set< SymbolTypeSymbolTypeSet
 A set of symbols. More...
 
typedef float WeightType
 The weight type. More...
 

Public Member Functions

SymbolType get_input_symbol () const
 Get the input symbol. More...
 
SymbolType get_output_symbol () const
 Get the output symbol. More...
 
WeightType get_weight () const
 Get the weight. More...
 
 HfstFastTransitionData ()
 Create an HfstFastTransitionData with input and output numbers and weight zero. More...
 
 HfstFastTransitionData (const HfstFastTransitionData &data)
 Create a deep copy of HfstFastTransitionData data. More...
 
 HfstFastTransitionData (SymbolType inumber, SymbolType onumber, WeightType weight)
 Create an HfstFastTransitionData with input number inumber, output number onumber and weight weight. More...
 
bool operator< (const HfstFastTransitionData &another) const
 Whether this transition is less than transition another. More...
 

Detailed Description

One implementation of template class C in HfstTransition.

An HfstFastTransitionData has an input number and an output number of type SymbolType (an unsigned int) and a weight of type WeightType (a float).

Member Typedef Documentation

typedef unsigned int SymbolType

The input and output symbol type.

typedef std::set<SymbolType> SymbolTypeSet

A set of symbols.

typedef float WeightType

The weight type.

Constructor & Destructor Documentation

Create an HfstFastTransitionData with input and output numbers and weight zero.

Create a deep copy of HfstFastTransitionData data.

HfstFastTransitionData ( SymbolType  inumber,
SymbolType  onumber,
WeightType  weight 
)
inline

Create an HfstFastTransitionData with input number inumber, output number onumber and weight weight.

Member Function Documentation

SymbolType get_input_symbol ( ) const
inline

Get the input symbol.

SymbolType get_output_symbol ( ) const
inline

Get the output symbol.

WeightType get_weight ( ) const
inline

Get the weight.

bool operator< ( const HfstFastTransitionData another) const
inline

Whether this transition is less than transition another.


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