Interface IndexBasedConstraintConverter
-
- All Known Implementing Classes:
SimpleCartesianProductConstraintConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IndexBasedConstraintConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<de.rwth.swc.coffee4j.engine.TupleList>convert(java.util.List<Constraint> constraints, java.util.List<Parameter> parameters)Converts all constraints to tuple lists by using the index based schema explained inModelConverter.
-
-
-
Method Detail
-
convert
java.util.List<de.rwth.swc.coffee4j.engine.TupleList> convert(java.util.List<Constraint> constraints, java.util.List<Parameter> parameters)
Converts all constraints to tuple lists by using the index based schema explained inModelConverter. The constraints need to be converted in order.- Parameters:
constraints- all constraint which need to be converted. Must not benullbut can be emptyparameters- the parameters containing the values for the conversion. Must not benull. Can only be empty if constraints is empty too as otherwise parameters are constrained- Returns:
- the converted constraints in the same order as the given constraints
-
-