Vcsn  2.2
Be Rational
vcsn::transition_tuple< State, Label, Weight > Struct Template Reference

Transition with label and non Boolean weight. More...

#include <transition.hh>

Inheritance diagram for vcsn::transition_tuple< State, Label, Weight >:
Collaboration diagram for vcsn::transition_tuple< State, Label, Weight >:

Public Types

using super_t = possibly_labeled_transition_tuple< State, Label >
 
using weight_t = Weight
 
- Public Types inherited from vcsn::possibly_labeled_transition_tuple< State, Label >
using label_t = Label
 

Public Member Functions

 transition_tuple (State s, State d, Label l, weight_t w)
 
weight_t get_weight () const
 
void set_weight (weight_t &k)
 
- Public Member Functions inherited from vcsn::possibly_labeled_transition_tuple< State, Label >
 possibly_labeled_transition_tuple (State s, State d, label_t l)
 
label_t get_label () const
 
void set_label (label_t &l)
 

Private Attributes

weight_t weight
 

Additional Inherited Members

- Public Attributes inherited from vcsn::possibly_labeled_transition_tuple< State, Label >
State src
 
State dst
 

Detailed Description

template<typename State, class Label, class Weight>
struct vcsn::transition_tuple< State, Label, Weight >

Transition with label and non Boolean weight.

Definition at line 56 of file transition.hh.

Member Typedef Documentation

template<typename State , class Label , class Weight >
using vcsn::transition_tuple< State, Label, Weight >::super_t = possibly_labeled_transition_tuple<State, Label>

Definition at line 59 of file transition.hh.

template<typename State , class Label , class Weight >
using vcsn::transition_tuple< State, Label, Weight >::weight_t = Weight

Definition at line 60 of file transition.hh.

Constructor & Destructor Documentation

template<typename State , class Label , class Weight >
vcsn::transition_tuple< State, Label, Weight >::transition_tuple ( State  s,
State  d,
Label  l,
weight_t  w 
)
inline

Definition at line 61 of file transition.hh.

Member Function Documentation

template<typename State , class Label , class Weight >
weight_t vcsn::transition_tuple< State, Label, Weight >::get_weight ( ) const
inline
template<typename State , class Label , class Weight >
void vcsn::transition_tuple< State, Label, Weight >::set_weight ( weight_t k)
inline

Member Data Documentation

template<typename State , class Label , class Weight >
weight_t vcsn::transition_tuple< State, Label, Weight >::weight
private

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