2 #ifndef _MADARA_COMPOSITE_DIVIDE_NODE_H_ 3 #define _MADARA_COMPOSITE_DIVIDE_NODE_H_ 5 #ifndef _MADARA_NO_KARL_ 73 #endif // _MADARA_NO_KARL_ This class encapsulates an entry in a KnowledgeBase.
CompositeDivideNode(logger::Logger &logger, ComponentNode *left, ComponentNode *right)
Constructor.
Defines a left and right node (via inheritance from CompositeUnaryNode).
Provides knowledge logging services to files and terminals.
virtual void accept(Visitor &visitor) const
Accepts a visitor subclassed from the Visitor class.
A multi-threaded logger for logging to one or more destinations.
An abstract base class defines a simple abstract implementation of an expression tree node...
Abstract base class for all visitors to all classes that derive from ComponentNode.
virtual madara::knowledge::KnowledgeRecord prune(bool &can_change)
Prunes the expression tree of unnecessary nodes.
virtual madara::knowledge::KnowledgeRecord evaluate(const madara::knowledge::KnowledgeUpdateSettings &settings)
Evaluates the expression tree.
Settings for applying knowledge updates.
A composite node that divides a left expression by a right one.
Copyright (c) 2015 Carnegie Mellon University.
virtual ComponentNode * left(void) const
Returns the left expression.
virtual ComponentNode * right(void) const
Returns the right expression.
virtual ~CompositeDivideNode(void)
Destructor.
virtual madara::knowledge::KnowledgeRecord item(void) const
Returns the printable character of the node.