MOEA Framework 2.12
API Specification

org.moeaframework.problem
Class ClassLoaderProblems

java.lang.Object
  extended by org.moeaframework.core.spi.ProblemProvider
      extended by org.moeaframework.problem.ClassLoaderProblems

public class ClassLoaderProblems
extends ProblemProvider

Problem provider for problems accessible through the current class loader. The name of the problem should be the fully-qualified class name (including the containing package, if any). Problems instantiated this way must provide an empty constructor. No reference sets are provided; see PropertiesProblems for a way to define problems with reference sets.


Constructor Summary
ClassLoaderProblems()
           
 
Method Summary
 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

ClassLoaderProblems

public ClassLoaderProblems()
Method Detail

getProblem

public Problem getProblem(String name)
Description copied from class: ProblemProvider
Returns the problem with the specified name, or null if this provider does not support the problem.

Specified by:
getProblem in class ProblemProvider
Parameters:
name - the problem name
Returns:
the problem with the specified name, or null if this provider does not support the problem

getReferenceSet

public NondominatedPopulation getReferenceSet(String name)
Description copied from class: ProblemProvider
Returns the reference set for the specified problem, or null if this provider does not support the problem or no reference set is available.

Specified by:
getReferenceSet in class ProblemProvider
Parameters:
name - the problem 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

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!