@Test(groups = "1s", timeOut=60000) public void testMakeRealDecision() throws Exception { RealDecision d = dm.makeRealDecision(model.realVar(1d, 3d), 1.5, Double.MIN_VALUE, true); d.free(); d = dm.makeRealDecision(model.realVar(2d, 4d), 2.5, Double.MIN_VALUE * 2, true); d.free(); }
public RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst) { RealDecision d = realDecisionPool.getE(); if (d == null) { d = new RealDecision(realDecisionPool); } d.set(var, value, epsilon, leftFirst); return d; }
DecisionMaker { public RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst) { RealDecision d = realDecisionPool.getE(); if (d == null) { d = new RealDecision(realDecisionPool); } d.set(var, value, epsilon, leftFirst); return d; } }
DecisionMaker { public RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst) { RealDecision d = realDecisionPool.getE(); if (d == null) { d = new RealDecision(realDecisionPool); } d.set(var, value, epsilon, leftFirst); return d; } DecisionMaker(); }
DecisionMaker { public RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst) { RealDecision d = realDecisionPool.getE(); if (d == null) { d = new RealDecision(realDecisionPool); } d.set(var, value, epsilon, leftFirst); 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 RealDecision makeRealDecision(RealVar var, double value, double epsilon, boolean leftFirst) { RealDecision d = realDecisionPool.getE(); if (d == null) { d = new RealDecision(realDecisionPool); } d.set(var, value, epsilon, leftFirst); 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);  }