drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/generator/AfterBeforeEventsGenerator.java [87:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected List<Object> generateNonMatchingFacts(final int totalNumber) {
        // generate some facts that will not match on generated rules
        final List<Object> events = new ArrayList<>();
        final int nrOfFactsInLoop = 2;
        final int loops = (totalNumber / nrOfFactsInLoop);
        for (int i = 0; i < loops; i++) {
            final NewCustomerEvent ncEvent = new NewCustomerEvent(getRandomInt(0, 10000000), 3);
            ncEvent.setDescription("AfterBefore_SomeGreateDescription" + i * getRandomInt(0, 10000));
            EventRecord eventRecord = new EventRecord(ncEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            final TransactionCreatedEvent tcEvent = new TransactionCreatedEvent(getRandomInt(0, 10000000), 3);
            tcEvent.setDescription("AfterBefore_SomeGreateDescription2" + i * getRandomInt(0, 10000));
            eventRecord = new EventRecord(tcEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            // total of 2 events inserted in each loop
        }
        return events;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/generator/StartsStartedbyEventsGenerator.java [87:106]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected List<Object> generateNonMatchingFacts(final int totalNumber) {
        // generate some facts that will not match on generated rules
        final List<Object> events = new ArrayList<>();
        final int nrOfFactsInLoop = 2;
        final int loops = (totalNumber / nrOfFactsInLoop);
        for (int i = 0; i < loops; i++) {
            final NewCustomerEvent ncEvent = new NewCustomerEvent(getRandomInt(0, 10000000), 3);
            ncEvent.setDescription("StartsStartedby_SomeGreateDescription" + i * getRandomInt(0, 10000));
            EventRecord eventRecord = new EventRecord(ncEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            final TransactionCreatedEvent tcEvent = new TransactionCreatedEvent(getRandomInt(0, 10000000), 3);
            tcEvent.setDescription("StarsStartedby_SomeGreateDescription2" + i * getRandomInt(0, 10000));
            eventRecord = new EventRecord(tcEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            // total of 2 events inserted in each loop
        }
        return events;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/generator/FinishesFinishedbyEventsGenerator.java [85:103]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected List<Object> generateNonMatchingFacts(final int totalNumber) {
        // generate some facts that will not match on generated rules
        final List<Object> events = new ArrayList<>();
        final int nrOfFactsInLoop = 2;
        final int loops = (totalNumber / nrOfFactsInLoop);
        for (int i = 0; i < loops; i++) {
            final NewCustomerEvent ncEvent = new NewCustomerEvent(getRandomInt(0, 10000000), 3);
            ncEvent.setDescription("FinishesFinishedby_SomeGreateDescription" + i * getRandomInt(0, 10000));
            EventRecord eventRecord = new EventRecord(ncEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            final TransactionCreatedEvent tcEvent = new TransactionCreatedEvent(getRandomInt(0, 10000000), 3);
            tcEvent.setDescription("FinishesFinishedby_SomeGreateDescription2" + i * getRandomInt(0, 10000));
            eventRecord = new EventRecord(tcEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);
            // total of 2 events inserted in each loop
        }
        return events;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/generator/CoincidesDuringEventsGenerator.java [88:107]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected List<Object> generateNonMatchingFacts(final int totalNumber) {
        // generate some facts that will not match on generated rules
        final List<Object> events = new ArrayList<>();
        final int nrOfFactsInLoop = 2;
        final int loops = (totalNumber / nrOfFactsInLoop);
        for (int i = 0; i < loops; i++) {
            final NewCustomerEvent ncEvent = new NewCustomerEvent(getRandomInt(0, 10000000), 3);
            ncEvent.setDescription("CoincidesDuring_SomeGreateDescription" + i * getRandomInt(0, 10000));
            EventRecord eventRecord = new EventRecord(ncEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            final TransactionCreatedEvent tcEvent = new TransactionCreatedEvent(getRandomInt(0, 10000000), 3);
            tcEvent.setDescription("CoincidesDuring_SomeGreateDescription2" + i * getRandomInt(0, 10000));
            eventRecord = new EventRecord(tcEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            // total of 2 events inserted in each loop
        }
        return events;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



drools-benchmarks-parent/drools-benchmarks/src/main/java/org/drools/benchmarks/turtle/runtime/generator/MeetsMetbyEventsGenerator.java [86:105]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected List<Object> generateNonMatchingFacts(final int totalNumber) {
        // generate some facts that will not match on generated rules
        final List<Object> events = new ArrayList<>();
        final int nrOfFactsInLoop = 2;
        final int loops = (totalNumber / nrOfFactsInLoop);
        for (int i = 0; i < loops; i++) {
            final NewCustomerEvent ncEvent = new NewCustomerEvent(getRandomInt(0, 10000000), 3);
            ncEvent.setDescription("MeetsMetby_SomeGreateDescription" + i * getRandomInt(0, 10000));
            EventRecord eventRecord = new EventRecord(ncEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            final TransactionCreatedEvent tcEvent = new TransactionCreatedEvent(getRandomInt(0, 10000000), 3);
            tcEvent.setDescription("MeetsMetby_SomeGreateDescription2" + i * getRandomInt(0, 10000));
            eventRecord = new EventRecord(tcEvent, getRandomLong(0, 100), TimeUnit.MILLISECONDS);
            events.add(eventRecord);

            // total of 2 events inserted in each loop
        }
        return events;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



