#include <linearconstraintset.h>
LinearConstraintSet computes lower and upper bounds for a set of bounded linear functions, with the resulting upper/lower bounds not necessarily convex.
◆ Direction
◆ bound()
compute bound in given direction
- Parameters
-
direction | upper or lower bound |
fun | the result is placed in this function |
◆ clear()
void adore::mad::LinearConstraintSet::clear |
( |
| ) |
|
|
inline |
◆ getPossiblyIntersectingSet()
std::vector<Line> adore::mad::LinearConstraintSet::getPossiblyIntersectingSet |
( |
| ) |
const |
|
inline |
◆ hasConstraints()
bool adore::mad::LinearConstraintSet::hasConstraints |
( |
| ) |
const |
|
inline |
utility function, returns if the set contain any constraints
- Returns
- true
-
false
◆ insert()
void adore::mad::LinearConstraintSet::insert |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1 |
|
) |
| |
|
inline |
insert a line from x0,y0 to x1,y1
std::vector<Line> adore::mad::LinearConstraintSet::I |
|
private |
The documentation for this class was generated from the following file: