Interface for boolean matrices. More...
Public Member Functions | |
| IList< int > | GetEntriesByColumn (int column_id) |
| Get all true entries (row IDs) of a column. | |
| IList< int > | GetEntriesByRow (int row_id) |
| Get all true entries (column IDs) of a row. | |
| int | NumEntriesByColumn (int column_id) |
| Get all the number of entries in a column. | |
| int | NumEntriesByRow (int row_id) |
| Get all the number of entries in a row. | |
| int | Overlap (IBooleanMatrix s) |
| Get the overlap of two matrices, i.e. the number of true entries where they agree. | |
Properties | |
| IList< int > | NonEmptyColumnIDs [get] |
| The IDs of the non-empty columns in the matrix (the ones that contain at least one true entry). | |
| IList< int > | NonEmptyRowIDs [get] |
| The IDs of the non-empty rows in the matrix (the ones that contain at least one true entry). | |
| int | NumberOfEntries [get] |
| The number of (true) entries. | |
| ICollection< int > | this [int x] [get] |
| Indexer to access the rows of the matrix. | |
Interface for boolean matrices.
| IList<int> GetEntriesByColumn | ( | int | column_id | ) |
Get all true entries (row IDs) of a column.
| column_id | the column ID |
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
| IList<int> GetEntriesByRow | ( | int | row_id | ) |
Get all true entries (column IDs) of a row.
| row_id | the row ID |
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
| int NumEntriesByColumn | ( | int | column_id | ) |
Get all the number of entries in a column.
| column_id | the column ID |
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
| int NumEntriesByRow | ( | int | row_id | ) |
Get all the number of entries in a row.
| row_id | the row ID |
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
| int Overlap | ( | IBooleanMatrix | s | ) |
Get the overlap of two matrices, i.e. the number of true entries where they agree.
| s | the IBooleanMatrix to compare to |
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
IList<int> NonEmptyColumnIDs [get] |
The IDs of the non-empty columns in the matrix (the ones that contain at least one true entry).
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
IList<int> NonEmptyRowIDs [get] |
The IDs of the non-empty rows in the matrix (the ones that contain at least one true entry).
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
int NumberOfEntries [get] |
The number of (true) entries.
Implemented in SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, and SparseBooleanMatrixStatic.
ICollection<int> this[int x] [get] |
Indexer to access the rows of the matrix.
| x | the row ID |
Implemented in SparseBooleanMatrix, SparseBooleanMatrix, SparseBooleanMatrixBinarySearch, SparseBooleanMatrixBinarySearch, SparseBooleanMatrixStatic, and SparseBooleanMatrixStatic.
1.6.3