Rows.
#include <row.h>
Public Member Functions | |
| row () | |
| Creates a row with no non-zero entry. | |
| row (double d) | |
Creates the row d. | |
| row (var v) | |
Creates the row . | |
| row (std::list< row_entry > &L) | |
Creates the row . | |
| row | operator* (double d) |
Creates the row . | |
| polynomial | operator* (const polynomial &p) |
Creates the polynomial . | |
| polynomial | operator* (const var &v) |
Creates the polynomial . | |
| polynomial | operator* (const monomial &m) |
Creates the polynomial . | |
| polynomial | operator+ (const polynomial &p) |
Creates the polynomial . | |
| polynomial | operator- (const polynomial &p) |
Creates the polynomial . | |
| row | operator- (const var &v) |
Creates the row . | |
| row | operator+ (const row &r1) |
Creates the row . | |
| row | operator+ (const var &v) |
Creates the row . | |
| row | operator+ (double d) |
Creates the row . | |
| row | operator- (const row &r1) |
Creates the row . | |
| row & | operator+= (const var &v) |
Adds v to the row. | |
| row & | operator-= (const var &v) |
Substracts v from the row. | |
| row & | operator+= (const row_entry &r) |
Adds r to the row. | |
| row & | operator+= (const row &r1) |
Adds r1 to the row. | |
| row & | operator-= (const row &r1) |
Substracts r1 from the row. | |
| cons_obj * | operator== (row r1) |
Creates the basic constraint . | |
| cons_obj * | operator<= (row r1) |
Creates the basic constraint . | |
| cons_obj * | operator>= (row r1) |
Creates the basic constraint . | |
| void | normalize (bool clean=false) |
| Normalizes the row. | |
|
std::list< row_entry > ::const_iterator | begin () const |
| Returns const_iterator to first item of NZ. | |
|
std::list< row_entry > ::const_iterator | end () const |
| Returns const_iterator past the last item of NZ. | |
| std::list< row_entry >::iterator | begin () |
| Returns iterator pointing to first item of NZ. | |
| std::list< row_entry >::iterator | end () |
| Returns iterator pointig past the end of NZ. | |
| int | size () const |
| Returns the number of entries in the column. | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const row &) |
| Add all row entries in the row to the output stream. | |
Definition at line 15 of file row.h.
| void row::normalize | ( | bool | clean = false |
) |
Normalize
to
,
.
Definition at line 131 of file row.cc.
Referenced by SCIL::CUT< Graph >::exactCycleSeparation(), SCIL::STABLESET< Graph >::exactOddCycleSeparation(), operator<=(), operator==(), operator>=(), SCIL::QuadRef::reformulate_SQK2(), SCIL::QuadRef::reformulate_SQK3(), and SCIL::SpanTree< Graph >::standard_separation().
1.6.3