19package denoptim.fitness;
21import java.util.ArrayList;
22import java.util.Arrays;
24import org.openscience.cdk.qsar.IDescriptor;
92 String smartsIdentifier)
94 ArrayList<String>
smarts =
new ArrayList<String>(Arrays.asList(
95 smartsIdentifier.split(
"\\s+")));
191 +
", smarts:"+
smarts+
", pararams:";
197 for (
int i=0; i<(
params.length-1); i++)
A variable in the expression defining the fitness.
String[] params
Definition of custom parameters for the configuration of the descriptor implementation.
static Variable atomSpecific(String varName, String descName, String smartsIdentifier)
Returns an atom specific variable, i.e., a variable the value of which needs to be obtained from the ...
ArrayList< String > smarts
SMARTS strings used to select atom/bond specific values.
String getName()
Get the name of this variable, i.e., the string used in the fitness-defining expression.
void setDescriptorParameters(String[] params)
Set the list of strings defining customisable parameter for the descriptor implementation.
Variable(String varName)
Constructs a named variable.
String descName
The short name of the descriptor implementation.
void setSMARTS(ArrayList< String > smarts)
Set the list of smarts used to identify atom/bond-specific values.
String toString()
Returns a human readable string.
String getDescriptorName()
Get the short name of the descriptor implementation.
String varName
The string used to represent this variable in the fitness defining expression.
static Variable parametrized(String varName, String descName, String paramsStr)
Returns an parameterized variable, i.e., a variable the value of which needs to be obtained from the ...
void setDescriptorName(String descName)
Set the short name of the descriptor implementation.