|
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.spi.ProblemProvider
org.moeaframework.problem.PropertiesProblems
public class PropertiesProblems
Problem provider for problems enumerated in global.properties.
The problems are identified by name as listed in the org.moeaframework.problem.problems property, with the class and optional
reference set defined by the org.moeaframework.problem.NAME.class
and org.moeaframework.problem.NAME.referenceSet properties.
Problems instantiated this way must provide an empty constructor.
| Constructor Summary | |
|---|---|
PropertiesProblems()
Constructs the problem provider for problems enumerated in global.properties. |
|
| Method Summary | |
|---|---|
protected String |
getCaseSensitiveProblemName(String name)
Returns the case-sensitive version of the problem name. |
Problem |
getProblem(String name)
Returns the problem with the specified name, or null if this
provider does not support the problem. |
NondominatedPopulation |
getReferenceSet(String name)
Returns the reference set for the specified problem, or null if
this provider does not support the problem or no reference set is
available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesProblems()
global.properties.
| Method Detail |
|---|
protected String getCaseSensitiveProblemName(String name)
org.moeaframework.problem.problems property, name is
returned unchanged.
name - the case-insensitive name
public Problem getProblem(String name)
ProblemProvidernull if this
provider does not support the problem.
getProblem in class ProblemProvidername - the problem name
null if this
provider does not support the problempublic NondominatedPopulation getReferenceSet(String name)
ProblemProvidernull if
this provider does not support the problem or no reference set is
available.
getReferenceSet in class ProblemProvidername - the problem name
null if
this provider does not support the problem or no reference set
is available
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||