Package planner.utils
Class Reader
java.lang.Object
planner.utils.Reader
Reader is a class implementing all input operations of the framework when
working with experiment files: configures a list of experiment given the
configuration defined in the framework experiments files.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Experiment
buildExperiment
(Properties properties) static String
getComponentFullName
(String alias) static String
getExperimentPath
(int i) static int
Gets the number of experiments configured in the experiments core data.static void
loadConfigurationData
(String path) Initializes essential properties and configuration in the framework.static Dataset
loadDataset
(String path) Loads a dataset with ARFF format.static Properties
loadExperimentProperties
(int i)
-
Constructor Details
-
Reader
public Reader()
-
-
Method Details
-
loadConfigurationData
Initializes essential properties and configuration in the framework.- Parameters:
path
- path of the file containing the dataset.
-
getExperimentPath
-
loadExperimentProperties
-
buildExperiment
public static Experiment buildExperiment(Properties properties) throws ExperimentFormatException, IncompatibleConfigurationException -
getNumExperiments
public static int getNumExperiments()Gets the number of experiments configured in the experiments core data.- Returns:
- the number of experiments configured.
-
loadDataset
Loads a dataset with ARFF format.- Parameters:
path
- String representing the path.- Returns:
- a Dataset object.
-
getComponentFullName
-