All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
ArithmeticSemiring Class Reference

add: arithmetic add mult: arithmetic multiplication zero: 0 one: 1 codomain = (-infty, +infty) More...

#include <Semirings.h>

Public Member Functions

 ArithmeticSemiring ()=default
 
virtual ~ArithmeticSemiring ()=default
 

Static Public Member Functions

static double add (double a, double b)
 
static double mult (double a, double b)
 
static double zero ()
 
static double one ()
 

Detailed Description

add: arithmetic add mult: arithmetic multiplication zero: 0 one: 1 codomain = (-infty, +infty)

Constructor & Destructor Documentation

ArithmeticSemiring::ArithmeticSemiring ( )
default
virtual ArithmeticSemiring::~ArithmeticSemiring ( )
virtualdefault

Member Function Documentation

static double ArithmeticSemiring::add ( double  a,
double  b 
)
inlinestatic
static double ArithmeticSemiring::mult ( double  a,
double  b 
)
inlinestatic
static double ArithmeticSemiring::one ( )
inlinestatic
static double ArithmeticSemiring::zero ( )
inlinestatic

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