knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
GraphUnion.h
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #ifndef KNOWROB_GRAPH_UNION_H
7 #define KNOWROB_GRAPH_UNION_H
8 
9 #include "knowrob/semweb/GraphConnective.h"
10 #include "knowrob/semweb/TriplePattern.h"
11 
12 namespace knowrob {
16  class GraphUnion : public GraphConnective {
17  public:
19 
20  explicit GraphUnion(const std::vector<std::shared_ptr<GraphTerm>> &terms)
22 
23  void write(std::ostream &os) const override;
24  };
25 } // knowrob
26 
27 #endif //KNOWROB_GRAPH_UNION_H
const auto & terms() const
GraphUnion(const std::vector< std::shared_ptr< GraphTerm >> &terms)
Definition: GraphUnion.h:20
void write(std::ostream &os) const override
GraphTermType
Definition: GraphTerm.h:16