Class ConfigurationsReader

java.lang.Object
es.uam.eps.ir.relison.grid.ConfigurationsReader
Direct Known Subclasses:
AlgorithmConfigurationsReader, CommunityDetectionConfigurationsReader, LinkPredictionMetricConfigurationsReader, MetricConfigurationsReader, RecommMetricConfigurationsReader, RerankerConfigurationsReader

public abstract class ConfigurationsReader
extends java.lang.Object
Class for reading parameters from a YAML file. It receives a list of parameter configurations, which are separately read. The file should look as it follows:
- param1:
type: value_of_type
value: value
param2:
...
paramN:
type: value_of_type
value: value
- param1:
....
  • Constructor Summary

    Constructors 
    Constructor Description
    ConfigurationsReader()  
  • Method Summary

    Modifier and Type Method Description
    protected Configurations readConfigurationGrid​(java.util.List<java.lang.Object> configurations, ParametersReader paramReader)
    Reads the possible values for the parameters of an algorithm.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • readConfigurationGrid

      protected Configurations readConfigurationGrid​(java.util.List<java.lang.Object> configurations, ParametersReader paramReader)
      Reads the possible values for the parameters of an algorithm.
      Parameters:
      configurations - a list of configurations, read from a YAML file.
      paramReader - a parameter reader.
      Returns:
      the list of configurations.