biz.hammurapi.rules
Interface FactSource
- All Known Implementing Classes:
- BackwardReasoningRulesContainer, NoDuplicatesBackwardReasoningRulesContainer
public interface FactSource
Source of facts of particular type(s). Backward reasoning is built on
pulling facts of needed type from fact sources.
- Author:
- Pavel
Method Summary |
java.util.Iterator |
getFacts(java.lang.Class factType)
Retrieves facts. |
java.lang.Class[] |
getFactTypes()
|
getFactTypes
java.lang.Class[] getFactTypes()
- Returns:
- Fact types provided by this source.
getFacts
java.util.Iterator getFacts(java.lang.Class factType)
- Retrieves facts.
- Parameters:
factType
-
- Returns:
- Iterator over facts of requested type.
Copyright © 2005 Hammurapi Group. All Rights Reserved.