Control Libraries 6.3.4
Loading...
Searching...
No Matches
Predicate.hpp
1#pragma once
2
3#include "state_representation/parameters/Parameter.hpp"
4
5namespace state_representation {
6
11class Predicate : public Parameter<bool> {
12public:
16 explicit Predicate(const std::string& name);
17
23 explicit Predicate(const std::string& name, bool value);
24
31 friend std::ostream& operator<<(std::ostream& os, const Predicate& predicate);
32};
33}// namespace state_representation
A predicate is a boolean parameter as in the logic formalism.
Definition: Predicate.hpp:11
friend std::ostream & operator<<(std::ostream &os, const Predicate &predicate)
Overload the ostream operator for printing.
Definition: Predicate.cpp:9
Core state variables and objects.