Class SelectorFactory

java.lang.Object
dealib.components.selectors.SelectorFactory

public class SelectorFactory extends Object
SelectorFactory is a class for creating new selectors 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 Selector
    createSelector(String selectorName, Execution exp)
    Creates a Selector already implemented in the differential evolution algorithms library (dealib) of the framework: given a selector reduced name, it searchs for the full qualified name in the external resource archive "componentsAlias.properties" and by reflection creates the corresponding selector operator.

    Methods inherited from class java.lang.Object

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

    • createSelector

      public static Selector createSelector(String selectorName, Execution exp)
      Creates a Selector already implemented in the differential evolution algorithms library (dealib) of the framework: given a selector reduced name, it searchs for the full qualified name in the external resource archive "componentsAlias.properties" and by reflection creates the corresponding selector operator.
      Parameters:
      selectorName - reduced selector name for identifyng the full qualified name of a selector operator.
      exp - Execution configuration for the selector operator.
      Returns:
      a selector operator.