engine-mk1
Public Member Functions | Public Attributes | List of all members
rz::planner::Action Struct Reference

A single atomic Action used to modify the world state in some manner. More...

#include <Planner.hpp>

Public Member Functions

 Action (std::string name="DEFAULT", unsigned cost={}, ConditionSet preconditions={}, ConditionSet postconditions={}, ProceduralConditionSet procPreconditions={}, ProceduralConditionSet procPostconditions={}) noexcept
 
bool operator== (const Action &rhs) const noexcept
 

Public Attributes

std::string name
 The Actions name. More...
 
unsigned cost
 The cost to perform this Action. More...
 
ConditionSet preconditions
 Conditions that must be satisfied for this Action to be valid. More...
 
ConditionSet postconditions
 Modifiers this Action applies to the world state during planning. More...
 
ProceduralConditionSet procPreconditions
 
ProceduralConditionSet procPostconditions
 

Detailed Description

A single atomic Action used to modify the world state in some manner.

Member Data Documentation

unsigned rz::planner::Action::cost

The cost to perform this Action.

std::string rz::planner::Action::name

The Actions name.

ConditionSet rz::planner::Action::postconditions

Modifiers this Action applies to the world state during planning.

ConditionSet rz::planner::Action::preconditions

Conditions that must be satisfied for this Action to be valid.


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