Vcsn  2.2
Be Rational
vcsn::detail::transition_less< Aut > Struct Template Reference

Compare transitions of an automaton. More...

#include <sort.hh>

Collaboration diagram for vcsn::detail::transition_less< Aut >:

Public Types

using automaton_t = Aut
 
using transition_t = transition_t_of< automaton_t >
 

Public Member Functions

 transition_less (const automaton_t &a)
 
ATTRIBUTE_PURE bool operator() (const transition_t l, const transition_t r) const
 

Private Attributes

automaton_t aut_
 

Detailed Description

template<Automaton Aut>
struct vcsn::detail::transition_less< Aut >

Compare transitions of an automaton.

Sort by label, and then by destination state. To be applied to outgoing transitions of a state.

Definition at line 23 of file sort.hh.

Member Typedef Documentation

template<Automaton Aut>
using vcsn::detail::transition_less< Aut >::automaton_t = Aut

Definition at line 25 of file sort.hh.

template<Automaton Aut>
using vcsn::detail::transition_less< Aut >::transition_t = transition_t_of<automaton_t>

Definition at line 26 of file sort.hh.

Constructor & Destructor Documentation

template<Automaton Aut>
vcsn::detail::transition_less< Aut >::transition_less ( const automaton_t a)
inline

Definition at line 28 of file sort.hh.

Member Function Documentation

template<Automaton Aut>
ATTRIBUTE_PURE bool vcsn::detail::transition_less< Aut >::operator() ( const transition_t  l,
const transition_t  r 
) const
inline

Definition at line 33 of file sort.hh.

References vcsn::detail::transition_less< Aut >::aut_.

Member Data Documentation

template<Automaton Aut>
automaton_t vcsn::detail::transition_less< Aut >::aut_
private

Definition at line 47 of file sort.hh.

Referenced by vcsn::detail::transition_less< Aut >::operator()().


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