Main Page   Class Hierarchy   Compound List   File List   Contact   Download   Symbolic Constraints   Examples  

SCIL::column Class Reference

A column for the LP-Matrix.

#include <column.h>

List of all members.

Public Member Functions

 column ()
 Creates a column with no non-zero entry.
 column (double d)
 column (cons c)
 Creates the column $ 1 \cdot c$.
 column (std::list< column_entry > &L)
 Creates the column $ \sum_{ce \in L} ce $.
column operator* (double d)
 Creates the column $ d \cdot c$.
column operator+ (column c1)
 Creates the column $ c + c1 $.
column operator+ (cons c1)
column operator+ (double d)
column operator- (column c1)
 Creates the column $ c - c1 $.
columnoperator+= (column c1)
 Adds the column c1 to the column.
columnoperator-= (column r)
 Substracts the column c1 to the column.
void normalize ()
std::list< column_entry >
::const_iterator 
begin () const
 returns const iterator pointing to first item of NZ
std::list< column_entry >
::const_iterator 
end () const
 returns const iterator pointing to end of NZ
std::list< column_entry >::iterator begin ()
 returns iterator pointing to first item of NZ
std::list< column_entry >::iterator end ()
 returns iterator pointing to end of NZ
int size () const
 returns the number of entries in the column.

Detailed Description

Definition at line 10 of file column.h.


Member Function Documentation

void column::normalize (  ) 

Normalizes the column, i.e. sorts the entries and makes all basic constraints appear at most once.

Definition at line 28 of file column.cc.


The documentation for this class was generated from the following files:
Generated on Mon Mar 28 22:03:53 2011 for SCIL by  doxygen 1.6.3