Vcsn  2.8
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_ = 0
 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 39 of file to-expression.hh.

Constructor & Destructor Documentation

◆ state_profile()

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

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

Member Function Documentation

◆ operator<()

Friends And Related Function Documentation

◆ operator<<

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

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

Member Data Documentation

◆ has_loop_

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

◆ size_

template<Automaton Aut>
size_t vcsn::detail::naive_profiler< Aut >::state_profile::size_ = 0

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

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

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

◆ state_


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