Turi Create
4.0
|
#include <core/storage/lazy_eval/lazy_eval_operation.hpp>
Public Member Functions | |
virtual size_t | num_arguments ()=0 |
virtual std::string | name () const |
virtual void | execute (T &output, const std::vector< T *> &parents)=0 |
The base class for describing lazy operations using the lazy_operation_dag system.
T | The object type tracked in the lazy operation DAG |
Definition at line 21 of file lazy_eval_operation.hpp.
|
pure virtual |
Execute the operation on the object, and the parents provided. The size of the "parents" list is max(#arguments - 2, 0).
|
inlinevirtual |
Printable name of the operation
Definition at line 36 of file lazy_eval_operation.hpp.
|
pure virtual |
Number of arguments in the operation. For instance, a simple transformation (like "add_row") is a unary transform, and this function will return 1. A "join" is a binary transform, and will return 2. Finally, parent-less operations like "load_from_file" will return 0.
The only valid values at this time are 0, 1 or 2.