Package ru.ewc.decita

Class DecisionTable

java.lang.Object
ru.ewc.decita.DecisionTable
All Implemented Interfaces:
Locator

public final class DecisionTable extends Object implements Locator
I am a collection of Rules used to compute any kind of decision. My main responsibility is to orchestrate the computation and choose the only satisfied Rule.
Since:
0.1
  • Constructor Details

    • DecisionTable

      public DecisionTable(Iterable<Rule> rules)
      Ctor.
      Parameters:
      rules - A collection of Rules for this table.
    • DecisionTable

      public DecisionTable(Iterable<Rule> rules, Rule elserule)
      Ctor.
      Parameters:
      rules - A collection of Rules for this table.
      elserule - The special Rule that gets satisfied only if no other Rule is satisfied.
  • Method Details