42 return new Sum(*
this);
A base class for unary functions.
TE_DEFINE_VISITABLE Sum(Expression *arg)
Constructor.
This is an abstract class that models a query expression.
TESAEXPORT double Sum(te::sa::GeneralizedProximityMatrix *gpm, int attrIdx)
Function used to calculate sum of a specific attribute from a gpm.
Expression * clone() const
It creates a new copy of this expression.
UnaryFunction & operator=(const UnaryFunction &rhs)
Sum & operator=(const Sum &rhs)