com.hammurapi.eventbus
Interface InferenceFilter<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
- All Known Implementing Classes:
- CompositeInferenceFilter, DerivationLoopFilter, DuplicatesFilter, InferenceChainLengthFilter
public interface InferenceFilter<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
Inference filter is used to accept or reject inference commands posted by handlers to prevent inference loops
and infinite inference.
|
Method Summary |
boolean |
accept(InferenceCommand<E,P,C,K,H,S> inferenceCommand,
EventBus<E,P,C,K,H,S> bus)
|
accept
boolean accept(InferenceCommand<E,P,C,K,H,S> inferenceCommand,
EventBus<E,P,C,K,H,S> bus)