Classes | Namespaces | Functions
MP_expression.hpp File Reference
#include <vector>
#include <set>
#include "MP_domain.hpp"
#include "MP_constant.hpp"
#include "MP_utilities.hpp"
Include dependency graph for MP_expression.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  flopc::Coef
 Internal representation of a Coefficient in a matrix. More...
 
class  flopc::GenerateFunctor
 Functor to facilitate generation of coefficients. More...
 
class  flopc::ObjectiveGenerateFunctor
 Functor to facilitate generation of the objective function. More...
 
class  flopc::MP_expression_base
 The base class for all expressions. More...
 
class  flopc::MP_expression
 Symbolic representation of a linear expression. More...
 
class  flopc::TerminalExpression
 The base class for all expressions. More...
 
class  flopc::Expression_operator
 The base class for all expressions. More...
 

Namespaces

 flopc
 All flopc++ code is contained within the flopc namespace.
 

Functions

MP_expression flopc::operator+ (const MP_expression &e1, const MP_expression &e2)
 Operator which sums two MP_expressions, forms a new MP_expression. More...
 
MP_expression flopc::operator+ (const MP_expression &e1, const Constant &e2)
 Operator which sums an MP_expression and a constant, and forms a new MP_expression. More...
 
MP_expression flopc::operator+ (const Constant &e1, const MP_expression &e2)
 Operator which sums a constant and an MP_expression , and forms a new MP_expression. More...
 
MP_expression flopc::operator- (const MP_expression &e1, const MP_expression &e2)
 Operator which subtracts an MP_expression from an MP_expression, and forms a new MP_expression. More...
 
MP_expression flopc::operator- (const MP_expression &e1, const Constant &e2)
 Operator which subtracts a Constant from an MP_expression, and forms a new MP_expression. More...
 
MP_expression flopc::operator- (const Constant &e1, const MP_expression &e2)
 Operator which subtracts an MP_expression from a Constant, and forms a new MP_expression. More...
 
MP_expression flopc::operator* (const Constant &e1, const MP_expression &e2)
 Operator which multiplies a Constant by an MP_expression, and forms a new MP_expression. More...
 
MP_expression flopc::operator* (const MP_expression &e1, const Constant &e2)
 Operator which multiplies an MP_expression by a Constant, and forms a new MP_expression. More...
 
MP_expression flopc::sum (const MP_domain &d, const MP_expression &e)
 forms an expression by summing an expression over a domain. More...