22#ifndef PLUGINS_PREDICATE_H_
23#define PLUGINS_PREDICATE_H_
41 std::string
name()
const;
43 const std::vector<std::string> &
attrs()
const;
48 std::vector<std::string> attrs_;
A representation of a Predicate in the STN.
Predicate(const std::string &name, bool condition, const std::vector< std::string > &attrs)
Constructor.
friend std::ostream & operator<<(std::ostream &, const Predicate &)
Print a Predicate.
bool condition() const
Get the condition of the predicate.
const std::vector< std::string > & attrs() const
Get the attributes of the predicate.
std::string name() const
Get the name of the predicate.
bool operator==(const Predicate &rhs)
Compare two Predicates.
Fawkes library namespace.