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, size
public Set<GroundRule> getRegisteredGroundRules(GroundAtom atom)
public void addGroundRule(GroundRule groundRule)
GroundRuleStore
addGroundRule
in interface GroundRuleStore
addGroundRule
in class MemoryGroundRuleStore
groundRule
- the GroundRule to addpublic void removeGroundRule(GroundRule groundRule)
GroundRuleStore
removeGroundRule
in interface GroundRuleStore
removeGroundRule
in class MemoryGroundRuleStore
groundRule
- the GroundRule to removepublic void removeGroundRules(Rule rule)
GroundRuleStore
removeGroundRules
in interface GroundRuleStore
removeGroundRules
in class MemoryGroundRuleStore
rule
- the originator of the ground rulespublic void close()
GroundRuleStore
close
in interface GroundRuleStore
close
in class MemoryGroundRuleStore
Copyright © 2018 University of California, Santa Cruz. All rights reserved.