public class ParameterLoader
extends java.lang.Object
Constructor and Description |
---|
ParameterLoader() |
Modifier and Type | Method and Description |
---|---|
static Matrix |
loadMatrixFromFile(java.lang.String filename)
This method reads the file and retrieve a matrix of parameters.
|
static ParameterMap |
loadVectorFromFile(int numberOfIndices,
java.lang.String filename)
This method reads a file and retrieve a vector of parameters.
|
static ParameterMap |
loadVectorFromFile(java.lang.String filename)
This method reads a file and retrieve a vector of parameters.
|
public static ParameterMap loadVectorFromFile(int numberOfIndices, java.lang.String filename) throws java.io.IOException
filename
- the path of the file to be read (*.csv)java.io.IOException
- if something goes wrong while reading the file.public static ParameterMap loadVectorFromFile(java.lang.String filename) throws java.io.IOException
filename
- the path of the file to be read (*.csv)java.io.IOException
- if something goes wrong while reading the file.public static Matrix loadMatrixFromFile(java.lang.String filename) throws java.io.IOException
filename
- the path of the file to be read (*.csv)java.io.IOException
- if something goes wrong while reading the file