![]() |
AuD
Lecture 'Algorithmen und Datenstrukturen' (code examples)
|
Row/column coordinates (i,j). More...
Inheritance diagram for aud.graph.matrix.Coordinate:
Collaboration diagram for aud.graph.matrix.Coordinate:Public Member Functions | |
| Coordinate (int i, int j) | |
| create coordinate (i,j) More... | |
| int | compareTo (Coordinate other) |
| boolean | equals (Object other) |
| String | toString () |
Public Attributes | |
| int | i |
| row index More... | |
| int | j |
| column index More... | |
Row/column coordinates (i,j).
Coordinates in a 2d matrix (e.g., SparseMatrixCS).
Implements column order (lexicographic, columns before rows).
Definition at line 11 of file Coordinate.java.
| aud.graph.matrix.Coordinate.Coordinate | ( | int | i, |
| int | j | ||
| ) |
create coordinate (i,j)
Definition at line 19 of file Coordinate.java.
References aud.graph.matrix.Coordinate.i, and aud.graph.matrix.Coordinate.j.
| int aud.graph.matrix.Coordinate.compareTo | ( | Coordinate | other | ) |
Definition at line 24 of file Coordinate.java.
References aud.graph.matrix.Coordinate.i, and aud.graph.matrix.Coordinate.j.
| boolean aud.graph.matrix.Coordinate.equals | ( | Object | other | ) |
Definition at line 28 of file Coordinate.java.
References aud.graph.matrix.Coordinate.i, and aud.graph.matrix.Coordinate.j.
| String aud.graph.matrix.Coordinate.toString | ( | ) |
Definition at line 33 of file Coordinate.java.
References aud.graph.matrix.Coordinate.i, and aud.graph.matrix.Coordinate.j.
| int aud.graph.matrix.Coordinate.i |
row index
Definition at line 14 of file Coordinate.java.
Referenced by aud.graph.matrix.Coordinate.compareTo(), aud.graph.matrix.Coordinate.Coordinate(), aud.graph.matrix.Coordinate.equals(), aud.graph.matrix.SparseMatrixCS< T >.getTransposed(), aud.graph.AdjacencyMatrix< Edge >.iterator(), and aud.graph.matrix.Coordinate.toString().
| int aud.graph.matrix.Coordinate.j |
column index
Definition at line 16 of file Coordinate.java.
Referenced by aud.graph.matrix.Coordinate.compareTo(), aud.graph.matrix.Coordinate.Coordinate(), aud.graph.matrix.Coordinate.equals(), aud.graph.matrix.SparseMatrixCS< T >.getTransposed(), aud.graph.AdjacencyMatrix< Edge >.iterator(), and aud.graph.matrix.Coordinate.toString().