Searched refs:summands (Results 1 - 5 of 5) sorted by relevance

/haiku/src/libs/linprog/
H A DLinearSpec.cpp103 * objective function summands and variables.
199 SummandList* summands = constraint->LeftSide(); local
200 for (int j = 0; j < summands->CountItems(); j++) {
201 Summand* summand = summands->ItemAt(j);
344 // the summands have changed, update the var ref count
396 LinearSpec::AddConstraint(SummandList* summands, OperatorType op, argument
399 return _AddConstraint(summands, op, rightSide, penaltyNeg, penaltyPos);
417 SummandList* summands = new(std::nothrow) SummandList(1); local
418 if (!summands)
420 summands
444 SummandList* summands = new(std::nothrow) SummandList(2); local
474 SummandList* summands = new(std::nothrow) SummandList(2); local
508 SummandList* summands = new(std::nothrow) SummandList(2); local
[all...]
H A DConstraint.cpp79 * @return pointer to a BList containing the summands on the left side of the constraint
89 * Sets the summands on the left side of the constraint.
90 * The old summands are NOT deleted.
92 * @param summands a BList containing the Summand objects that make up the new left side
95 Constraint::SetLeftSide(SummandList* summands, bool deleteOldSummands) argument
97 if (summands == NULL)
98 debugger("Invalid summands");
101 for (int32 i = 0; i < summands->CountItems(); i++) {
102 Summand* summand = summands->ItemAt(i);
103 for (int32 a = i + 1; a < summands
372 Constraint(LinearSpec* ls, SummandList* summands, OperatorType op, double rightSide, double penaltyNeg, double penaltyPos) argument
[all...]
H A DLayoutOptimizer.cpp528 SummandList* summands = constraint->LeftSide(); local
529 for (int32 s = 0; s < summands->CountItems(); s++) {
530 Summand* summand = summands->ItemAt(s);
568 SummandList* summands = constraint->LeftSide(); local
570 for (int32 s = 0; s < summands->CountItems(); s++) {
571 Summand* summand = summands->ItemAt(s);
733 SummandList* summands = constraint->LeftSide(); local
734 for (int32 s = 0; s < summands->CountItems(); s++) {
735 Summand* summand = summands->ItemAt(s);
/haiku/headers/libs/linprog/
H A DConstraint.h31 has its own summand list with summands. */
38 bool SetLeftSide(SummandList* summands,
74 SummandList* summands, OperatorType op,
H A DLinearSpec.h106 Constraint* AddConstraint(SummandList* summands,

Completed in 30 milliseconds