knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <ReasonerEvent.h>
Public Member Functions | |
ReplacementEvent (uint32_t numTriples, bool copy=true) | |
ReplacementEvent (uint32_t numTriples, bool copy=true) | |
![]() | |
TripleEvent (Type eventType, uint32_t tripleCount, bool copy=true) | |
auto & | triples () const |
auto & | triple (uint32_t index) |
TripleEvent (Type eventType, uint32_t tripleCount, bool copy=true) | |
auto & | triples () const |
auto & | triple (uint32_t index) |
![]() | |
Event (Type eventType) | |
Type | eventType () const |
Event (Type eventType) | |
Type | eventType () const |
Additional Inherited Members | |
![]() | |
enum | Type { Assertion , Retraction , Replacement , Invalidation , Assertion , Retraction , Replacement , Invalidation } |
enum | Type { Assertion , Retraction , Replacement , Invalidation , Assertion , Retraction , Replacement , Invalidation } |
![]() | |
std::vector< TriplePtr > | triples_ |
![]() | |
const Type | eventType_ |
An event that contains a set of replacements. These will replace the triples that were previously asserted. This is supposed to be used by reasoner that do not keep track of incremental changes. In case of incremental reasoners, the assertion and retraction events should rather be used.
Definition at line 117 of file ReasonerEvent.h.
|
inlineexplicit |
numTriples | the number of triples in this event. |
copy | whether to use std::string (true) or std::string_view (false) for triples. |
Definition at line 123 of file ReasonerEvent.h.
|
inlineexplicit |
numTriples | the number of triples in this event. |
copy | whether to use std::string (true) or std::string_view (false) for triples. |
Definition at line 123 of file ReasonerEvent.h.