Modifier and Type | Method and Description |
---|---|
Set<RandomVariableAtom> |
TrainingMap.getLatentVariables()
Gets the latent variables seen by this manager.
|
Map<RandomVariableAtom,ObservedAtom> |
TrainingMap.getTrainingMap()
Get the mapping of random to observed atoms.
|
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
ReadableDatabase.getAllCachedRandomVariableAtoms()
Fetch all the RandomVariableAtoms in this database's cache.
|
Iterable<RandomVariableAtom> |
Database.getAllCachedRandomVariableAtoms() |
List<RandomVariableAtom> |
ReadableDatabase.getAllGroundRandomVariableAtoms(StandardPredicate predicate)
Fetch all the ground RandomVariableAtoms for a predicate.
|
List<RandomVariableAtom> |
Database.getAllGroundRandomVariableAtoms(StandardPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
void |
WritableDatabase.commit(RandomVariableAtom atom)
Persists a RandomVariableAtom in this Database's write Partition.
|
void |
Database.commit(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
void |
WritableDatabase.commit(Iterable<RandomVariableAtom> atoms)
A batch form or commit().
|
void |
WritableDatabase.commit(Iterable<RandomVariableAtom> atoms,
int partitionId)
A form of commit() that allows the caller to choose the specific partition
the atoms are comitted to.
|
Modifier and Type | Field and Description |
---|---|
RandomVariableAtom |
PersistedAtomManager.PersistedAccessException.atom |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
AtomCache.instantiateRandomVariableAtom(StandardPredicate predicate,
Constant[] args,
float value)
Instantiates a RandomVariableAtom and stores it in this AtomCache.
|
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
AtomCache.getCachedRandomVariableAtoms() |
Set<RandomVariableAtom> |
LazyAtomManager.getLazyAtoms() |
Iterable<RandomVariableAtom> |
PersistedAtomManager.getPersistedRVAtoms() |
Modifier and Type | Method and Description |
---|---|
int |
LazyAtomManager.activateAtoms(Set<RandomVariableAtom> atoms,
List<Rule> rules,
GroundRuleStore groundRuleStore)
Activate a specific set of lazy atoms.
|
protected void |
PersistedAtomManager.addToPersistedCache(Set<RandomVariableAtom> atoms) |
Constructor and Description |
---|
PersistedAccessException(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
void |
RDBMSDatabase.commit(Iterable<RandomVariableAtom> atoms) |
void |
RDBMSDatabase.commit(Iterable<RandomVariableAtom> atoms,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
GroundValueConstraint.getAtom() |
Constructor and Description |
---|
GroundValueConstraint(RandomVariableAtom atom,
float value) |
Modifier and Type | Method and Description |
---|---|
Map<RandomVariableAtom,Integer> |
ADMMTermStore.getGlobalVariables()
Get the RVAs managed by this term store.
|
Modifier and Type | Method and Description |
---|---|
LocalVariable |
ADMMTermStore.createLocalVariable(RandomVariableAtom atom)
Create a local variable and ensure that a global copy is registered.
|
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
DCDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
Class<RandomVariableAtom> |
DCDTermGenerator.getLocalVariableType() |
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
DCDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
DCDObjectiveTerm |
DCDTermGenerator.createLinearConstraintTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane,
FunctionComparator comparator) |
DCDObjectiveTerm |
DCDTermGenerator.createLinearConstraintTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane,
FunctionComparator comparator) |
DCDObjectiveTerm |
DCDTermGenerator.createLossTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> baseTermStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane) |
DCDObjectiveTerm |
DCDTermGenerator.createLossTerm(TermStore<DCDObjectiveTerm,RandomVariableAtom> baseTermStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane) |
Constructor and Description |
---|
DCDObjectiveTerm(VariableTermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float c) |
DCDObjectiveTerm(VariableTermStore<DCDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float c) |
DCDStreamingInitialRoundIterator(DCDStreamingTermStore parentStore,
List<WeightedRule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<DCDObjectiveTerm,RandomVariableAtom> termGenerator,
List<DCDObjectiveTerm> termCache,
List<DCDObjectiveTerm> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
float |
SGDReasoner.computeObjective(VariableTermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
float[] variableValues) |
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
SGDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
Class<RandomVariableAtom> |
SGDTermGenerator.getLocalVariableType() |
Modifier and Type | Method and Description |
---|---|
protected RandomVariableAtom |
SGDMemoryTermStore.convertAtomToVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
SGDObjectiveTerm |
SGDTermGenerator.createLinearConstraintTerm(TermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane,
FunctionComparator comparator) |
SGDObjectiveTerm |
SGDTermGenerator.createLinearConstraintTerm(TermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane,
FunctionComparator comparator) |
SGDObjectiveTerm |
SGDTermGenerator.createLossTerm(TermStore<SGDObjectiveTerm,RandomVariableAtom> baseTermStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane) |
SGDObjectiveTerm |
SGDTermGenerator.createLossTerm(TermStore<SGDObjectiveTerm,RandomVariableAtom> baseTermStore,
boolean isHinge,
boolean isSquared,
GroundRule groundRule,
Hyperplane<RandomVariableAtom> hyperplane) |
Constructor and Description |
---|
SGDObjectiveTerm(VariableTermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
boolean hinge,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float learningRate) |
SGDObjectiveTerm(VariableTermStore<SGDObjectiveTerm,RandomVariableAtom> termStore,
boolean squared,
boolean hinge,
Hyperplane<RandomVariableAtom> hyperplane,
float weight,
float learningRate) |
SGDStreamingInitialRoundIterator(SGDStreamingTermStore parentStore,
List<WeightedRule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<SGDObjectiveTerm,RandomVariableAtom> termGenerator,
List<SGDObjectiveTerm> termCache,
List<SGDObjectiveTerm> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
MemoryTermStore.createLocalVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
protected abstract V |
MemoryVariableTermStore.convertAtomToVariable(RandomVariableAtom atom) |
V |
MemoryVariableTermStore.createLocalVariable(RandomVariableAtom atom) |
RandomVariableAtom |
MemoryTermStore.createLocalVariable(RandomVariableAtom atom) |
V |
TermStore.createLocalVariable(RandomVariableAtom atom)
Create a variable local to a specific term.
|
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
ConstraintBlockerTermStore.createLocalVariable(RandomVariableAtom atom) |
RandomVariableAtom[] |
ConstraintBlockerTerm.getAtoms() |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
ConstraintBlockerTermStore.createLocalVariable(RandomVariableAtom atom) |
int |
ConstraintBlockerTermStore.getBlockIndex(RandomVariableAtom atom)
Get the index of the block (term) associated with the given atom.
|
void |
ConstraintBlockerTermStore.init(GroundRuleStore groundRuleStore,
RandomVariableAtom[][] rvBlocks,
WeightedGroundRule[][] incidentGRs,
boolean[] exactlyOne) |
Modifier and Type | Method and Description |
---|---|
int |
ConstraintBlockerTermGenerator.generateTerms(GroundRuleStore ruleStore,
TermStore<ConstraintBlockerTerm,RandomVariableAtom> termStore) |
Constructor and Description |
---|
ConstraintBlockerTerm(RandomVariableAtom[] atoms,
WeightedGroundRule[] incidentGRs,
boolean exactlyOne)
Takes ownership of all the passed in arrays.
|
Modifier and Type | Field and Description |
---|---|
protected HyperplaneTermGenerator<T,RandomVariableAtom> |
StreamingTermStore.termGenerator |
protected HyperplaneTermGenerator<T,RandomVariableAtom> |
StreamingInitialRoundIterator.termGenerator |
protected Map<RandomVariableAtom,Integer> |
StreamingTermStore.variables |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
StreamingTermStore.createLocalVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
StreamingTermStore.getVariables() |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
StreamingTermStore.createLocalVariable(RandomVariableAtom atom) |
int |
StreamingTermStore.getVariableIndex(RandomVariableAtom variable) |
Constructor and Description |
---|
StreamingInitialRoundIterator(StreamingTermStore<T> parentStore,
List<WeightedRule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<T,RandomVariableAtom> termGenerator,
List<T> termCache,
List<T> termPool,
ByteBuffer termBuffer,
ByteBuffer volatileBuffer,
int pageSize) |
StreamingTermStore(List<Rule> rules,
AtomManager atomManager,
HyperplaneTermGenerator<T,RandomVariableAtom> termGenerator) |
Copyright © 2020 University of California, Santa Cruz. All rights reserved.