public class TestGenLegacyDroolsScoreDirectorFactory<Solution_> extends LegacyDroolsScoreDirectorFactory<Solution_>
kieBase
kieContainer, ksessionName, ruleToConstraintWeightExtractorMap
assertClonedSolution, assertionScoreDirectorFactory, initializingScoreTrend, logger, solutionDescriptor
Constructor and Description |
---|
TestGenLegacyDroolsScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor,
org.kie.api.KieBase kieBase,
List<String> scoreDrlList,
List<File> scoreDrlFileList) |
Modifier and Type | Method and Description |
---|---|
DroolsScoreDirector<Solution_> |
buildScoreDirector(boolean lookUpEnabled,
boolean constraintMatchEnabledPreference)
Like
InnerScoreDirectorFactory.buildScoreDirector() , but optionally disables ConstraintMatch tracking and look up
for more performance (presuming the ScoreDirector implementation actually supports it to begin with). |
getKieBase, newKieSession
checkIfGlobalScoreHolderExists, createRuleToConstraintWeightExtractorMap, getKieContainer, getKsessionName, getRuleToConstraintWeightExtractorMap
assertScoreFromScratch, buildScoreDirector, getAssertionScoreDirectorFactory, getInitializingScoreTrend, getScoreDefinition, getSolutionDescriptor, isAssertClonedSolution, setAssertClonedSolution, setAssertionScoreDirectorFactory, setInitializingScoreTrend
public DroolsScoreDirector<Solution_> buildScoreDirector(boolean lookUpEnabled, boolean constraintMatchEnabledPreference)
InnerScoreDirectorFactory
InnerScoreDirectorFactory.buildScoreDirector()
, but optionally disables ConstraintMatch
tracking and look up
for more performance (presuming the ScoreDirector
implementation actually supports it to begin with).buildScoreDirector
in interface InnerScoreDirectorFactory<Solution_>
buildScoreDirector
in class LegacyDroolsScoreDirectorFactory<Solution_>
lookUpEnabled
- true if a ScoreDirector
implementation should track all working objects
for ScoreDirector.lookUpWorkingObject(Object)
constraintMatchEnabledPreference
- false if a ScoreDirector
implementation
should not do ConstraintMatch
tracking even if it supports it.ScoreDirector.isConstraintMatchEnabled()
,
ScoreDirector.getConstraintMatchTotalMap()
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.