@Test(groups = "1s", timeOut=60000) public void testMakeSetDecision() throws Exception { SetDecision d = dm.makeSetDecision(model.setVar(new int[]{2,3,4}), DecisionOperatorFactory.makeSetForce(), 3); d.free(); d = dm.makeSetDecision(model.setVar(new int[]{3,4, 5}), DecisionOperatorFactory.makeSetRemove(), 4); d.free(); }
public SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value) { SetDecision d = setDecisionPool.getE(); if (d == null) { d = new SetDecision(setDecisionPool); } d.set(var, value, dop); return d; }
DecisionMaker { public SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value) { SetDecision d = setDecisionPool.getE(); if (d == null) { d = new SetDecision(setDecisionPool); } d.set(var, value, dop); return d; } }
DecisionMaker { public SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value) { SetDecision d = setDecisionPool.getE(); if (d == null) { d = new SetDecision(setDecisionPool); } d.set(var, value, dop); return d; } DecisionMaker(); }
DecisionMaker { public SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value) { SetDecision d = setDecisionPool.getE(); if (d == null) { d = new SetDecision(setDecisionPool); } d.set(var, value, dop); return d; } DecisionMaker(); IntDecision makeIntDecision(IntVar var, DecisionOperator<IntVar> dop, int value); RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst); SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value); }
DecisionMaker { public SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value) { SetDecision d = setDecisionPool.getE(); if (d == null) { d = new SetDecision(setDecisionPool); } d.set(var, value, dop); return d; } DecisionMaker(); IntDecision makeIntDecision(IntVar var, DecisionOperator<IntVar> dop, int value); RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst); SetDecision makeSetDecision(SetVar var, DecisionOperator<SetVar> dop, int value);  }