Package org.moeaframework.analysis.io
Class ParameterFile
java.lang.Object
org.moeaframework.analysis.io.ParameterFile
Loads the parameters in a parameter file. A parameter file contains on each line the name, lower bound, and upper
bound of a parameter separated by whitespace.
-
Constructor Summary
ConstructorDescriptionParameterFile
(File file) Constructs a parameter file with the parameters contained in the specified parameter description file. -
Method Summary
-
Constructor Details
-
ParameterFile
Constructs a parameter file with the parameters contained in the specified parameter description file.- Parameters:
file
- the parameter file- Throws:
IOException
- if an I/O error occurred
-
-
Method Details
-
size
public int size()Returns the number of parameters in this parameter file.- Returns:
- the number of parameters in this parameter file
-
get
Returns the parameter at the specified index.- Parameters:
index
- the index of the parameter to be returned- Returns:
- the parameter at the specified index
-