6 #ifndef KNOWROB_FUNCTION_H
7 #define KNOWROB_FUNCTION_H
17 class Function :
public Term {
63 void write(std::ostream &os)
const override;
66 const std::shared_ptr<Atom>
functor_;
const std::set< std::string_view > variables_
size_t hashOfFunction() const
Function(std::string_view functor, const std::vector< TermPtr > &arguments)
const std::shared_ptr< Atom > functor_
std::set< std::string_view > getVariables1() const
const std::vector< TermPtr > arguments_
const std::set< std::string_view > & variables() const override
bool isSameFunction(const Function &other) const
Function(AtomPtr functor, const std::vector< TermPtr > &arguments)
void write(std::ostream &os) const override
std::shared_ptr< Function > FunctionPtr
std::shared_ptr< Atom > AtomPtr