#include <Constraint.h>
Graphe de collaboration de Modelib::Constraint:
Fonctions membres publiques | |
Constraint () | |
Constraint (Model &_m, VarId _id) | |
Constraint (const Model &_m, VarId _id) | |
Constraint (const Constraint &_c) | |
Constraint | operator= (const Constraint &_c) |
VarId | GetId () const |
Model * | GetModel () const |
bool | Relax (float lagrangianValue=-Infinity) |
LagrangianParam | GetLagrangianParam () const |
void | Rename (const std::string &name) |
void | AddExpr (const Expr &) |
Expr | GetExpr (bool secondMember=false) const |
Expr | GetRelaxedExpr (bool secondMember=false) const |
void | SetSecondMember (float) |
float | GetSecondMember () const |
float | GetValue () const |
~Constraint () | |
Attributs privés | |
Model * | model |
VarId | id |
Cette classe sert d'une part a la gestion de contraintes particuliaires et a la relaxation lagrangienne Elle permet entre autres l'ajout d'une expression ou la modification du second membre pour la contrainte ciblée
Définition à la ligne 50 du fichier Constraint.h.
|
Contructeur par defaut Définition à la ligne 57 du fichier Constraint.h. |
|
Constructeur de l'utilisateur
Définition à la ligne 43 du fichier Constraint.cpp. Références model. |
|
Constructeur de l'utilisateur avec un model constant
Définition à la ligne 53 du fichier Constraint.cpp. Références model. |
|
Constructeur de copie Définition à la ligne 63 du fichier Constraint.h. |
|
Définition à la ligne 104 du fichier Constraint.h. |
|
Permet d'ajouter une Expr au premier membre de la contrainte ne permet pas de modifier le second membre
Définition à la ligne 104 du fichier Constraint.cpp. Références Modelib::Model::AddToConstraint(), et model. Référencé par Modelib::export_Constraint(). Voici le graphe d'appel pour cette fonction: ![]() |
|
Permet de récuperer une Expr de la contrainte Définition à la ligne 117 du fichier Constraint.cpp. Références Modelib::Expr::GetConstant(), Modelib::Model::GetRelaxedConstraintExpr(), et model. Voici le graphe d'appel pour cette fonction: ![]() |
|
Geter de l'identifiant de contrainte
Définition à la ligne 79 du fichier Constraint.h. Références id. Référencé par Modelib::export_Constraint(), et Modelib::operator==(). |
|
Permet de récupérer le multiplicateur lagrangien associé à la contrainte
Définition à la ligne 82 du fichier Constraint.cpp. Références model. Référencé par Modelib::export_Constraint(). |
|
Geter du modèle
Définition à la ligne 84 du fichier Constraint.h. Références model. Référencé par Modelib::operator==(). |
|
Permet de récuperer une Expr relaxée de la contrainte Définition à la ligne 135 du fichier Constraint.cpp. Références Modelib::Expr::GetConstant(), Modelib::Model::GetRelaxedConstraintExpr(), et model. Voici le graphe d'appel pour cette fonction: ![]() |
|
Permet de récuperer le second membrer d'une contrainte Définition à la ligne 153 du fichier Constraint.cpp. Références Modelib::Model::GetSecondMember(), et model. Voici le graphe d'appel pour cette fonction: ![]() |
|
|
|
Définition à la ligne 69 du fichier Constraint.h. |
|
Relaxe une contrainte avec un multiplicateur lagrangien ayant une valeur de départ de lagrangianValue si lagrangianValue == -Infinity, le multiplicateur n'est pas définit
Définition à la ligne 65 du fichier Constraint.cpp. Références model, et Modelib::Model::RelaxConstraint(). Référencé par Modelib::export_Constraint(). Voici le graphe d'appel pour cette fonction: ![]() |
|
Permet de renommer une contrainte
Définition à la ligne 90 du fichier Constraint.cpp. Références model, et Modelib::Model::RenameConstraint(). Référencé par Modelib::export_Constraint(). Voici le graphe d'appel pour cette fonction: ![]() |
|
Permet de redéfinir le second membrer d'une contrainte Définition à la ligne 167 du fichier Constraint.cpp. Références model, et Modelib::Model::SetSecondMember(). Voici le graphe d'appel pour cette fonction: ![]() |
|
Définition à la ligne 53 du fichier Constraint.h. Référencé par Constraint(), GetId(), et operator=(). |
|
Définition à la ligne 52 du fichier Constraint.h. Référencé par AddExpr(), Constraint(), GetExpr(), GetLagrangianParam(), GetModel(), GetRelaxedExpr(), GetSecondMember(), operator=(), Relax(), Rename(), et SetSecondMember(). |