25#ifndef PL_SEARCH_PATOM_HPP
26#define PL_SEARCH_PATOM_HPP
66 std::string
repr()
const override {
return name; }
Represents a Prolog atom.
Definition patom.hpp:47
std::string repr() const override
Returns a string representation of the atom.
Definition patom.hpp:66
bool isLessThan(Term &t) const override
< operator for a PAtom and a Term
Definition term.cpp:123
PAtom(const std::string &name)
Constructs a PAtom with the given name.
Definition patom.hpp:53
std::string name
The name of the atom.
Definition patom.hpp:88
std::string getName() const
Returns the name of the atom.
Definition patom.hpp:60
bool isEqualTo(Term &t) const override
Checks if the term is equal to another term.
Definition patom.hpp:73
Abstract base class for terms that approximate Prolog terms.
Definition term.hpp:50
Definition choice_iterator.hpp:16
Definition of the Term class.
Definition of common typedefs used in the pl_search library.