@Test(groups = "1s", timeOut=60000) public void testSerializeSetDecision() throws Exception { SetDecision d = dm.makeSetDecision(model.setVar(0, 1,2,3), DecisionOperatorFactory.makeSetForce(), 0); SetDecision d1 = (SetDecision) doSerialize(d); assertEqualDecisions(d1, d); }
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);  }