pddl_planner
Public Member Functions | Static Public Member Functions | List of all members
pddl_planner::representation::Arity Class Reference

Arity represents the arity of operations allowing to define exact, minimum and maximum arity. More...

#include <Domain.hpp>

Public Member Functions

 Arity ()
 
 Arity (uint8_t min, uint8_t max)
 
uint8_t getMin () const
 
uint8_t getMax () const
 

Static Public Member Functions

static Arity exact (uint8_t n)
 
static Arity min (uint8_t n)
 
static Arity max (uint8_t n)
 

Detailed Description

Arity represents the arity of operations allowing to define exact, minimum and maximum arity.

Constructor & Destructor Documentation

◆ Arity() [1/2]

pddl_planner::representation::Arity::Arity ( )
inline

Default constructor

◆ Arity() [2/2]

pddl_planner::representation::Arity::Arity ( uint8_t  min,
uint8_t  max 
)
inline

Member Function Documentation

◆ exact()

static Arity pddl_planner::representation::Arity::exact ( uint8_t  n)
inlinestatic

Create an Arity object by defining the exact arity

Parameters
n
Returns
arity

◆ getMax()

uint8_t pddl_planner::representation::Arity::getMax ( ) const
inline

Get maximum arity

Returns
arity

◆ getMin()

uint8_t pddl_planner::representation::Arity::getMin ( ) const
inline

Get minimum arity

Returns
arity

◆ max()

static Arity pddl_planner::representation::Arity::max ( uint8_t  n)
inlinestatic

Create an Arity object by defining maximum arity

Parameters
n
Returns
arity

◆ min()

static Arity pddl_planner::representation::Arity::min ( uint8_t  n)
inlinestatic

Create an Arity object by defining minimum arity

Parameters
n
Returns
arity

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