Class OptPropertiesParser
java.lang.Object
repast.simphony.parameter.optimizer.OptPropertiesParser
Parses the properties from an optimizing properties file.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Constructor Summary
ConstructorDescriptionOptPropertiesParser
(File file) Creates a properites parser to parse the specified file. -
Method Summary
Modifier and TypeMethodDescriptionGets the AdvancementChooser (if any) from the class name in the properties file.Gets the name of the BSF script file to use for this optimized sweep.Gets the name of the parameters file to use for this optimized sweep.Gets the RunResultProducer from the class name in the properties file.
-
Constructor Details
-
OptPropertiesParser
Creates a properites parser to parse the specified file.- Parameters:
file
-- Throws:
IOException
-
-
Method Details
-
getRunResultProducer
public RunResultProducer getRunResultProducer() throws ClassNotFoundException, IllegalAccessException, InstantiationExceptionGets the RunResultProducer from the class name in the properties file.- Returns:
- the RunResultProducer from the class name in the properties file.
- Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException
-
getAdvancementChooser
public AdvancementChooser getAdvancementChooser() throws ClassNotFoundException, IllegalAccessException, InstantiationExceptionGets the AdvancementChooser (if any) from the class name in the properties file.- Returns:
- the AdvancementChooser (if any) from the class name in the properties file.
- Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException
-
getParametersFile
Gets the name of the parameters file to use for this optimized sweep.- Returns:
- the name of the parameters file to use for this optimized sweep.
-
getBSFScript
Gets the name of the BSF script file to use for this optimized sweep.- Returns:
- the name of the BSF script file to use for this optimized sweep.
-