Class InferenceRulesEngine

java.lang.Object
org.jeasy.rules.core.AbstractRulesEngine
org.jeasy.rules.core.InferenceRulesEngine
All Implemented Interfaces:
RulesEngine

public final class InferenceRulesEngine extends AbstractRulesEngine
Inference RulesEngine implementation.

Rules are selected based on given facts and fired according to their natural order which is priority by default. This implementation continuously selects and fires rules until no more rules are applicable.

Author:
Mahmoud Ben Hassine ([email protected])
  • Constructor Details

    • InferenceRulesEngine

      public InferenceRulesEngine()
      Create a new inference rules engine with default parameters.
    • InferenceRulesEngine

      public InferenceRulesEngine(RulesEngineParameters parameters)
      Create a new inference rules engine.
      Parameters:
      parameters - of the engine
  • Method Details