|
| ChunkConnection (abacus::Master *master, const ArrayBuffer< node > &chunk, const ArrayBuffer< node > &cochunk) |
|
virtual | ~ChunkConnection () |
|
virtual double | coeff (const abacus::Variable *v) const override |
| Returns the coefficient of the variable v in the constraint.
|
|
int | coeff (const NodePair &n) const override |
|
int | coeff (node v1, node v2) const |
|
void | printMe (std::ostream &out) const |
|
| BaseConstraint (abacus::Master *master, const abacus::Sub *sub, abacus::CSense::SENSE sense, double rhs, bool dynamic, bool local, bool liftable) |
|
virtual | ~BaseConstraint () |
|
| Constraint (const Constraint &rhs) |
| Copy constructor.
|
|
| Constraint (Master *master) |
| Initializes an empty constraint.
|
|
| Constraint (Master *master, const Sub *sub, CSense::SENSE sense, double rhs, bool dynamic, bool local, bool liftable) |
| Initializes a constraint.
|
|
virtual | ~Constraint () |
|
ConClass * | classification (Active< Variable, Constraint > *var=nullptr) const |
| Returns a pointer to the classification of the constraint.
|
|
virtual double | distance (double *x, Active< Variable, Constraint > *actVar) const |
| Returns the Euclidean distance of x associated with variable set actVar to the hyperplane induced by the constraint.
|
|
virtual int | genRow (Active< Variable, Constraint > *var, Row &row) const |
| Generates the row format of the constraint associated with the variable set var.
|
|
bool | liftable () const |
| Checks if the constraint is liftable.
|
|
void | printRow (std::ostream &out, Active< Variable, Constraint > *var) const |
| Writes the row format of the constraint associated with the variable set var to output stream out.
|
|
virtual double | rhs () const |
| Returns the right hand side of the constraint.
|
|
CSense * | sense () |
| Returns a pointer to the sense of the constraint.
|
|
const CSense * | sense () const |
| Returns a const pointer to the sense of the constraint.
|
|
virtual double | slack (Active< Variable, Constraint > *variables, double *x) const |
| Computes the slack of the vector x associated with the variable set variables.
|
|
virtual bool | valid (Sub *sub) const |
| Checks if the constraint is valid for the subproblem sub.
|
|
virtual bool | violated (Active< Variable, Constraint > *variables, double *x, double *sl=nullptr) const |
| Checks if a constraint is violated by a vector x associated with a variable set.
|
|
virtual bool | violated (double slack) const |
| Checks if a constraint is violated given the slack of a vector.
|
|
| ConVar (Master *master, const Sub *sub, bool dynamic, bool local) |
| Creates an instance of type ConVar.
|
|
virtual | ~ConVar () |
|
bool | active () const |
| Checks if the constraint/variable is active in at least one active subproblem.
|
|
virtual bool | dynamic () const |
| Return true if the constraint/variable is dynamic.
|
|
virtual bool | equal (const ConVar *cv) const |
| Should compare if the constraint/variable is identical (in a mathematical sense) with the constraint/variable cv.
|
|
bool | global () const |
| Returns true if the constraint/variable is globally valid, false otherwise.
|
|
virtual unsigned | hashKey () const |
| Should provide a key for the constraint/variable that can be used to insert it into a hash table.
|
|
bool | local () const |
| Returns true if the constraint/variable is only locally valid, false otherwise.
|
|
virtual const char * | name () const |
| Should return the name of the constraint/variable.
|
|
virtual void | print (std::ostream &out) const |
| Writes the constraint/variable to the output stream out.
|
|
virtual double | rank () const |
| The function should return a rank associated with the constraint/variable.
|
|
const Sub * | sub () const |
| Returns a const pointer to the subproblem associated with the constraint/variable.
|
|
void | sub (Sub *sub) |
| Associates a new subproblem with the constraint/variable.
|
|
bool | expanded () const |
| Returns true if the expanded format of a constraint/variable is available, false otherwise.
|
|
virtual void | expand () const |
| Expands a constraint/variable.
|
|
virtual void | compress () const |
| Compresses a constraint/variable.
|
|
virtual bool | deletable () const |
| Returns true if the constraint/variable can be destructed.
|
|
virtual | ~AbacusRoot () |
| The destructor.
|
|
Definition at line 54 of file ChunkConnection.h.