|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMatchMatrix
An interface to a matrix with matching results.
Method Summary | |
---|---|
void |
endOfRow()
Signals end of row for a CRS scheme. |
char |
getElement(int x,
int y)
Returns an element. |
int |
getX()
Returns row count. |
int |
getY()
Returns column count. |
void |
init(int x,
int y)
Inits a matrix x rows per y columns. |
void |
init(int x,
int y,
int num_nz)
Inits a matrix x rows per y columns with a max of num_nz non-zero elements. |
void |
setElement(int x,
int y,
char value)
Sets an element. |
Method Detail |
---|
void init(int x, int y)
x
- rows county
- column countvoid init(int x, int y, int num_nz)
x
- rows county
- column countnum_nz
- amount of non-zero elementsvoid endOfRow()
char getElement(int x, int y)
x
- rowy
- column
void setElement(int x, int y, char value)
x
- rowy
- columnvalue
- a new element valueint getX()
int getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |