![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qsimplex_p.h>
Public Types | |
enum | Ratio { LessOrEqual = 0 , Equal , MoreOrEqual } |
Public Member Functions | |
QSimplexConstraint () | |
void | invert () |
bool | isSatisfied () |
Public Attributes | |
QHash< QSimplexVariable *, qreal > | variables |
qreal | constant |
Ratio | ratio |
std::pair< QConcreteSimplexVariable *, qreal > | helper |
QConcreteSimplexVariable * | artificial |
Representation of a LP constraint like:
(c1 * X1) + (c2 * X2) + ... = K or <= K or >= K
Where (ci, Xi) are the pairs in "variables" and K the real "constant".
Definition at line 53 of file qsimplex_p.h.
Enumerator | |
---|---|
LessOrEqual | |
Equal | |
MoreOrEqual |
Definition at line 59 of file qsimplex_p.h.
|
inline |
Definition at line 57 of file qsimplex_p.h.
void QSimplexConstraint::invert | ( | ) |
Definition at line 621 of file qsimplex_p.cpp.
|
inline |
Definition at line 74 of file qsimplex_p.h.
QConcreteSimplexVariable* QSimplexConstraint::artificial |
Definition at line 70 of file qsimplex_p.h.
Referenced by QSimplex::setConstraints().
qreal QSimplexConstraint::constant |
Definition at line 66 of file qsimplex_p.h.
std::pair<QConcreteSimplexVariable *, qreal> QSimplexConstraint::helper |
Definition at line 69 of file qsimplex_p.h.
Ratio QSimplexConstraint::ratio |
Definition at line 67 of file qsimplex_p.h.
Referenced by testing.tools.safetynet_conclusions.CaseResult::GetOutputDict().
QHash<QSimplexVariable *, qreal> QSimplexConstraint::variables |
Definition at line 65 of file qsimplex_p.h.