public class MatrixReader
extends java.lang.Object
| Constructor and Description |
|---|
MatrixReader(java.io.Reader reader)
Constructs a Matrix reader from a java.io.Reader.
|
MatrixReader(java.lang.String filename)
Constructs a MatrixReader from a file of chars.
|
| Modifier and Type | Method and Description |
|---|---|
double[][] |
getMatrix()
Returns the (distance) matrix from the file of the chars.
|
public MatrixReader(java.io.Reader reader)
reader - The java.io.Reader to read the Matrix frompublic MatrixReader(java.lang.String filename)
filename - String : The name of the file that must be read.