jmetal.experiments
Class Settings

java.lang.Object
  extended by jmetal.experiments.Settings
Direct Known Subclasses:
AbYSS_Settings, CellDE_Settings, cMOEAD_Settings, dMOPSO_Settings, FastSMSEMOA_Settings, GDE3_Settings, IBEA_Settings, MOCell_Settings, MOCHC_Settings, MOEAD_DRA_Settings, MOEAD_Settings, NSGAII_Settings, NSGAIIAdaptive_Settings, NSGAIIBinary_Settings, NSGAIIPermutation_Settings, NSGAIIRandom_Settings, OMOPSO_Settings, PAES_Settings, pMOEAD_Settings, pNSGAII_Settings, pSMPSO_Settings, RandomSearch_Settings, SMPSO_Settings, SMPSOhv_Settings, SMSEMOA_Settings, SPEA2_Settings

public abstract class Settings
extends java.lang.Object

Class representing Settings objects.


Field Summary
protected  java.lang.String paretoFrontFile_
           
protected  Problem problem_
           
protected  java.lang.String problemName_
           
 
Constructor Summary
Settings()
          Constructor
Settings(java.lang.String problemName)
          Constructor
 
Method Summary
abstract  Algorithm configure()
          Default configure method
 Algorithm configure(java.util.HashMap settings)
          Configure method.
 Algorithm configure(java.util.Properties configuration)
          Configure method based on reading a properties file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

problem_

protected Problem problem_

problemName_

protected java.lang.String problemName_

paretoFrontFile_

protected java.lang.String paretoFrontFile_
Constructor Detail

Settings

public Settings()
Constructor


Settings

public Settings(java.lang.String problemName)
Constructor

Method Detail

configure

public abstract Algorithm configure()
                             throws JMException
Default configure method

Returns:
An algorithm with the default configuration
Throws:
JMException

configure

public Algorithm configure(java.util.Properties configuration)
                    throws JMException
Configure method based on reading a properties file

Parameters:
configuration - Properties file
Returns:
A algorithm with a the configuration contained in the properties file
Throws:
JMException

configure

public final Algorithm configure(java.util.HashMap settings)
                          throws JMException,
                                 java.lang.IllegalArgumentException,
                                 java.lang.IllegalAccessException,
                                 java.lang.ClassNotFoundException
Configure method. Change the default configuration

Parameters:
settings -
Returns:
A problem with the experiments.settings indicated as argument
Throws:
JMException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException