com.hammurapi.reasoning
Interface FactSource

All Known Subinterfaces:
BackwardReasoningSession

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
<T> FactIterator<T>
getFacts(Class<T> factType)
          Retrieves facts.
 Class<?>[] getFactTypes()
           
 

Method Detail

getFactTypes

Class<?>[] getFactTypes()
Returns:
Fact types provided by this source.

getFacts

<T> FactIterator<T> getFacts(Class<T> factType)
Retrieves facts.

Parameters:
factType -
Returns:
Iterator over facts of requested type.