15 #include "pbm/graph.pb.h" 17 #ifndef PBM_COMMON_HPP 18 #define PBM_COMMON_HPP 48 std::string typelabel, std::string label,
bool is_const) = 0;
60 std::string opname, std::vector<double> coord) = 0;
65 #endif // PBM_COMMON_HPP args
Definition: csv_to_png.py:105
std::vector< FuncArg > ArgsT
Type of functor arguments.
Definition: funcarg.hpp:101
std::shared_ptr< iCoordMap > CoordptrT
Type of iCoordMap smartpointer.
Definition: coord.hpp:106
virtual std::vector< double > save_shaper(const teq::CoordptrT &mapper)=0
Return vector serialization of shape coordinate map.
std::list< fmts::string > StringsT
String list type used for paths.
Definition: data.hpp:27
virtual std::string save_leaf(teq::iLeaf *leaf)=0
Return string serialization of leaf data.
std::shared_ptr< iTensor > TensptrT
Tensor smart pointer.
Definition: itensor.hpp:51
virtual teq::TensptrT generate_leaf(const char *data, teq::Shape shape, std::string typelabel, std::string label, bool is_const)=0
virtual teq::CoordptrT generate_shaper(std::vector< double > coord)=0
Interface for building implementations of leaves, functors, shaper, and coorder.
Definition: data.hpp:43
virtual std::vector< double > save_coorder(const teq::CoordptrT &mapper)=0
Return vector serialization of coordinate map.
Interface for saving implementations of leaves, shaper, and coorder.
Definition: data.hpp:30
std::vector< teq::TensptrT > TensptrsT
Tensptr vector type.
Definition: data.hpp:24
virtual teq::CoordptrT generate_coorder(std::string opname, std::vector< double > coord)=0
Leaf of the graph commonly representing the variable in an equation.
Definition: ileaf.hpp:19
virtual teq::TensptrT generate_func(std::string opname, teq::ArgsT args)=0
Return functor given operator name and TEQ arguments.