21 virtual ~iLeaf (
void) =
default;
30 virtual bool is_const (
void)
const = 0;
38 #endif // TEQ_ILEAF_HPP std::shared_ptr< iLeaf > LeafptrT
Leaf smart pointer.
Definition: ileaf.hpp:34
virtual ~iLeaf(void)=default
Interface for unveiling data.
Definition: idata.hpp:19
virtual bool is_const(void) const =0
Return true if leaf is immutable, otherwise false.
Interface to travel through graph, treating iLeaf and iFunctor differently.
Definition: itensor.hpp:24
virtual void visit(iLeaf *leaf)=0
Visit leaf node.
Interface of traversible and differentiable nodes with shape information.
Definition: itensor.hpp:36
Leaf of the graph commonly representing the variable in an equation.
Definition: ileaf.hpp:19
void accept(iTraveler &visiter) override
Implementation of iTensor.
Definition: ileaf.hpp:24