Commit 49b6b50d authored by Lonca Emmanuel's avatar Lonca Emmanuel

Some refactoring.

parent 53b9d4dc
......@@ -42,11 +42,8 @@ public class SchedulingCtrBuilder {
private final IIntensionCtrEncoder intensionEnc;
private final ComparisonCtrBuilder comparisonCtrBuilder;
public SchedulingCtrBuilder(IIntensionCtrEncoder intensionEnc, ComparisonCtrBuilder comparisonCtrBuilder) {
public SchedulingCtrBuilder(IIntensionCtrEncoder intensionEnc) {
this.intensionEnc = intensionEnc;
this.comparisonCtrBuilder = comparisonCtrBuilder;
}
public boolean buildCtrStretch(String id, XVarInteger[] list, int[] values, int[] widthsMin, int[] widthsMax) {
......
......@@ -138,7 +138,7 @@ public class XMLCSP3Reader extends Reader implements XCallbacks2 {
this.elementaryCtrBuilder = new ElementaryCtrBuilder(this.intensionEnc);
this.comparisonCtrBuilder = new ComparisonCtrBuilder(this.intensionEnc);
this.connectionCtrBuilder = new ConnectionCtrBuilder(this.intensionEnc);
this.schedulingCtrBuilder = new SchedulingCtrBuilder(this.intensionEnc, this.comparisonCtrBuilder);
this.schedulingCtrBuilder = new SchedulingCtrBuilder(this.intensionEnc);
this.genericCtrBuilder = new GenericCtrBuilder(this.intensionEnc);
this.countingCtrBuilder = new CountingCtrBuilder(this.intensionEnc);
this.languageCtrBuilder = new LanguageCtrBuilder(this.cspToSatEncoder);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment