Package | Description |
---|---|
org.linqs.psl.application.learning.weight | |
org.linqs.psl.database | |
org.linqs.psl.database.atom | |
org.linqs.psl.database.rdbms | |
org.linqs.psl.model.atom | |
org.linqs.psl.model.rule.misc | |
org.linqs.psl.reasoner.function |
Provides interfaces and classes for defining functions that
Reasoners can interpret. |
org.linqs.psl.reasoner.term.blocker |
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 |
---|---|
List<RandomVariableAtom> |
Database.getAllGroundRandomVariableAtoms(StandardPredicate predicate) |
List<RandomVariableAtom> |
ReadableDatabase.getAllGroundRandomVariableAtoms(StandardPredicate predicate)
Fetch all the ground RandomVariableAtoms for a predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
Database.commit(RandomVariableAtom atom) |
void |
WritableDatabase.commit(RandomVariableAtom atom)
Persists a RandomVariableAtom in this Database's write Partition.
|
Modifier and Type | Method and Description |
---|---|
void |
WritableDatabase.commit(Collection<RandomVariableAtom> atoms)
A batch form or commit().
|
void |
WritableDatabase.commit(Collection<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 | Field and Description |
---|---|
protected Set<RandomVariableAtom> |
PersistedAtomManager.persistedCache
The set of all persisted RandomVariableAtoms at the time of this AtomManager's
instantiation.
|
Modifier and Type | Method and Description |
---|---|
Set<RandomVariableAtom> |
LazyAtomManager.getLazyAtoms() |
Set<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(Collection<RandomVariableAtom> atoms) |
void |
RDBMSDatabase.commit(Collection<RandomVariableAtom> atoms,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
AtomCache.instantiateRandomVariableAtom(StandardPredicate predicate,
Constant[] args,
double value)
Instantiates a RandomVariableAtom and stores it in this AtomCache.
|
RandomVariableAtom |
RandomVariableAtom.setValue(double value)
Sets the truth value of this Atom.
|
Modifier and Type | Method and Description |
---|---|
Iterable<RandomVariableAtom> |
AtomCache.getCachedRandomVariableAtoms() |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom |
GroundValueConstraint.getAtom() |
Constructor and Description |
---|
GroundValueConstraint(RandomVariableAtom atom,
double value) |
Constructor and Description |
---|
MutableAtomFunctionVariable(RandomVariableAtom atom) |
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom[] |
ConstraintBlockerTerm.getAtoms() |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
ConstraintBlockerTerm(RandomVariableAtom[] atoms,
WeightedGroundRule[] incidentGRs,
boolean exactlyOne)
Takes ownership of all the passed in arrays.
|
Copyright © 2018 University of California, Santa Cruz. All rights reserved.