Package planner.utils

Class Reader

java.lang.Object
planner.utils.Reader

public class Reader extends Object
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 Details

    • Reader

      public Reader()
  • Method Details

    • loadConfigurationData

      public static void loadConfigurationData(String path)
      Initializes essential properties and configuration in the framework.
      Parameters:
      path - path of the file containing the dataset.
    • getExperimentPath

      public static String getExperimentPath(int i)
    • loadExperimentProperties

      public static Properties loadExperimentProperties(int i)
    • buildExperiment

      public static Experiment buildExperiment(Properties properties) throws ExperimentFormatException, IncompatibleConfigurationException
      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

      public static Dataset loadDataset(String path)
      Loads a dataset with ARFF format.
      Parameters:
      path - String representing the path.
      Returns:
      a Dataset object.
    • getComponentFullName

      public static String getComponentFullName(String alias)