| Package | Description |
|---|---|
| de.rwth.swc.coffee4j.model | |
| de.rwth.swc.coffee4j.model.converter |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
Parameter.Builder.build()
Builds a new parameter.
|
| Modifier and Type | Method and Description |
|---|---|
List<Parameter> |
InputParameterModel.getParameters() |
Map<Parameter,Value> |
Combination.getParameterValueMap() |
| Modifier and Type | Method and Description |
|---|---|
Object |
Combination.getRawValue(Parameter parameter)
The same as
Combination.getValue(Parameter) only with Value.get() begin called afterwards. |
Value |
Combination.getValue(Parameter parameter)
Retrieves the value of the specific parameter.
|
InputParameterModel.Builder |
InputParameterModel.Builder.parameter(Parameter parameter)
Adds a parameter to the model.
|
InputParameterModel.Builder |
InputParameterModel.Builder.parameters(Parameter... parameters)
Adds all parameters to the model.
|
Combination.Builder |
Combination.Builder.value(Parameter parameter,
Value value)
Adds a mapping from a parameter to a value to this combination.
|
| Constructor and Description |
|---|
Combination(Map<Parameter,Value> parameterValueMap)
Creates a new combination with the mappings.
|
InputParameterModel(int strength,
String name,
List<Parameter> parameters)
Creates a new model with no constraints.
|
InputParameterModel(int strength,
String name,
List<Parameter> parameters,
Collection<Constraint> forbiddenConstraints,
Collection<Constraint> errorConstraints)
Creates a new model with all given configuration arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Parameter |
ModelConverter.convertParameter(int parameter)
Converts an integer representation back to a
Parameter object. |
Parameter |
IndexBasedModelConverter.convertParameter(int parameter) |
| Modifier and Type | Method and Description |
|---|---|
int |
ModelConverter.convertParameter(Parameter parameter)
Converts a
Parameter object into an equivalent integer representation. |
int |
IndexBasedModelConverter.convertParameter(Parameter parameter) |
int |
ModelConverter.convertValue(Parameter parameter,
Value value)
Converts a
Value to an integer representation. |
int |
IndexBasedModelConverter.convertValue(Parameter parameter,
Value value) |
| Modifier and Type | Method and Description |
|---|---|
List<TupleList> |
SimpleCartesianProductConstraintConverter.convert(List<Constraint> constraints,
List<Parameter> parameters) |
List<TupleList> |
IndexBasedConstraintConverter.convert(List<Constraint> constraints,
List<Parameter> parameters)
Converts all constraints to tuple lists by using the index based schema explained in
ModelConverter. |
Copyright © 2019. All rights reserved.