Vcsn  2.2
Be Rational
vcsn::detail::min_plus_impl< Value > Class Template Reference

#include <min-plus.hh>

Inheritance diagram for vcsn::detail::min_plus_impl< Value >:
Collaboration diagram for vcsn::detail::min_plus_impl< Value >:

Public Types

using value_t = Value
 

Public Member Functions

value_t star (const value_t v) const
 

Static Public Member Functions

static value_t add (const value_t l, const value_t r)
 
static value_t mul (const value_t l, const value_t r)
 
static value_t rdiv (const value_t l, const value_t r)
 
static value_t ldiv (const value_t l, const value_t r)
 
static value_t one ()
 
static value_t zero ()
 
static bool equal (const value_t l, const value_t r)
 
static bool less (value_t lhs, value_t rhs)
 Whether lhs < rhs. More...
 
static constexpr bool is_special (value_t)
 
static bool is_zero (const value_t v)
 
static bool is_one (const value_t v)
 
static constexpr bool is_commutative ()
 
static constexpr bool is_idempotent ()
 
static constexpr bool show_one ()
 
static constexpr star_status_t star_status ()
 
static value_t transpose (const value_t v)
 
static size_t hash (value_t v)
 
static value_t conv (b, b::value_t v)
 
static value_t conv (std::istream &is, bool=true)
 
static std::ostream & print (const value_t v, std::ostream &o, format fmt={})
 

Detailed Description

template<typename Value>
class vcsn::detail::min_plus_impl< Value >

Definition at line 18 of file min-plus.hh.

Member Typedef Documentation

template<typename Value>
using vcsn::detail::min_plus_impl< Value >::value_t = Value

Definition at line 21 of file min-plus.hh.

Member Function Documentation

template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::add ( const value_t  l,
const value_t  r 
)
inlinestatic

Definition at line 24 of file min-plus.hh.

template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::conv ( b  ,
b::value_t  v 
)
inlinestatic

Definition at line 122 of file min-plus.hh.

template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::conv ( std::istream &  is,
bool  = true 
)
inlinestatic

Definition at line 128 of file min-plus.hh.

template<typename Value>
static bool vcsn::detail::min_plus_impl< Value >::equal ( const value_t  l,
const value_t  r 
)
inlinestatic

Definition at line 73 of file min-plus.hh.

template<typename Value>
static size_t vcsn::detail::min_plus_impl< Value >::hash ( value_t  v)
inlinestatic

Definition at line 116 of file min-plus.hh.

template<typename Value>
static constexpr bool vcsn::detail::min_plus_impl< Value >::is_commutative ( )
inlinestatic

Definition at line 101 of file min-plus.hh.

template<typename Value>
static constexpr bool vcsn::detail::min_plus_impl< Value >::is_idempotent ( )
inlinestatic

Definition at line 102 of file min-plus.hh.

template<typename Value>
static bool vcsn::detail::min_plus_impl< Value >::is_one ( const value_t  v)
inlinestatic

Definition at line 96 of file min-plus.hh.

template<typename Value>
static constexpr bool vcsn::detail::min_plus_impl< Value >::is_special ( value_t  )
inlinestatic

Definition at line 84 of file min-plus.hh.

template<typename Value>
static bool vcsn::detail::min_plus_impl< Value >::is_zero ( const value_t  v)
inlinestatic
template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::ldiv ( const value_t  l,
const value_t  r 
)
inlinestatic

Definition at line 45 of file min-plus.hh.

template<typename Value>
static bool vcsn::detail::min_plus_impl< Value >::less ( value_t  lhs,
value_t  rhs 
)
inlinestatic

Whether lhs < rhs.

Definition at line 79 of file min-plus.hh.

template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::mul ( const value_t  l,
const value_t  r 
)
inlinestatic

Definition at line 30 of file min-plus.hh.

template<typename Value>
static std::ostream& vcsn::detail::min_plus_impl< Value >::print ( const value_t  v,
std::ostream &  o,
format  fmt = {} 
)
inlinestatic

Definition at line 145 of file min-plus.hh.

template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::rdiv ( const value_t  l,
const value_t  r 
)
inlinestatic

Definition at line 38 of file min-plus.hh.

Referenced by vcsn::detail::min_plus_impl< unsigned int >::ldiv().

template<typename Value>
static constexpr bool vcsn::detail::min_plus_impl< Value >::show_one ( )
inlinestatic

Definition at line 104 of file min-plus.hh.

template<typename Value>
value_t vcsn::detail::min_plus_impl< Value >::star ( const value_t  v) const
inline

Definition at line 51 of file min-plus.hh.

template<typename Value>
static constexpr star_status_t vcsn::detail::min_plus_impl< Value >::star_status ( )
inlinestatic

Definition at line 105 of file min-plus.hh.

template<typename Value>
static value_t vcsn::detail::min_plus_impl< Value >::transpose ( const value_t  v)
inlinestatic

Definition at line 111 of file min-plus.hh.


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