Vcsn  2.4
Be Rational
vcsn::detail::min_plus_impl< Derived, Value > Class Template Reference

#include <min-plus.hh>

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

Public Types

using self_t = Derived
 
using value_t = Value
 

Public Member Functions

const self_tself () const
 
value_t rdivide (const value_t l, const value_t r) const
 
value_t ldivide (const value_t l, const value_t r) const
 
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 one ()
 
static value_t zero ()
 
static value_t min ()
 
static value_t max ()
 
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=std::cout, format fmt={})
 

Detailed Description

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

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

Member Typedef Documentation

template<typename Derived, typename Value>
using vcsn::detail::min_plus_impl< Derived, Value >::self_t = Derived

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Whether lhs < rhs.

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

template<typename Derived, typename Value>
static value_t vcsn::detail::min_plus_impl< Derived, Value >::max ( )
inlinestatic

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

template<typename Derived, typename Value>
static value_t vcsn::detail::min_plus_impl< Derived, Value >::min ( )
inlinestatic

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

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

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

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

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

template<typename Derived, typename Value>
value_t vcsn::detail::min_plus_impl< Derived, Value >::rdivide ( const value_t  l,
const value_t  r 
) const
inline

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

Referenced by vcsn::detail::min_plus_impl< zmin_impl, int >::ldivide().

template<typename Derived, typename Value>
const self_t& vcsn::detail::min_plus_impl< Derived, Value >::self ( ) const
inline

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

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

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

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

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

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

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

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

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

template<typename Derived, typename Value>
static value_t vcsn::detail::min_plus_impl< Derived, Value >::zero ( )
inlinestatic

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