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 ExperimentbuildExperiment(Properties properties) static StringgetComponentFullName(String alias) static StringgetExperimentPath(int i) static intGets the number of experiments configured in the experiments core data.static voidloadConfigurationData(String path) Initializes essential properties and configuration in the framework.static DatasetloadDataset(String path) Loads a dataset with ARFF format.static PropertiesloadExperimentProperties(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
-