Vcsn  2.3
Be Rational
vcsn::detail::naive_profiler< Aut >::state_profile Struct Reference

The state profile is the product of the number of (strictly) incoming transitions with the number of (strictly) outgoing ones, and whether it has loops. More...

#include <to-expression.hh>

Collaboration diagram for vcsn::detail::naive_profiler< Aut >::state_profile:

Public Member Functions

 state_profile (state_t state)
 
bool operator< (const state_profile &rhs) const
 

Public Attributes

size_t size_
 Number of strictly incoming transitions, times the number of strictly outgoing transitions. More...
 
bool has_loop_ = false
 
state_t state_
 

Friends

std::ostream & operator<< (std::ostream &o, const state_profile &p)
 

Detailed Description

template<Automaton Aut>
struct vcsn::detail::naive_profiler< Aut >::state_profile

The state profile is the product of the number of (strictly) incoming transitions with the number of (strictly) outgoing ones, and whether it has loops.

Definition at line 40 of file to-expression.hh.

Constructor & Destructor Documentation

template<Automaton Aut>
vcsn::detail::naive_profiler< Aut >::state_profile::state_profile ( state_t  state)
inline

Definition at line 42 of file to-expression.hh.

Member Function Documentation

Friends And Related Function Documentation

template<Automaton Aut>
std::ostream& operator<< ( std::ostream &  o,
const state_profile p 
)
friend

Definition at line 52 of file to-expression.hh.

Member Data Documentation

template<Automaton Aut>
bool vcsn::detail::naive_profiler< Aut >::state_profile::has_loop_ = false
template<Automaton Aut>
size_t vcsn::detail::naive_profiler< Aut >::state_profile::size_

Number of strictly incoming transitions, times the number of strictly outgoing transitions.

Definition at line 61 of file to-expression.hh.

Referenced by vcsn::detail::naive_profiler< Aut >::state_profile::operator<(), and vcsn::detail::naive_profiler< Aut >::update().

template<Automaton Aut>
state_t vcsn::detail::naive_profiler< Aut >::state_profile::state_

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