|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.core.Settings
public class Settings
Global settings used by this framework. The PROPERTIES object
contains the system properties and optionally the contents of a
configuration file (properties in the configuration file take precedence).
By default, the global.properties file is loaded, but can be
specified using the org.moeaframework.configuration system
property.
| Field Summary | |
|---|---|
static int |
BUFFER_SIZE
The default buffer size. |
static double |
EPS
Level of significance or machine precision. |
static String |
KEY_CLEANUP_STRATEGY
The property key for the cleanup strategy when restarting from previous runs. |
static String |
KEY_CONTINUITY_CORRECTION
The property key for the continuity correction flag. |
static String |
KEY_DIAGNOSTIC_TOOL_ALGORITHMS
The property key for the algorithms available in the diagnostic tool. |
static String |
KEY_DIAGNOSTIC_TOOL_PROBLEMS
The property key for the problems available in the diagnostic tool. |
static String |
KEY_FILE_PROTECTION_FORMAT
The property key for the file protection file name format. |
static String |
KEY_FILE_PROTECTION_MODE
The property key for the file protection mode. |
static String |
KEY_GP_PROTECTED_FUNCTIONS
The property key for the genetic programming protected functions flag. |
static String |
KEY_HYPERVOLUME
The property key for the hypervolume command. |
static String |
KEY_HYPERVOLUME_DELTA
The property key for the hypervolume delta when determining the reference point. |
static String |
KEY_HYPERVOLUME_ENABLED
The property key for the hypervolume flag. |
static String |
KEY_HYPERVOLUME_INVERTED
The property key for the hypervolume inversion flag. |
static String |
KEY_PISA_ALGORITHMS
The property key for the list of available PISA algorithms. |
static String |
KEY_PISA_POLL
The property key for the poll rate. |
static String |
KEY_PISA_PREFIX
The prefix for all PISA property keys. |
static String |
KEY_PREFIX
The prefix for all property keys. |
static String |
KEY_PROBLEM_LIST
The property key for the list of available problems. |
static String |
KEY_PROBLEM_PREFIX
The prefix for all problem property keys. |
static String |
NEW_LINE
Store the new line character to prevent repetitive calls to System.getProperty("line.separator"). |
static TypedProperties |
PROPERTIES
The global properties object. |
| Method Summary | |
|---|---|
static String |
getCleanupStrategy()
Returns the cleanup strategy when restarting from a previous run. |
static String[] |
getDiagnosticToolAlgorithms()
Returns the list of algorithms displayed in the diagnostic tool GUI. |
static String[] |
getDiagnosticToolProblems()
Returns the list of problems displayed in the diagnostic tool GUI. |
static String |
getFileProtectionFormat()
Returns the file protection file name format. |
static String |
getFileProtectionMode()
Returns the file protection mode. |
static String |
getHypervolume()
Returns the native hypervolume command; or null if the default
hypervolume implementation is used. |
static double |
getHypervolumeDelta()
Returns the delta applied to the nadir point of the reference set when calculating the hypervolume. |
static List<Image> |
getIconImages()
Returns the MOEA Framework icons of various sizes. |
static String[] |
getPISAAlgorithms()
Returns the list of available PISA selectors. |
static String |
getPISACommand(String algorithmName)
Returns the command, invokable through Runtime.exec(String), for
starting the PISA selector. |
static String |
getPISAConfiguration(String algorithmName)
Returns the configuration file for the PISA selector. |
static String |
getPISAParameterDefaultValue(String algorithmName,
String parameterName)
Returns the default value of the specified parameter for the PISA selector. |
static String[] |
getPISAParameters(String algorithmName)
Returns the list of parameter names for the PISA selector. |
static int |
getPISAPollRate()
Returns the poll rate, in milliseconds, for how often PISA checks the state file. |
static String |
getProblemClass(String name)
Returns the class for the specified problem. |
static String |
getProblemReferenceSet(String name)
Returns the reference set filename for the specified problem. |
static String[] |
getProblems()
Returns the list of available problems. |
static boolean |
isContinuityCorrection()
Returns true if continuity correction is enabled; false
otherwise. |
static boolean |
isHypervolumeEnabled()
Returns true if hypervolume calculation is enabled; false
otherwise. |
static boolean |
isHypervolumeInverted()
Returns true if the approximation set is inverted prior to being
passed to the custom hypervolume implementation; otherwise false. |
static boolean |
isProtectedFunctions()
Returns true if genetic programming functions should use
protection against invalid arguments that would otherwise result in
NaN or other invalid values; false otherwise. |
static String[] |
parseCommand(String command)
Splits an executable command into its individual arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double EPS
public static final int BUFFER_SIZE
public static final String NEW_LINE
System.getProperty("line.separator").
public static final TypedProperties PROPERTIES
public static final String KEY_PREFIX
public static final String KEY_CONTINUITY_CORRECTION
public static final String KEY_HYPERVOLUME_DELTA
public static final String KEY_HYPERVOLUME
public static final String KEY_HYPERVOLUME_INVERTED
public static final String KEY_HYPERVOLUME_ENABLED
public static final String KEY_PROBLEM_PREFIX
public static final String KEY_PROBLEM_LIST
public static final String KEY_PISA_PREFIX
public static final String KEY_PISA_ALGORITHMS
public static final String KEY_PISA_POLL
public static final String KEY_FILE_PROTECTION_MODE
public static final String KEY_FILE_PROTECTION_FORMAT
public static final String KEY_DIAGNOSTIC_TOOL_ALGORITHMS
public static final String KEY_DIAGNOSTIC_TOOL_PROBLEMS
public static final String KEY_GP_PROTECTED_FUNCTIONS
public static final String KEY_CLEANUP_STRATEGY
| Method Detail |
|---|
public static boolean isContinuityCorrection()
true if continuity correction is enabled; false
otherwise. Rank-based statistical inference methods, such as the
Mann-Whitney U test and the Wilcoxon Signed-Ranks test, approximate the
test's discrete distribution with a continuous distribution for
computing the p-value. It has been recommended but not often employed in
practice to apply a continuity correction.
true if continuity correction is enabled; false
otherwisepublic static double getHypervolumeDelta()
public static String getHypervolume()
null if the default
hypervolume implementation is used. The default hypervolume
implementation may become computationally prohibitive on large
approximation sets or at high dimensions. The following variable
substitutions are provided:
null if the default
hypervolume implementation is usedpublic static boolean isHypervolumeInverted()
true if the approximation set is inverted prior to being
passed to the custom hypervolume implementation; otherwise false.
true if the approximation set is inverted prior to being
passed to the custom hypervolume implementation; otherwise
falsepublic static boolean isHypervolumeEnabled()
true if hypervolume calculation is enabled; false
otherwise. When disabled, the hypervolume should be reported as
Double.NaN. Direct use of the Hypervolume class remains
unaffected by this option.
true if hypervolume calculation is enabled; false
otherwisepublic static String[] getProblems()
public static String getProblemClass(String name)
name - the problem name
public static String getProblemReferenceSet(String name)
name - the problem name
public static String[] getPISAAlgorithms()
public static int getPISAPollRate()
public static String getPISACommand(String algorithmName)
Runtime.exec(String), for
starting the PISA selector.
algorithmName - the name of the PISA selector
Runtime.exec(String), for
starting the PISA selectorpublic static String getPISAConfiguration(String algorithmName)
algorithmName - the name of the PISA selector
public static String[] getPISAParameters(String algorithmName)
algorithmName - the name of the PISA selector
public static String getPISAParameterDefaultValue(String algorithmName,
String parameterName)
algorithmName - the name of the PISA selectorparameterName - the name of the parameter
public static String getFileProtectionMode()
public static String getFileProtectionFormat()
public static String[] getDiagnosticToolAlgorithms()
public static String[] getDiagnosticToolProblems()
public static String[] parseCommand(String command)
"...") in properties to be treated as an
individual argument as required by ProcessBuilder.
command - the command represented in a single string
public static boolean isProtectedFunctions()
true if genetic programming functions should use
protection against invalid arguments that would otherwise result in
NaN or other invalid values; false otherwise.
true if genetic programming functions should use
protection against invalid arguments that would otherwise result
in NaN or other invalid values; false otherwisepublic static String getCleanupStrategy()
error, overwrite, and
restore. The default is error. Any other values should
default to error.
public static List<Image> getIconImages()
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||