#include <SignMatrix.h>
Classes | |
struct | intColHdr |
struct | intRowHdr |
Public Member Functions | |
SignMatrix (unsigned int rows=0, unsigned int cols=0, unsigned int maxR=16, unsigned int maxC=16) | |
virtual | ~SignMatrix () |
unsigned int | getNumRows () const |
unsigned int | getNumCols () const |
Row | getRow (unsigned int rowNo) const |
unsigned int | getRowNumber (Row row) const |
Col | getCol (unsigned int colNo) const |
unsigned int | getColNumber (Col col) const |
Sign | operator() (unsigned int rowNo, unsigned int colNo) const |
Sign | operator() (Row row, Col col) const |
Sign | operator() (Row row, unsigned int colNo) const |
Sign | operator() (unsigned int rowNo, Col col) const |
void | setEntry (unsigned int rowNo, unsigned int colNo, Sign val) |
void | setEntry (Row row, Col col, Sign val) |
void | setEntry (Row row, unsigned int colNo, Sign val) |
void | setEntry (unsigned int rowNo, Col col, Sign val) |
RowHdr & | rowHdr (unsigned int rowNo) |
RowHdr & | rowHdr (Row col) |
ColHdr & | colHdr (unsigned int colNo) |
ColHdr & | colHdr (Col col) |
bool | columnsEqual (Col col1, Col col2) |
Col | insertZeroCol (unsigned int colNo, ColHdr colHdr=ColHdr()) |
Col | insertUnitCol (unsigned int colNo, unsigned int i, ColHdr colHdr=ColHdr()) |
Col | insertInvCol (Col sourceCol, unsigned int targetColNo, ColHdr targetColHdr=ColHdr()) |
Col | insertColSum (Col sourceCol1, Col sourceCol2, unsigned int targetColNo, ColHdr targetColHdr=ColHdr()) |
Col | insertColCopy (Col sourceCol, unsigned int targetColNo) |
Col | insertIntersectionCol (Col sourceCol1, Col sourceCol2, unsigned int targetColNo, ColHdr targetColHdr=ColHdr()) |
void | addToCol (Col sourceCol, Col targetCol) |
void | deleteCol (Col col) |
void | moveCol (Col col, unsigned int newColNo) |
Row | insertZeroRow (unsigned int rowNo, RowHdr rowHdr=RowHdr()) |
Row | insertRowCopy (Row sourceRow, unsigned int targetRowNo) |
void | deleteRow (Row row) |
void | moveRow (Row row, unsigned int newRowNo) |
void | clone (const SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE > &mat, std::list< Col > &colList) |
void | insertMatrix (const SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE > &mat, unsigned int rowOffset, unsigned int colOffset) |
void | printMatrix (std::ostream &os=std::cout) const |
Private Member Functions | |
void | extend (unsigned int rows, unsigned int cols) |
Row | insertRow (unsigned int rowNo, RowHdr rowHdr) |
Col | insertCol (unsigned int colNo, ColHdr colHdr) |
void | free () |
Private Attributes | |
unsigned int | numRows |
unsigned int | numCols |
unsigned int | maxNumRows |
unsigned int | maxNumCols |
int | firstUnusedRow |
int | firstUnusedCol |
INTERNAL_TYPE * | matrix |
std::vector< intRowHdr > | rowHdrs |
std::vector< intColHdr > | colHdrs |
const unsigned int | INTERNAL_SIZE |
INTERNAL_TYPE | mask1 |
INTERNAL_TYPE | mask2 |
Static Private Attributes | |
static const double | EXTEND_CONDITION = 1.2 |
static const double | EXTEND_FACTOR = 2.0 |
Definition at line 30 of file SignMatrix.h.
PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix | ( | unsigned int | rows = 0 , |
|
unsigned int | cols = 0 , |
|||
unsigned int | maxR = 16 , |
|||
unsigned int | maxC = 16 | |||
) | [inline] |
Constructor
Creates an instance of SignMatrix having the indicated number of rows and columns (initially filled with zeros). If there is an estimate on the final size of the matrix, it can be given in order to avoid later memory reallocations.
Definition at line 111 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedCol, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedRow, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask1, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask2, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::~SignMatrix | ( | ) | [inline, virtual] |
Destructor
Destroys the instance and deallocates any used memory.
Definition at line 185 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free().
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol | ( | Col | sourceCol, | |
Col | targetCol | |||
) | [inline] |
Adds the entries of one column to another. Assumes that the addition can be done without getting values outside {-1,0,+1}.
Definition at line 477 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask1, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask2, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone | ( | const SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE > & | mat, | |
std::list< Col > & | colList | |||
) | [inline] |
Produces a copy of the matrix using only the given columns. The row and column headers are NOT copied.
Definition at line 623 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedCol, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedRow, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
ColHdr & PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdr | ( | Col | col | ) | [inline] |
Definition at line 331 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
ColHdr & PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdr | ( | unsigned int | colNo | ) | [inline] |
Definition at line 325 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
bool PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::columnsEqual | ( | Col | col1, | |
Col | col2 | |||
) | [inline] |
Checks whether two specified columns of the matrix are equal (this doesn't compare the headers!).
Definition at line 358 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteCol | ( | Col | col | ) | [inline] |
Deletes a column from the matrix.
Definition at line 493 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedCol, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteRow | ( | Row | row | ) | [inline] |
Deletes a row from the matrix.
Definition at line 571 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedRow, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend | ( | unsigned int | rows, | |
unsigned int | cols | |||
) | [inline, private] |
Extends the matrix to have at least the given number of rows and columns.
Definition at line 706 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::EXTEND_CONDITION, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::EXTEND_FACTOR, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedCol, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedRow, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow().
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free | ( | ) | [inline, private] |
Cleans up and deallocates any memory used by this object
Definition at line 194 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::~SignMatrix().
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol | ( | unsigned int | colNo | ) | const [inline] |
Definition at line 240 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getColNumber | ( | Col | col | ) | const [inline] |
Definition at line 247 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getNumCols | ( | ) | const [inline] |
Definition at line 217 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getNumRows | ( | ) | const [inline] |
Methods for getting the size of the matrix.
Definition at line 212 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows.
Row PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow | ( | unsigned int | rowNo | ) | const [inline] |
Methods for getting the index of a row or column or getting the row or column at a specified index.
Definition at line 227 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::columnsEqual(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdr(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRowNumber | ( | Row | row | ) | const [inline] |
Definition at line 234 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol | ( | unsigned int | colNo, | |
ColHdr | colHdr | |||
) | [inline, private] |
Definition at line 805 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedCol, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroCol().
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy | ( | Col | sourceCol, | |
unsigned int | targetColNo | |||
) | [inline] |
Copies the values of a specified column (EXcluding the header) to another (or the same) column. If the latter doesn't exist, it is created. Returns the index of the resulting column.
Definition at line 448 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum | ( | Col | sourceCol1, | |
Col | sourceCol2, | |||
unsigned int | targetColNo, | |||
ColHdr | targetColHdr = ColHdr() | |||
) | [inline] |
Adds the values of two given columns and writes it to another column. If the latter doesn't exist, it is created and returned. Assumes that the two columns can be added without leaving {-1,0,+1} otherwise the behavior of this method is undefined.
Definition at line 427 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask1, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask2, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol | ( | Col | sourceCol1, | |
Col | sourceCol2, | |||
unsigned int | targetColNo, | |||
ColHdr | targetColHdr = ColHdr() | |||
) | [inline] |
Definition at line 458 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol | ( | Col | sourceCol, | |
unsigned int | targetColNo, | |||
ColHdr | targetColHdr = ColHdr() | |||
) | [inline] |
Inverts a specified column of the matrix and writes the result to another (or the same) column. If the latter doesn't exist, it is created. Returns the changed or newly created column.
Definition at line 405 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask1, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask2, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix | ( | const SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE > & | mat, | |
unsigned int | rowOffset, | |||
unsigned int | colOffset | |||
) | [inline] |
Copies a given matrix into this one as a block starting at the given offset.
Definition at line 684 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
Row PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow | ( | unsigned int | rowNo, | |
RowHdr | rowHdr | |||
) | [inline, private] |
Internal methods whose job it is to find or create unused space for a new row or column and create it. It also adjusts the header to make it appear as if the new row or column was inserted at the given position.
Definition at line 773 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedRow, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroRow().
Row PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy | ( | Row | sourceRow, | |
unsigned int | targetRowNo | |||
) | [inline] |
Inserts a copy of a given row (including its header) at another position in the matrix.
Definition at line 558 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, PC::Row::rowid, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol | ( | unsigned int | colNo, | |
unsigned int | i, | |||
ColHdr | colHdr = ColHdr() | |||
) | [inline] |
Writes the i-th unit vector to a given column. If the column with the specified index does not yet exist, it is created. Returns the changed or newly created column.
Definition at line 388 of file SignMatrix.h.
References PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, PC::Row::rowid, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
Col PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroCol | ( | unsigned int | colNo, | |
ColHdr | colHdr = ColHdr() | |||
) | [inline] |
Writes zeros to a given column. If the column with the specified index does not yet exist, it is created. Returns the changed or newly created column.
Definition at line 374 of file SignMatrix.h.
References PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix().
Row PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroRow | ( | unsigned int | rowNo, | |
RowHdr | rowHdr = RowHdr() | |||
) | [inline] |
Fills a specified row with zeros after creating it if necessary.
Definition at line 545 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix().
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveCol | ( | Col | col, | |
unsigned int | newColNo | |||
) | [inline] |
Move a column including its header to a new position in the matrix.
Definition at line 514 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveRow | ( | Row | row, | |
unsigned int | newRowNo | |||
) | [inline] |
Move a row including its header to a new position in the matrix.
Definition at line 592 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
Sign PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator() | ( | unsigned int | rowNo, | |
Col | col | |||
) | const [inline] |
Definition at line 277 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()().
Sign PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator() | ( | Row | row, | |
unsigned int | colNo | |||
) | const [inline] |
Definition at line 272 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()().
Sign PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator() | ( | Row | row, | |
Col | col | |||
) | const [inline] |
Operators giving access to the entries of the matrix. Index bounds are checked in debug mode only.
Definition at line 258 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
Sign PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator() | ( | unsigned int | rowNo, | |
unsigned int | colNo | |||
) | const [inline] |
Definition at line 265 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::printMatrix().
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::printMatrix | ( | std::ostream & | os = std::cout |
) | const [inline] |
Prints the matrix in a (semi-)human-readable format to a given ostream.
Definition at line 341 of file SignMatrix.h.
References PC::MINUS, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), and PC::PLUS.
RowHdr & PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdr | ( | Row | col | ) | [inline] |
Definition at line 319 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
RowHdr & PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdr | ( | unsigned int | rowNo | ) | [inline] |
Operators giving access to the headers of the matrix. Index bounds are checked in debug mode only.
Definition at line 313 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry | ( | unsigned int | rowNo, | |
Col | col, | |||
Sign | val | |||
) | [inline] |
Definition at line 303 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry | ( | Row | row, | |
unsigned int | colNo, | |||
Sign | val | |||
) | [inline] |
Definition at line 298 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry | ( | Row | row, | |
Col | col, | |||
Sign | val | |||
) | [inline] |
Definition at line 282 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::Col::colid, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs, and PC::Row::rowid.
void PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry | ( | unsigned int | rowNo, | |
unsigned int | colNo, | |||
Sign | val | |||
) | [inline] |
Definition at line 290 of file SignMatrix.h.
References PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols, PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows, and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroRow(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry().
std::vector<intColHdr> PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdrs [private] |
Definition at line 42 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::columnsEqual(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getColNumber(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
const double PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::EXTEND_CONDITION = 1.2 [static, private] |
Definition at line 44 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend().
const double PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::EXTEND_FACTOR = 2.0 [static, private] |
Definition at line 45 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend().
int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedCol [private] |
Definition at line 36 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::firstUnusedRow [private] |
Definition at line 35 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
const unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::INTERNAL_SIZE [private] |
Definition at line 46 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
INTERNAL_TYPE PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask1 [private] |
Definition at line 47 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
INTERNAL_TYPE PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::mask2 [private] |
Definition at line 47 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
INTERNAL_TYPE* PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::matrix [private] |
Definition at line 38 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumCols [private] |
Definition at line 34 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::columnsEqual(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getColNumber(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::maxNumRows [private] |
Definition at line 34 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRowNumber(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numCols [private] |
Definition at line 33 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::addToCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::colHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::columnsEqual(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getColNumber(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getNumCols(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertColSum(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertIntersectionCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertInvCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertZeroRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::printMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
unsigned int PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::numRows [private] |
Definition at line 33 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::columnsEqual(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getNumRows(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRowNumber(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::printMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().
std::vector<intRowHdr> PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdrs [private] |
Definition at line 41 of file SignMatrix.h.
Referenced by PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::clone(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::deleteRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::extend(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::free(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::getRowNumber(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertMatrix(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertRowCopy(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::insertUnitCol(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::moveRow(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::operator()(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::rowHdr(), PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::setEntry(), and PC::SignMatrix< RowHdr, ColHdr, INTERNAL_TYPE >::SignMatrix().