$darkmode
DENOPTIM
|
Static Public Member Functions | |
static List< String > | getAllClassNamesInPackage (String packageName, String jarFileWildQuery) |
Search for packages in the class path and in the appended archives. More... | |
static List< String > | getClassNamesToDenoptimDescriptors () |
static List< String > | getClassNamesToCDKDescriptors () |
static DescriptorEngine | getCDKDescriptorEngine () |
Makes an engine using CDK descriptors. More... | |
static List< DescriptorForFitness > | findAllCDKDescriptors (Set< String > requiredDescriptors) throws DENOPTIMException |
Searches for descriptor implementations in the CDK packages. More... | |
static List< DescriptorForFitness > | findAllDENOPTIMDescriptors (Set< String > requiredDescriptors) throws DENOPTIMException |
Searches for descriptor implementations in the DENOPTIM packages. More... | |
static List< DescriptorForFitness > | findAllDescriptorImplementations (Set< String > requiredDescriptors) throws DENOPTIMException |
Searches for descriptor implementations. More... | |
static List< DescriptorForFitness > | findDescriptorImplementations (Set< String > requiredDescriptors, List< String > classNames) throws DENOPTIMException |
Searches for descriptor implementations. More... | |
Static Private Attributes | |
static final String | FS = System.getProperty("file.separator") |
static List< String > | rejectedDescriptors |
List of descriptor names that are excluded from default import because they have been shown to contain bugs. More... | |
Definition at line 43 of file DescriptorUtils.java.
|
static |
Searches for descriptor implementations in the CDK packages.
This method excludes descriptors that have been listed in rejectedDescriptors
.
requiredDescriptors | list of descriptor short names that we want to obtain. All the rest will be ignored. This parameter can be null, in which case we'll return all the descriptors. |
DENOPTIMException |
Definition at line 179 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.findDescriptorImplementations(), and denoptim.fitness.DescriptorUtils.getClassNamesToCDKDescriptors().
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm().
|
static |
Searches for descriptor implementations in the DENOPTIM packages.
This method excludes descriptors that have been listed in rejectedDescriptors
.
requiredDescriptors | list of descriptor short names that we want to obtain. All the rest will be ignored. This parameter can be null, in which case we'll return all the descriptors. |
DENOPTIMException |
Definition at line 199 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.findDescriptorImplementations(), and denoptim.fitness.DescriptorUtils.getClassNamesToDenoptimDescriptors().
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm().
|
static |
Searches for descriptor implementations.
Searches in both CDK and DENOPTIM packages. This method excludes descriptors that have been listed in rejectedDescriptors
.
requiredDescriptors | list of descriptor short names that we want to obtain. All the rest will be ignored. This parameter can be null, in which case we'll return all the descriptors. |
DENOPTIMException |
Definition at line 219 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.findDescriptorImplementations(), denoptim.fitness.DescriptorUtils.getClassNamesToCDKDescriptors(), and denoptim.fitness.DescriptorUtils.getClassNamesToDenoptimDescriptors().
Referenced by denoptim.fitness.FitnessExpressionParser.parse().
|
static |
Searches for descriptor implementations.
This method excludes descriptors that have been listed in rejectedDescriptors
.
requiredDescriptors | list of descriptor short names that we want to obtain. All the rest will be ignored. This parameter can be null, in which case we'll return all the descriptors. |
classNames | the classnames of the implementations. |
DENOPTIMException |
Definition at line 240 of file DescriptorUtils.java.
References denoptim.fitness.IDenoptimDescriptor.getDictionaryClass(), denoptim.fitness.IDenoptimDescriptor.getDictionaryDefinition(), denoptim.fitness.IDenoptimDescriptor.getDictionaryTitle(), and denoptim.fitness.DescriptorUtils.rejectedDescriptors.
Referenced by denoptim.fitness.DescriptorUtils.findAllCDKDescriptors(), denoptim.fitness.DescriptorUtils.findAllDENOPTIMDescriptors(), and denoptim.fitness.DescriptorUtils.findAllDescriptorImplementations().
|
static |
Search for packages in the class path and in the appended archives.
packageName | package name that uses '.' as separator. |
jarFileWildQuery | a query to identify the jar file that should contain the wanter package. |
Definition at line 64 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.FS.
Referenced by denoptim.fitness.DescriptorUtils.getClassNamesToCDKDescriptors(), and denoptim.fitness.DescriptorUtils.getClassNamesToDenoptimDescriptors().
|
static |
Makes an engine using CDK descriptors.
Definition at line 162 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.getClassNamesToCDKDescriptors().
|
static |
Definition at line 150 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.getAllClassNamesInPackage().
Referenced by denoptim.fitness.DescriptorUtils.findAllCDKDescriptors(), denoptim.fitness.DescriptorUtils.findAllDescriptorImplementations(), denoptim.fitness.DescriptorUtils.getCDKDescriptorEngine(), and denoptim.fitness.DescriptorUtilsTest.testFindCDKDescriptors().
|
static |
Definition at line 142 of file DescriptorUtils.java.
References denoptim.fitness.DescriptorUtils.getAllClassNamesInPackage().
Referenced by denoptim.fitness.DescriptorUtils.findAllDENOPTIMDescriptors(), denoptim.fitness.DescriptorUtils.findAllDescriptorImplementations(), and denoptim.fitness.DescriptorUtilsTest.testFindDemoptimDescriptors().
|
staticprivate |
Definition at line 45 of file DescriptorUtils.java.
Referenced by denoptim.fitness.DescriptorUtils.getAllClassNamesInPackage().
|
staticprivate |
List of descriptor names that are excluded from default import because they have been shown to contain bugs.
Definition at line 51 of file DescriptorUtils.java.
Referenced by denoptim.fitness.DescriptorUtils.findDescriptorImplementations().