$darkmode
DENOPTIM
|
This is the context on which we read a fitness expression, and parse it to identify all variables in the expression. More...
Public Member Functions | |
VariableDefiningContext (List< Variable > variables) | |
Constructor specifying the destination of the variables created when parsing the expression. More... | |
ELResolver | getELResolver () |
FunctionMapper | getFunctionMapper () |
VariableMapper | getVariableMapper () |
Private Attributes | |
List< Variable > | variables |
Reference to where we collect all the created variables. More... | |
FunctionMapper | fm = null |
VariableMapper | vm |
This mapper does not map variables, but it creates an instance of Variable named with the given string, and it adds the instance to the list of known variables, if no variable with the same name is already there. More... | |
ELResolver | resolver = new BeanELResolver() |
Resolver exploiting JavaBean contract. More... | |
This is the context on which we read a fitness expression, and parse it to identify all variables in the expression.
The variables are collected in a list
Definition at line 423 of file FitnessExpressionParser.java.
denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.VariableDefiningContext | ( | List< Variable > | variables | ) |
Constructor specifying the destination of the variables created when parsing the expression.
variables | destination of the created variable instances. |
Definition at line 475 of file FitnessExpressionParser.java.
References denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.variables.
ELResolver denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.getELResolver | ( | ) |
Definition at line 481 of file FitnessExpressionParser.java.
References denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.resolver.
FunctionMapper denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.getFunctionMapper | ( | ) |
Definition at line 487 of file FitnessExpressionParser.java.
References denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.fm.
VariableMapper denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.getVariableMapper | ( | ) |
Definition at line 493 of file FitnessExpressionParser.java.
References denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.vm.
|
private |
Definition at line 430 of file FitnessExpressionParser.java.
Referenced by denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.getFunctionMapper().
|
private |
Resolver exploiting JavaBean contract.
Definition at line 468 of file FitnessExpressionParser.java.
Referenced by denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.getELResolver().
|
private |
Reference to where we collect all the created variables.
Definition at line 428 of file FitnessExpressionParser.java.
Referenced by denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.VariableDefiningContext().
|
private |
This mapper does not map variables, but it creates an instance of Variable
named with the given string, and it adds the instance to the list of known variables, if no variable with the same name is already there.
Variable names are expected to correspond to the name of descriptors
Definition at line 440 of file FitnessExpressionParser.java.
Referenced by denoptim.fitness.FitnessExpressionParser.VariableDefiningContext.getVariableMapper().