org.deri.iris.rules
Interface IRuleStratifier

All Known Implementing Classes:
GlobalStratifier, LocalStratifier

public interface IRuleStratifier

Interface to all rule stratifiers.


Method Summary
 List<List<IRule>> stratify(List<IRule> rules)
          Stratify the rules, i.e.
 

Method Detail

stratify

List<List<IRule>> stratify(List<IRule> rules)
Stratify the rules, i.e. arrange them in to groups such that each increasing level of rules can be evaluated before the next higher level of dependent rules.

Parameters:
rules - The collection of rules to stratify
Returns:
The rules arranged in to strata. The number of rules returned may be different to the number provided, because the stratification technique might require the rules to be re-written.