$darkmode
DENOPTIM
|
This is a reference to a specific descriptor value. More...
Public Member Functions | |
DescriptorForFitness (String shortName, String className, IDescriptor implementation, int resultId) | |
DescriptorForFitness (String shortName, String className, IDescriptor implementation, int resultId, String[] dictClasses, String dictDefinition, String dictTitle) | |
String | getShortName () |
void | setVariables (List< Variable > variables) |
Overwrites the list of variables using this descriptor. More... | |
List< Variable > | getVariables () |
Get the variables that make use of values produced by this descriptor. More... | |
String | getClassName () |
IDescriptor | getImplementation () |
String | getDictTitle () |
String | getDictDefinition () |
String[] | getDictClasses () |
String | toString () |
String | getDictString () |
Utility only meant to print some info. More... | |
DescriptorForFitness | cloneAllButImpl () |
This is a sort of cloning that returns a new DescriptorForFitness with the same field content of this one (i.e., deep copy), but a shallow copy of the list of variables, and a null implementation. More... | |
DescriptorForFitness | makeCopy () throws DENOPTIMException |
Copy this descriptor and created an independent instance of the underlying descriptor implementation. More... | |
void | addDependentVariable (Variable v) |
Append the reference to a variable that used data produced by the calculation of this descriptor. More... | |
Protected Attributes | |
String | className |
ClassName pointing to the implementation of this descriptor's calculator. More... | |
IDescriptor | implementation |
Implementation of the descriptor's calculator. More... | |
String | shortName |
Descriptor short name. More... | |
List< Variable > | variables = new ArrayList<Variable>() |
Variables that use values calculated by this descriptor. More... | |
int | resultId = 0 |
Pointer to a specific results among those that are produced by the calculation of this descriptor, or 0 for descriptors that produce a single value. More... | |
String[] | dictClasses |
The class(es) of descriptor as define in the descriptor dictionary. More... | |
String | dictDefinition |
The Definition of descriptor as define in the descriptor dictionary. More... | |
String | dictTitle |
The title of descriptor as define in the descriptor dictionary. More... | |
Static Private Member Functions | |
static IDescriptor | newDescriptorImplementation (DescriptorForFitness oldParent) throws DENOPTIMException |
Static Private Attributes | |
static IChemObjectBuilder | cdkBuilder |
Utility for constructing CDK objects. More... | |
This is a reference to a specific descriptor value.
Not the numerical result, but the identity of the value.
Definition at line 37 of file DescriptorForFitness.java.
denoptim.fitness.DescriptorForFitness.DescriptorForFitness | ( | String | shortName, |
String | className, | ||
IDescriptor | implementation, | ||
int | resultId | ||
) |
Definition at line 89 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.className, denoptim.fitness.DescriptorForFitness.implementation, denoptim.fitness.DescriptorForFitness.resultId, and denoptim.fitness.DescriptorForFitness.shortName.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl().
denoptim.fitness.DescriptorForFitness.DescriptorForFitness | ( | String | shortName, |
String | className, | ||
IDescriptor | implementation, | ||
int | resultId, | ||
String[] | dictClasses, | ||
String | dictDefinition, | ||
String | dictTitle | ||
) |
Definition at line 100 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.className, denoptim.fitness.DescriptorForFitness.dictClasses, denoptim.fitness.DescriptorForFitness.dictDefinition, denoptim.fitness.DescriptorForFitness.dictTitle, denoptim.fitness.DescriptorForFitness.implementation, denoptim.fitness.DescriptorForFitness.resultId, and denoptim.fitness.DescriptorForFitness.shortName.
void denoptim.fitness.DescriptorForFitness.addDependentVariable | ( | Variable | v | ) |
Append the reference to a variable that used data produced by the calculation of this descriptor.
v | the reference to the variable. |
Definition at line 301 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.variables.
Referenced by denoptim.fitness.FitnessExpressionParser.parse(), denoptim.fitness.FitnessProviderTest.testGetFitness(), and denoptim.fitness.FitnessProviderTest.testGetFitnessWithCustomDescriptors().
DescriptorForFitness denoptim.fitness.DescriptorForFitness.cloneAllButImpl | ( | ) |
This is a sort of cloning that returns a new DescriptorForFitness
with the same field content of this one (i.e., deep copy), but a shallow copy of the list of variables, and a null implementation.
The latter will have to be instantiated elsewhere.
Definition at line 235 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.className, denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.DescriptorForFitness.dictClasses, denoptim.fitness.DescriptorForFitness.dictDefinition, denoptim.fitness.DescriptorForFitness.dictTitle, denoptim.fitness.DescriptorForFitness.resultId, denoptim.fitness.DescriptorForFitness.setVariables(), denoptim.fitness.DescriptorForFitness.shortName, and denoptim.fitness.DescriptorForFitness.variables.
Referenced by denoptim.fitness.FitnessProvider.FitnessProvider(), and denoptim.fitness.DescriptorForFitness.makeCopy().
String denoptim.fitness.DescriptorForFitness.getClassName | ( | ) |
Definition at line 141 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.className.
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm(), and denoptim.fitness.FitnessProvider.FitnessProvider().
String[] denoptim.fitness.DescriptorForFitness.getDictClasses | ( | ) |
Definition at line 169 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.dictClasses.
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm().
String denoptim.fitness.DescriptorForFitness.getDictDefinition | ( | ) |
Definition at line 162 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.dictDefinition.
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm().
String denoptim.fitness.DescriptorForFitness.getDictString | ( | ) |
Utility only meant to print some info.
Definition at line 206 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.dictClasses, denoptim.fitness.DescriptorForFitness.dictDefinition, and denoptim.fitness.DescriptorForFitness.dictTitle.
String denoptim.fitness.DescriptorForFitness.getDictTitle | ( | ) |
Definition at line 155 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.dictTitle.
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm().
IDescriptor denoptim.fitness.DescriptorForFitness.getImplementation | ( | ) |
Definition at line 148 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.implementation.
Referenced by denoptim.gui.FitnessParametersForm.FitnessParametersForm().
String denoptim.fitness.DescriptorForFitness.getShortName | ( | ) |
Definition at line 112 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.shortName.
Referenced by denoptim.gui.FitnessParametersForm.DescriptorTreeNode.DescriptorTreeNode(), denoptim.gui.FitnessParametersForm.FitnessParametersForm(), denoptim.fitness.FitnessExpressionParser.parse(), and denoptim.fitness.FitnessExpressionParserTest.testProcessExpressions().
List< Variable > denoptim.fitness.DescriptorForFitness.getVariables | ( | ) |
Get the variables that make use of values produced by this descriptor.
Definition at line 134 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.variables.
Referenced by denoptim.fitness.FitnessProvider.getFitness(), and denoptim.fitness.FitnessExpressionParserTest.testProcessExpressions().
DescriptorForFitness denoptim.fitness.DescriptorForFitness.makeCopy | ( | ) | throws DENOPTIMException |
Copy this descriptor and created an independent instance of the underlying descriptor implementation.
DENOPTIMException |
Definition at line 251 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), and denoptim.fitness.DescriptorForFitness.newDescriptorImplementation().
Referenced by denoptim.fitness.FitnessExpressionParser.parse().
|
staticprivate |
Definition at line 260 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.cdkBuilder, and denoptim.fitness.DescriptorForFitness.className.
Referenced by denoptim.fitness.DescriptorForFitness.makeCopy().
void denoptim.fitness.DescriptorForFitness.setVariables | ( | List< Variable > | variables | ) |
Overwrites the list of variables using this descriptor.
variables | the new list of variable. |
Definition at line 123 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.variables.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl().
String denoptim.fitness.DescriptorForFitness.toString | ( | ) |
Definition at line 177 of file DescriptorForFitness.java.
References denoptim.fitness.DescriptorForFitness.className, denoptim.fitness.DescriptorForFitness.implementation, denoptim.fitness.DescriptorForFitness.resultId, denoptim.fitness.DescriptorForFitness.shortName, and denoptim.fitness.DescriptorForFitness.variables.
|
staticprivate |
Utility for constructing CDK objects.
Definition at line 84 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.newDescriptorImplementation().
|
protected |
ClassName pointing to the implementation of this descriptor's calculator.
Definition at line 42 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.DescriptorForFitness.getClassName(), denoptim.fitness.DescriptorForFitness.newDescriptorImplementation(), and denoptim.fitness.DescriptorForFitness.toString().
|
protected |
The class(es) of descriptor as define in the descriptor dictionary.
Definition at line 69 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.DescriptorForFitness.getDictClasses(), and denoptim.fitness.DescriptorForFitness.getDictString().
|
protected |
The Definition of descriptor as define in the descriptor dictionary.
Definition at line 74 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.DescriptorForFitness.getDictDefinition(), and denoptim.fitness.DescriptorForFitness.getDictString().
|
protected |
The title of descriptor as define in the descriptor dictionary.
Definition at line 79 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.DescriptorForFitness.getDictString(), and denoptim.fitness.DescriptorForFitness.getDictTitle().
|
protected |
Implementation of the descriptor's calculator.
Definition at line 47 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.DescriptorForFitness.getImplementation(), denoptim.fitness.FitnessExpressionParser.parse(), and denoptim.fitness.DescriptorForFitness.toString().
|
protected |
Pointer to a specific results among those that are produced by the calculation of this descriptor, or 0 for descriptors that produce a single value.
Definition at line 64 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), and denoptim.fitness.DescriptorForFitness.toString().
|
protected |
Descriptor short name.
Definition at line 52 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.DescriptorForFitness(), denoptim.fitness.FitnessProvider.getFitness(), denoptim.fitness.DescriptorForFitness.getShortName(), and denoptim.fitness.DescriptorForFitness.toString().
|
protected |
Variables that use values calculated by this descriptor.
Definition at line 57 of file DescriptorForFitness.java.
Referenced by denoptim.fitness.DescriptorForFitness.addDependentVariable(), denoptim.fitness.DescriptorForFitness.cloneAllButImpl(), denoptim.fitness.DescriptorForFitness.getVariables(), denoptim.fitness.DescriptorForFitness.setVariables(), and denoptim.fitness.DescriptorForFitness.toString().