the row entries
#include <row_entry.h>
Public Types | |
typedef std::list< row_entry > ::iterator | list_iterator |
Defines list-iterator for row_entry. | |
typedef std::list< row_entry > ::const_iterator | list_constiterator |
Defines const list-iterator for row_entry. | |
Public Member Functions | |
row_entry (var v, double c) | |
Constructor. | |
row_entry () | |
Constructor. | |
Public Attributes | |
double | coeff |
the cofficient of the basic variable | |
var | Var |
the basic variable for the row entries | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const row_entry &) |
add row_entry.coeff * row_entry.v to the output stream o | |
std::istream & | operator>> (std::istream &i, const row_entry &) |
read row_entry from the input stream | |
bool | operator< (const row_entry &, const row_entry &) |
compares two row_entries by comparing the associated variables ie returns r1.var < r2.var |
Definition at line 10 of file row_entry.h.