FlopCpp trunk
Loading...
Searching...
No Matches
Public Member Functions | List of all members
flopc::ObjectiveGenerateFunctor Class Reference

Functor to facilitate generation of the objective function. More...

#include <MP_expression.hpp>

+ Inheritance diagram for flopc::ObjectiveGenerateFunctor:
+ Collaboration diagram for flopc::ObjectiveGenerateFunctor:

Public Member Functions

 ObjectiveGenerateFunctor (std::vector< Coef > &coefs)
 
virtual int row_number () const
 
- Public Member Functions inherited from flopc::GenerateFunctor
 GenerateFunctor (std::vector< Coef > &coefs)
 
virtual ~GenerateFunctor ()
 
void setConstraint (MP_constraint *r)
 
void setMultiplicator (std::vector< Constant > &mults, double m)
 
void setTerminalExpression (const TerminalExpression *c)
 
void operator() () const
 

Additional Inherited Members

- Public Attributes inherited from flopc::GenerateFunctor
double m_
 
std::vector< Constantmultiplicators
 
MP_constraintR
 
const TerminalExpressionC
 
std::vector< Coef > & Coefs
 
- Protected Member Functions inherited from flopc::Functor
 Functor ()
 
virtual ~Functor ()
 

Detailed Description

Functor to facilitate generation of the objective function.

Note
FOR INTERNAL USE: This is not normally used directly by the calling code.

Definition at line 80 of file MP_expression.hpp.

Constructor & Destructor Documentation

◆ ObjectiveGenerateFunctor()

flopc::ObjectiveGenerateFunctor::ObjectiveGenerateFunctor ( std::vector< Coef > &  coefs)
inline

Definition at line 82 of file MP_expression.hpp.

Member Function Documentation

◆ row_number()

virtual int flopc::ObjectiveGenerateFunctor::row_number ( ) const
inlinevirtual

Reimplemented from flopc::GenerateFunctor.

Definition at line 83 of file MP_expression.hpp.


The documentation for this class was generated from the following file: