Public Member Functions | |
MoveConstantsToLeftOfSum () | |
virtual | ~MoveConstantsToLeftOfSum () |
virtual bool | doTransform (const RCP< ScalarExpr > &left, const RCP< ScalarExpr > &right, int sign, RCP< ScalarExpr > &rtn) const |
Definition at line 166 of file SundanceStdSumTransformations.hpp.
Sundance::MoveConstantsToLeftOfSum::MoveConstantsToLeftOfSum | ( | ) | [inline] |
Definition at line 170 of file SundanceStdSumTransformations.hpp.
virtual Sundance::MoveConstantsToLeftOfSum::~MoveConstantsToLeftOfSum | ( | ) | [inline, virtual] |
Definition at line 173 of file SundanceStdSumTransformations.hpp.
bool MoveConstantsToLeftOfSum::doTransform | ( | const RCP< ScalarExpr > & | left, | |
const RCP< ScalarExpr > & | right, | |||
int | sign, | |||
RCP< ScalarExpr > & | rtn | |||
) | const [virtual] |
Implements Sundance::SumTransformation.
Definition at line 412 of file SundanceStdSumTransformations.cpp.
References Sundance::SymbolicTransformation::chooseSign(), Sundance::SymbolicTransformation::getScalar(), Sundance::Expr::handle(), moveConstantsTimer(), Playa::Out::println(), and Playa::ObjectWithVerbosity::verb().