![]() |
Vcsn
2.8
Be Rational
|
#include <min-plus.hh>
Public Types | |
using | self_t = Derived |
using | value_t = Value |
Public Member Functions | |
const self_t & | self () 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 |
value_t | conv (std::istream &is, bool=true) 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 int | compare (const value_t l, const value_t r) |
Three-way comparison between l and r. More... | |
static bool | equal (const value_t l, const value_t r) |
Whether l == r. More... | |
static bool | less (value_t l, value_t r) |
Whether l < r. 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 std::ostream & | print (const value_t v, std::ostream &o=std::cout, format fmt={}) |
Definition at line 18 of file min-plus.hh.
using vcsn::detail::min_plus_impl< Derived, Value >::self_t = Derived |
Definition at line 21 of file min-plus.hh.
using vcsn::detail::min_plus_impl< Derived, Value >::value_t = Value |
Definition at line 22 of file min-plus.hh.
|
inlinestatic |
Definition at line 30 of file min-plus.hh.
|
inlinestatic |
Three-way comparison between l and r.
Definition at line 91 of file min-plus.hh.
|
inlinestatic |
Definition at line 149 of file min-plus.hh.
|
inline |
Definition at line 155 of file min-plus.hh.
|
inlinestatic |
Whether l == r.
Definition at line 98 of file min-plus.hh.
|
inlinestatic |
Definition at line 143 of file min-plus.hh.
|
inlinestatic |
Definition at line 128 of file min-plus.hh.
|
inlinestatic |
Definition at line 129 of file min-plus.hh.
|
inlinestatic |
Definition at line 123 of file min-plus.hh.
|
inlinestatic |
Definition at line 111 of file min-plus.hh.
|
inlinestatic |
Definition at line 117 of file min-plus.hh.
Referenced by vcsn::detail::min_plus_impl< zmin_impl, int >::mul(), vcsn::detail::min_plus_impl< zmin_impl, int >::print(), and vcsn::detail::min_plus_impl< zmin_impl, int >::rdivide().
|
inline |
Definition at line 51 of file min-plus.hh.
|
inlinestatic |
Whether l < r.
Definition at line 105 of file min-plus.hh.
|
inlinestatic |
Definition at line 84 of file min-plus.hh.
|
inlinestatic |
Definition at line 78 of file min-plus.hh.
|
inlinestatic |
Definition at line 36 of file min-plus.hh.
|
inlinestatic |
Definition at line 66 of file min-plus.hh.
Referenced by vcsn::detail::min_plus_impl< zmin_impl, int >::conv(), vcsn::detail::min_plus_impl< zmin_impl, int >::is_one(), and vcsn::detail::min_plus_impl< zmin_impl, int >::star().
|
inlinestatic |
Definition at line 173 of file min-plus.hh.
|
inline |
Definition at line 44 of file min-plus.hh.
Referenced by vcsn::detail::min_plus_impl< zmin_impl, int >::ldivide().
|
inline |
Definition at line 24 of file min-plus.hh.
|
inlinestatic |
Definition at line 131 of file min-plus.hh.
|
inline |
Definition at line 57 of file min-plus.hh.
|
inlinestatic |
Definition at line 132 of file min-plus.hh.
|
inlinestatic |
Definition at line 138 of file min-plus.hh.
|
inlinestatic |
Definition at line 72 of file min-plus.hh.
Referenced by vcsn::detail::min_plus_impl< zmin_impl, int >::conv(), vcsn::detail::min_plus_impl< zmin_impl, int >::is_zero(), and vcsn::detail::min_plus_impl< zmin_impl, int >::mul().