}
public Map<String, Double> findFuzzyModel() {
for (int numberOfDegrees = 1;!timesUp(); numberOfDegrees++) {
System.out.println("number of degrees = " + numberOfDegrees);
MinionCSPSolver solv = new MinionCSPSolver(numberOfDegrees,new HashMap(),k);
for (FuzzyClause fc : constraints) {
// System.out.println(" constraint added: " +fc);
solv.addFuzzyClause(fc);
}
if (timeout >= 0)
solv.setTimeout((int) timeout);
Map<String, Double> model = solv.getModel();
// if (!trivialAssignments.isEmpty()) {
// if (model == null) {
// model = new HashMap<String, Double>();