Examples of beforeEntityAdded()


Examples of org.drools.planner.core.score.director.ScoreDirector.beforeEntityAdded()

        Object entity = entityIterator.next();
        stepScope.setEntity(entity);

        // TODO add uninitialized entities immediately and remove logic in SolutionDescriptor.getAllFacts()
        ScoreDirector scoreDirector = stepScope.getScoreDirector();
        scoreDirector.beforeEntityAdded(entity);
        scoreDirector.afterEntityAdded(entity);

        valuePlacer.doPlacement(stepScope);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.