Vcsn  2.3a
Be Rational
vcsn::detail::nmin_impl Class Reference

#include <nmin.hh>

Inheritance diagram for vcsn::detail::nmin_impl:
Collaboration diagram for vcsn::detail::nmin_impl:

Public Types

using super_t = min_plus_impl< nmin_impl, unsigned int >
 
using self_t = nmin
 
using value_t = typename super_t::value_t
 
- Public Types inherited from vcsn::detail::min_plus_impl< nmin_impl, unsigned int >
using self_t = nmin_impl
 
using value_t = unsigned int
 

Public Member Functions

value_t conv (std::istream &is, bool=true) const
 
std::ostream & print_set (std::ostream &o, format fmt={}) const
 
- Public Member Functions inherited from vcsn::detail::min_plus_impl< nmin_impl, unsigned int >
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 symbol sname ()
 
static nmin make (std::istream &is)
 Build from the description in is. More...
 
static value_t conv (self_t, value_t v)
 
static constexpr bool has_lightening_weights ()
 
- Static Public Member Functions inherited from vcsn::detail::min_plus_impl< nmin_impl, unsigned int >
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

Definition at line 14 of file nmin.hh.

Member Typedef Documentation

Definition at line 19 of file nmin.hh.

Definition at line 18 of file nmin.hh.

Definition at line 20 of file nmin.hh.

Member Function Documentation

static value_t vcsn::detail::nmin_impl::conv ( self_t  ,
value_t  v 
)
inlinestatic

Definition at line 37 of file nmin.hh.

References vcsn::detail::v.

value_t vcsn::detail::nmin_impl::conv ( std::istream &  is,
bool  = true 
) const
inline

Definition at line 43 of file nmin.hh.

References vcsn::detail::min_plus_impl< nmin_impl, unsigned int >::conv(), and vcsn::fail_reading().

Here is the call graph for this function:

static constexpr bool vcsn::detail::nmin_impl::has_lightening_weights ( )
inlinestatic

Definition at line 51 of file nmin.hh.

static nmin vcsn::detail::nmin_impl::make ( std::istream &  is)
inlinestatic

Build from the description in is.

Definition at line 29 of file nmin.hh.

References vcsn::eat(), and sname().

Here is the call graph for this function:

std::ostream& vcsn::detail::nmin_impl::print_set ( std::ostream &  o,
format  fmt = {} 
) const
inline

Definition at line 54 of file nmin.hh.

static symbol vcsn::detail::nmin_impl::sname ( )
inlinestatic

Definition at line 22 of file nmin.hh.

References vcsn::res.

Referenced by make().


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