Modifier and Type | Class and Description |
---|---|
class |
AtomRegisterGroundRuleStore
A GroundRuleStore that tracks every GroundRule every GroundAtom participates in.
|
class |
MemoryGroundRuleStore
A simple
GroundRuleStore that just stores each GroundRule
in memory. |
Modifier and Type | Field and Description |
---|---|
protected GroundRuleStore |
InferenceApplication.groundRuleStore |
Modifier and Type | Method and Description |
---|---|
GroundRuleStore |
InferenceApplication.getGroundRuleStore() |
Modifier and Type | Method and Description |
---|---|
static void |
LazyMPEInference.inference(List<Rule> rules,
Reasoner reasoner,
GroundRuleStore groundRuleStore,
TermStore termStore,
TermGenerator termGenerator,
LazyAtomManager lazyAtomManager,
int maxRounds)
Do the full MPE inference process.
|
Modifier and Type | Field and Description |
---|---|
protected GroundRuleStore |
WeightLearningApplication.groundRuleStore |
protected GroundRuleStore |
WeightLearningApplication.latentGroundRuleStore |
Modifier and Type | Method and Description |
---|---|
void |
WeightLearningApplication.initGroundModel(GroundRuleStore groundRuleStore)
Init the ground model using an already populated ground rule store.
|
void |
WeightLearningApplication.initGroundModel(Reasoner reasoner,
GroundRuleStore groundRuleStore,
TermStore termStore,
TermGenerator termGenerator,
PersistedAtomManager atomManager,
TrainingMap trainingMap)
Pass in all the ground model infrastructure.
|
Modifier and Type | Method and Description |
---|---|
static int |
Grounding.groundAll(List<Rule> rules,
AtomManager atomManager,
GroundRuleStore groundRuleStore) |
static int |
Grounding.groundAll(Model model,
AtomManager atomManager,
GroundRuleStore groundRuleStore)
Calls
Rule.groundAll(AtomManager, GroundRuleStore) on
each Rule in a Model. |
Modifier and Type | Method and Description |
---|---|
int |
LazyAtomManager.activateAtoms(List<Rule> rules,
GroundRuleStore groundRuleStore)
Activate any lazy atoms above the threshold.
|
int |
LazyAtomManager.activateAtoms(Set<RandomVariableAtom> atoms,
List<Rule> rules,
GroundRuleStore groundRuleStore)
Activate a specific set of lazy atoms.
|
Modifier and Type | Method and Description |
---|---|
int |
Rule.groundAll(AtomManager atomManager,
GroundRuleStore groundRuleStore)
Adds all GroundRules to a GroundRuleStore using the AtomManager
to instantiate ground atoms.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractArithmeticRule.groundAll(AtomManager atomManager,
GroundRuleStore groundRuleStore) |
int |
AbstractArithmeticRule.groundNonSummationRule(ResultList groundVariables,
AtomManager atomManager,
GroundRuleStore groundRuleStore) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractLogicalRule.groundAll(AtomManager atomManager,
GroundRuleStore grs) |
int |
AbstractLogicalRule.groundAll(ResultList groundVariables,
AtomManager atomManager,
GroundRuleStore grs) |
Modifier and Type | Method and Description |
---|---|
int |
ADMMTermGenerator.generateTerms(GroundRuleStore ruleStore,
TermStore<ADMMObjectiveTerm> termStore) |
void |
ADMMTermGenerator.updateWeights(GroundRuleStore ruleStore,
TermStore<ADMMObjectiveTerm> termStore) |
Modifier and Type | Method and Description |
---|---|
int |
TermGenerator.generateTerms(GroundRuleStore ruleStore,
TermStore<E> termStore)
Use the ground rules in |ruleStore| to generate optimization terms and populate |termStore|.
|
void |
TermGenerator.updateWeights(GroundRuleStore ruleStore,
TermStore<E> termStore)
Use the ground rules in |ruleStore| to update the weights in the term store.
|
Modifier and Type | Method and Description |
---|---|
GroundRuleStore |
ConstraintBlockerTermStore.getGroundRuleStore()
Extremely hacky way to allow methods that require this to get ahold of the GroundRuleStore.
|
Modifier and Type | Method and Description |
---|---|
int |
ConstraintBlockerTermGenerator.generateTerms(GroundRuleStore ruleStore,
TermStore<ConstraintBlockerTerm> termStore) |
void |
ConstraintBlockerTermStore.init(GroundRuleStore groundRuleStore,
RandomVariableAtom[][] rvBlocks,
WeightedGroundRule[][] incidentGRs,
boolean[] exactlyOne) |
void |
ConstraintBlockerTermGenerator.updateWeights(GroundRuleStore ruleStore,
TermStore<ConstraintBlockerTerm> termStore) |
Copyright © 2018 University of California, Santa Cruz. All rights reserved.