Class AlgorithmFactory

java.lang.Object
dealib.algorithms.AlgorithmFactory

public class AlgorithmFactory extends Object
AlgorithmFactory is a class for creating new algorithms from the differential evolution algorithms library (dealib) of the framework.
Since:
1.0
Version:
1.0
Author:
Alicia Vazquez Ramos
  • Method Summary

    Modifier and Type
    Method
    Description
    static Algorithm
    createAlgorithm(String algorithmName, Execution config)
    Creates an Algorithm already implemented in the differential evolution algorithms library (dealib) of the framework: given an algorithm reduced name, it searchs for the full qualified name in the external resource archive "componentsAlias.properties" and by reflection creates the corresponding algorithm.

    Methods inherited from class java.lang.Object

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

    • createAlgorithm

      public static Algorithm createAlgorithm(String algorithmName, Execution config)
      Creates an Algorithm already implemented in the differential evolution algorithms library (dealib) of the framework: given an algorithm reduced name, it searchs for the full qualified name in the external resource archive "componentsAlias.properties" and by reflection creates the corresponding algorithm.
      Parameters:
      algorithmName - reduced algorithm name for identifyng the full qualified name of an algorithm.
      config - Execution configuration for the algorithm.
      Returns:
      an algorithm.