public interface RuleApplier<R extends Rule,A extends AtomSet> extends DirectRuleApplier<R,A>
Modifier and Type | Method and Description |
---|---|
boolean |
apply(R rule,
A atomSet)
Apply the given Rule over the given AtomSet, the new atoms are directly
added into the AtomSet.
|
CloseableIterator<Atom> |
delegatedApply(R rule,
A atomSet)
Apply the given Rule over the given AtomSet, the new generated atoms are
returned as a CloseableIterator
|
CloseableIterator<Atom> |
delegatedApply(R rule,
A atomSetOnWichQuerying,
A atomSetOnWichCheck)
Apply the given Rule over atomSetOnWichQuerying, the redundancy of the
generated atoms will be checked over atomSetOnWichCheck.
|
boolean apply(R rule, A atomSet) throws RuleApplicationException
apply
in interface DirectRuleApplier<R extends Rule,A extends AtomSet>
rule
- atomSet
- RuleApplicationException
CloseableIterator<Atom> delegatedApply(R rule, A atomSet) throws RuleApplicationException
rule
- atomSet
- RuleApplicationException
CloseableIterator<Atom> delegatedApply(R rule, A atomSetOnWichQuerying, A atomSetOnWichCheck) throws RuleApplicationException
rule
- atomSetOnWichQuerying
- atomSetOnWichCheck
- RuleApplicationException
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.