Class StoppingCriterionFactory
java.lang.Object
dealib.components.stoppingcriteria.StoppingCriterionFactory
StoppingCriterionFactory is a class for creating new stopping criteria
operators from the differential evolution algorithms library (dealib) of the
framework.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Method Summary
Modifier and TypeMethodDescriptionstatic StoppingCriterion
createStoppingCriterion
(String stoppingCriterionName, Execution exe) Creates an StoppingCriterionFactory already implemented in the differential evolution algorithms library (dealib) of the framework: given an stopping criterion reduced name, it searchs for the full qualified name in the external resource archive "componentsAlias.properties" and by reflection creates the corresponding stopping criterion operator.
-
Method Details
-
createStoppingCriterion
public static StoppingCriterion createStoppingCriterion(String stoppingCriterionName, Execution exe) Creates an StoppingCriterionFactory already implemented in the differential evolution algorithms library (dealib) of the framework: given an stopping criterion reduced name, it searchs for the full qualified name in the external resource archive "componentsAlias.properties" and by reflection creates the corresponding stopping criterion operator.- Parameters:
stoppingCriterionName
- reduced stopping criterion name for identifyng the full qualified name of a stopping criterion.exe
- Execution configuration for the stopping criterion operator.- Returns:
- a stopping criterion operator.
-