33343536373839404142
public void execute(int repNr) { ksession.insert(new A(Integer.MAX_VALUE, Integer.MAX_VALUE, true)); for (int i = 0; i < objectNr; i++) { ksession.insert(new B(i, 0, i == 0)); } ksession.fireAllRules(); }
4142434445464748
} bs = new B[objectNr]; for (int i = 0; i < objectNr; i++) { int randomInt = random.nextInt(aLimit) + (aLimit * 2); bs[i] = new B(randomInt, randomInt+modifications); } }
public void execute(int repNr) { for (int i = 0; i < aNr; i++) { ksession.insert(as[i]); } ksession.insert(new B(Integer.MAX_VALUE)); ksession.fireAllRules(); }
4546474849505152
public void execute(int repNr) { for (int i = 0; i < aNr; i++) { ksession.insert(as[i]); } ksession.insert(new B(aNr * modifications * 2)); ksession.fireAllRules(); }
4041424344454647
as[i] = new A(randomInt, randomInt+modifications); } bs = new B[objectNr]; for (int i = 0; i < objectNr; i++) { bs[i] = new B(random.nextInt(aLimit) + (aLimit * 2)); } }
3334353637383940
ksession = kbase.newStatefulKnowledgeSession(); bs = new B[aNr]; for (int i = 0; i < aNr; i++) { int randomInt = random.nextInt(); bs[i] = new B(randomInt, randomInt+modifications); } }
4445464748495051