handler to create a list of terms in a sum
NumericArgHandler is copied around, so it keeps only a pointer (with reference counting) to actual data
Definition at line 639 of file reader_nl.cpp.
Public Member Functions | |
NumericArgHandler (int num_args) | |
constructor | |
void | AddArg (SCIP_EXPR *term) |
adds term to sum | |
Data Fields | |
std::shared_ptr< std::vector< SCIP_EXPR * > > | v |
|
inline |
constructor
num_args | number of terms to expect |
Definition at line 645 of file reader_nl.cpp.
References v.
|
inline |
adds term to sum
term | term to add |
Definition at line 654 of file reader_nl.cpp.
References v.
std::shared_ptr<std::vector<SCIP_EXPR*> > AMPLProblemHandler::NumericArgHandler::v |
Definition at line 642 of file reader_nl.cpp.
Referenced by AddArg(), AMPLProblemHandler::EndSum(), and NumericArgHandler().