knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
InterfaceUtils.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2024, Sascha Jongebloed
3  * All rights reserved.
4  *
5  * This file is part of KnowRob, please consult
6  * https://github.com/knowrob/knowrob for license details.
7  */
8 
9 #ifndef KNOWROB_INTERFACEUTILS_H
10 #define KNOWROB_INTERFACEUTILS_H
11 
12 #include <knowrob/KnowledgeBase.h>
13 #include "knowrob/formulas/Formula.h"
14 
15 namespace knowrob {
19  class InterfaceUtils {
20  public:
27  static boost::property_tree::ptree loadSettings();
28 
36  static bool assertStatements(const KnowledgeBasePtr &kb, const std::vector<FormulaPtr> &args);
37 
45  static FormulaPtr applyModality(const std::unordered_map<std::string, boost::any> &options, FormulaPtr phi);
46 
47  };
48 
49 }
50 
51 #endif //KNOWROB_INTERFACEUTILS_H
52 
static FormulaPtr applyModality(const std::unordered_map< std::string, boost::any > &options, FormulaPtr phi)
static bool assertStatements(const KnowledgeBasePtr &kb, const std::vector< FormulaPtr > &args)
static boost::property_tree::ptree loadSettings()
TermRule & options()
Definition: terms.cpp:114
std::shared_ptr< KnowledgeBase > KnowledgeBasePtr
std::shared_ptr< Formula > FormulaPtr
Definition: Formula.h:99