public class AtomRegisterGroundRuleStore extends MemoryGroundRuleStore
groundRules| Constructor and Description |
|---|
AtomRegisterGroundRuleStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroundRule(GroundRule groundRule)
Adds a GroundRule to this store.
|
void |
close()
Release any memory held by the store.
|
Set<GroundRule> |
getRegisteredGroundRules(GroundAtom atom) |
void |
removeGroundRule(GroundRule groundRule)
Removes a GroundRule from this store.
|
void |
removeGroundRules(Rule rule)
Removes all GroundRules that was instantiated by a given rule.
|
containsGroundRule, count, getCompatibilityRules, getConstraintRules, getGroundRules, getGroundRules, sizepublic Set<GroundRule> getRegisteredGroundRules(GroundAtom atom)
public void addGroundRule(GroundRule groundRule)
GroundRuleStoreaddGroundRule in interface GroundRuleStoreaddGroundRule in class MemoryGroundRuleStoregroundRule - the GroundRule to addpublic void removeGroundRule(GroundRule groundRule)
GroundRuleStoreremoveGroundRule in interface GroundRuleStoreremoveGroundRule in class MemoryGroundRuleStoregroundRule - the GroundRule to removepublic void removeGroundRules(Rule rule)
GroundRuleStoreremoveGroundRules in interface GroundRuleStoreremoveGroundRules in class MemoryGroundRuleStorerule - the originator of the ground rulespublic void close()
GroundRuleStoreclose in interface GroundRuleStoreclose in class MemoryGroundRuleStoreCopyright © 2018 University of California, Santa Cruz. All rights reserved.