Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Z 

A

AbstractArithmeticRule - Class in org.linqs.psl.model.rule.arithmetic
Base class for all (first order, i.e., not ground) arithmetic rules.
AbstractArithmeticRule(ArithmeticRuleExpression, Map<SummationVariable, Formula>, String) - Constructor for class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
AbstractBranchFormula<T extends AbstractBranchFormula<T>> - Class in org.linqs.psl.model.formula
An abstract branching formula.
AbstractBranchFormula(Formula...) - Constructor for class org.linqs.psl.model.formula.AbstractBranchFormula
 
AbstractGroundArithmeticRule - Class in org.linqs.psl.model.rule.arithmetic
Base class for all ground arithmetic rules.
AbstractGroundArithmeticRule(AbstractArithmeticRule, List<Float>, List<GroundAtom>, FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
AbstractGroundArithmeticRule(AbstractArithmeticRule, float[], GroundAtom[], FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
AbstractGroundArithmeticRule(AbstractArithmeticRule, float[], GroundAtom[], FunctionComparator, float, boolean) - Constructor for class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
AbstractGroundLogicalRule - Class in org.linqs.psl.model.rule.logical
Base class for all ground logical rules.
AbstractGroundLogicalRule(AbstractLogicalRule, List<GroundAtom>, List<GroundAtom>, short) - Constructor for class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
AbstractLogicalRule - Class in org.linqs.psl.model.rule.logical
Base class for all (first order, i.e., not ground) logical rules.
AbstractLogicalRule(Formula, String) - Constructor for class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
AbstractRule - Class in org.linqs.psl.model.rule
Base class for all (first order, i.e., not ground) rules.
AbstractRule(String) - Constructor for class org.linqs.psl.model.rule.AbstractRule
 
accuracy() - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
accuracy() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
activateAtoms(List<Rule>, GroundRuleStore) - Method in class org.linqs.psl.database.atom.LazyAtomManager
Activate any lazy atoms above the threshold.
activateAtoms(Set<RandomVariableAtom>, List<Rule>, GroundRuleStore) - Method in class org.linqs.psl.database.atom.LazyAtomManager
Activate a specific set of lazy atoms.
ACTIVATION_THRESHOLD_DEFAULT - Static variable in class org.linqs.psl.database.atom.LazyAtomManager
Default value for ACTIVATION_THRESHOLD_KEY property.
ACTIVATION_THRESHOLD_KEY - Static variable in class org.linqs.psl.database.atom.LazyAtomManager
The minimum value an atom must take for it to be activated.
activeIterator - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
ADAGRAD_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.em.HardEM
 
ADAGRAD_KEY - Static variable in class org.linqs.psl.application.learning.weight.em.HardEM
Key for Boolean property that indicates whether to use AdaGrad subgradient scaling, the adaptive subgradient algorithm of John Duchi, Elad Hazan, Yoram Singer (JMLR 2010).
Add - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
Add(Coefficient, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Add
 
add(GroundRule, ADMMObjectiveTerm) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
add(float) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
Add a constant to the sum.
add(float, FunctionTerm) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
Add a general term to the sum.
add(GroundRule, ConstraintBlockerTerm) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
add(GroundRule, T) - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
add(GroundRule, T) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
add(GroundRule, T) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
add(GroundRule, T) - Method in interface org.linqs.psl.reasoner.term.TermStore
Add a term to the store that was generated from the given ground rule.
add(float) - Method in class org.linqs.psl.util.FloatMatrix
Scalar addition (not in-place).
add(float, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Scalar addition.
addAll(VariableTypeMap) - Method in class org.linqs.psl.model.term.VariableTypeMap
Performs a shallow copy of all variable-type pairs from another VariableTypeMap to this one.
addColumnHistogram(String, SelectivityHistogram) - Method in class org.linqs.psl.database.rdbms.TableStats
 
addColumnSelectivity(String, double) - Method in class org.linqs.psl.database.rdbms.TableStats
 
addGroundRule(GroundRule) - Method in class org.linqs.psl.grounding.AtomRegisterGroundRuleStore
 
addGroundRule(GroundRule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
Adds a GroundRule to this store.
addGroundRule(GroundRule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
addHistogramBounds(List<T>, List<? extends Number>) - Method in class org.linqs.psl.database.rdbms.SelectivityHistogram
 
addHistogramExact(Map<T, ? extends Number>) - Method in class org.linqs.psl.database.rdbms.SelectivityHistogram
 
addProperty(String, Object) - Static method in class org.linqs.psl.config.Config
Add a property to the configuration.
addResult(Constant[]) - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
addRule(Rule) - Method in class org.linqs.psl.model.Model
Adds a Rule to this Model.
addTerm(E, float) - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
addToPersistedCache(Set<RandomVariableAtom>) - Method in class org.linqs.psl.database.atom.PersistedAtomManager
 
addVariable(Variable, ConstantType) - Method in class org.linqs.psl.model.term.VariableTypeMap
 
addVariable(Variable, ConstantType, boolean) - Method in class org.linqs.psl.model.term.VariableTypeMap
Adds a variable-type pair to the hashmap.
ADMM_STEPS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
ADMM_STEPS_KEY - Static variable in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
Key for Integer property that indicates how many steps of ADMM to run for each inner objective before each gradient iteration (parameter N in the ICML paper)
ADMMObjectiveTerm - Class in org.linqs.psl.reasoner.admm.term
A term in the objective to be optimized by an ADMMReasoner.
ADMMObjectiveTerm(Hyperplane<LocalVariable>, GroundRule) - Constructor for class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
Caller releases control of the hyperplane and all members of it.
ADMMReasoner - Class in org.linqs.psl.reasoner.admm
Uses an ADMM optimization method to optimize its GroundRules.
ADMMReasoner() - Constructor for class org.linqs.psl.reasoner.admm.ADMMReasoner
 
ADMMReasoner.InitialValue - Enum in org.linqs.psl.reasoner.admm
Possible starting values for the consensus values.
ADMMTermGenerator - Class in org.linqs.psl.reasoner.admm.term
A TermGenerator for ADMM objective terms.
ADMMTermGenerator() - Constructor for class org.linqs.psl.reasoner.admm.term.ADMMTermGenerator
 
ADMMTermStore - Class in org.linqs.psl.reasoner.admm.term
A TermStore specifically for ADMM terms.
ADMMTermStore() - Constructor for class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
ADMMTermStore(TermStore<ADMMObjectiveTerm, ?>) - Constructor for class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
ALLOWED_STEP_INCREASE_DEFAULT - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
 
ALLOWED_STEP_INCREASE_KEY - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
How much we allow the query cost (number of rows) to increase at each step.
ALLOWED_TOTAL_INCREASE_DEFAULT - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
 
ALLOWED_TOTAL_INCREASE_KEY - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
How much we allow the query cost (number of rows) to for new plans.
allPartitionIDs - Variable in class org.linqs.psl.database.Database
 
allRules - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
ANONYMOUS_PARTITION_PREFIX - Static variable in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
appendCoefficient(int, float) - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
args - Variable in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
args - Variable in class org.linqs.psl.reasoner.ExecutableReasoner
 
argumentColumns() - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
arguments - Variable in class org.linqs.psl.model.atom.Atom
 
ArithmeticRuleExpression - Class in org.linqs.psl.model.rule.arithmetic.expression
Container for components of an arithmetic rule formula.
ArithmeticRuleExpression(List<Coefficient>, List<SummationAtomOrAtom>, FunctionComparator, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
ArithmeticRuleExpression(List<Coefficient>, List<SummationAtomOrAtom>, FunctionComparator, Coefficient, boolean) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
ArrayUtils - Class in org.linqs.psl.util
Various static array utilities.
asColumnArray() - Method in class org.linqs.psl.util.FloatMatrix
Get a copy of this matrix's data as a 1D column-major array.
asGrid() - Method in class org.linqs.psl.util.FloatMatrix
Get a copy of this matrix's data as a 2D-array.
asRowArray() - Method in class org.linqs.psl.util.FloatMatrix
Get a copy of this matrix's data as a 1D row-major array.
asString() - Static method in class org.linqs.psl.config.Config
 
asString() - Method in class org.linqs.psl.model.Model
Create a model string that can be directly interpreted by the parser.
assume(Predicate, Term...) - Method in class org.linqs.psl.model.atom.QueryAtom
Have this QueryAtom assume new values.
assume(float[], int, int) - Method in class org.linqs.psl.util.FloatMatrix
Take on all the given information.
atom - Variable in exception org.linqs.psl.database.atom.PersistedAtomManager.PersistedAccessException
 
Atom - Class in org.linqs.psl.model.atom
A Predicate combined with the correct number of Terms as arguments.
Atom(Predicate, Term[]) - Constructor for class org.linqs.psl.model.atom.Atom
Type mismatches will throw an exception unless the types are trivially convertable like UniqueIntID and IntegerAttribute.
AtomCache - Class in org.linqs.psl.database.atom
Storage for GroundAtoms so that a Database always returns the same object for a GroundAtom.
AtomCache(Database) - Constructor for class org.linqs.psl.database.atom.AtomCache
Constructs a new AtomCache for a Database.
atomManager - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
atomManager - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
An atom manager on top of the rvDB.
AtomManager - Class in org.linqs.psl.database.atom
Provides centralization and hooks for managing the GroundAtoms that are instantiated from a Database.
AtomManager(Database) - Constructor for class org.linqs.psl.database.atom.AtomManager
 
atomManager - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
atomManager - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
AtomRegisterGroundRuleStore - Class in org.linqs.psl.grounding
A GroundRuleStore that tracks every GroundRule every GroundAtom participates in.
AtomRegisterGroundRuleStore() - Constructor for class org.linqs.psl.grounding.AtomRegisterGroundRuleStore
 
atoms - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
atoms - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
Attribute - Class in org.linqs.psl.model.term
A Constant that is a value, as opposed to a unique identifier.
Attribute() - Constructor for class org.linqs.psl.model.term.Attribute
 
auroc() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
Returns area under ROC curve.
AVERAGE_STEPS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
AVERAGE_STEPS_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Key for Boolean property that indicates whether to average all visited weights together for final output.
averageSteps - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 

B

BASE_BRACKET_SIZE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
BASE_BRACKET_SIZE_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
The base number of weight configurations for each brackets.
BASE_WEIGHT_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
BASE_WEIGHT_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
The base weight of a rule.
BaseGridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
The base for grid search-like method.
BaseGridSearch(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
 
BaseGridSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
 
baseStepSize - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
baseToString() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
baseToString() - Method in interface org.linqs.psl.model.rule.GroundRule
Get a to string for the base of the rule without weight or square.
baseToString() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
baseToString() - Method in class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
baseToString() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
blas_sdot(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Call sdot from BLAS.
blas_sgemm(FloatMatrix, FloatMatrix, boolean, boolean, float, float) - Method in class org.linqs.psl.util.FloatMatrix
Call sgemm from BLAS.
body - Variable in class org.linqs.psl.model.formula.Implication
The fuzzy singletons that constitute the body of the rule
BOOLEAN_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
Default value for BOOLEAN_KEY
BOOLEAN_KEY - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
Boolean property.
BooleanMaxWalkSat - Class in org.linqs.psl.reasoner.bool
Implementation of MaxWalkSat, which searches for a good Boolean assignment of truth values.
BooleanMaxWalkSat() - Constructor for class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
 
BooleanMCSat - Class in org.linqs.psl.reasoner.bool
Implementation of MC-Sat, which approximates the marginal probability that each atom has value 1 in a Boolean domain.
BooleanMCSat() - Constructor for class org.linqs.psl.reasoner.bool.BooleanMCSat
 
BUCKET_USAGE_GUESS - Static variable in class org.linqs.psl.database.rdbms.SelectivityHistogram
A guess about how much of a bucket is in use when there is some overlap.
build(Object) - Static method in class org.linqs.psl.util.HashCode
 
build(int, Object) - Static method in class org.linqs.psl.util.HashCode
 
build(int, int, Object) - Static method in class org.linqs.psl.util.HashCode
 
build(Object[]) - Static method in class org.linqs.psl.util.HashCode
 
build(int, Object[]) - Static method in class org.linqs.psl.util.HashCode
 
build(int, int, Object[]) - Static method in class org.linqs.psl.util.HashCode
 
bulkCopy(String, String, boolean) - Method in class org.linqs.psl.database.loading.Inserter
Import the file directly into the database.
bulkCopy(String, String, boolean, PredicateInfo, Partition) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Perform a bulk copy operation to load the file directly into the database.
bulkCopy(String, String, boolean, PredicateInfo, Partition) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
bulkCopy(String, String, boolean, PredicateInfo, Partition) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
bulkCopy(String, String, boolean) - Method in class org.linqs.psl.database.rdbms.RDBMSInserter
 
bytesToHex(byte[]) - Static method in class org.linqs.psl.util.Hash
 

C

c1 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Add
 
c1 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Divide
 
c1 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Max
 
c1 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Min
 
c1 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Multiply
 
c1 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Subtract
 
c2 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Add
 
c2 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Divide
 
c2 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Max
 
c2 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Min
 
c2 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Multiply
 
c2 - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Subtract
 
C_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
C_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
cache - Variable in class org.linqs.psl.database.atom.AtomCache
 
cache - Variable in class org.linqs.psl.database.Database
The atom cache for this database.
cacheIterationComplete() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
A callback for the non-initial round iterator.
callReasoner() - Method in class org.linqs.psl.reasoner.ExecutableReasoner
 
Cardinality - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
The number of substitutions made for a SummationVariable in a grounding.
Cardinality(SummationVariable) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
 
CategoricalEvaluator - Class in org.linqs.psl.evaluation.statistics
Compute various statistics on data known to be categorical.
CategoricalEvaluator() - Constructor for class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
CategoricalEvaluator(int...) - Constructor for class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
CategoricalEvaluator(String, int...) - Constructor for class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
CategoricalEvaluator(CategoricalEvaluator.RepresentativeMetric, int...) - Constructor for class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
CategoricalEvaluator.RepresentativeMetric - Enum in org.linqs.psl.evaluation.statistics
 
CATEGORY_INDEXES_KEY - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
The index of the arguments in the predicate (delimited by colons).
checkSchema() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
Verifies that this atom has valid arguments.
choleskyDecomposition() - Method in class org.linqs.psl.util.FloatMatrix
Cholesky factorization (not in-place).
choleskyDecomposition(boolean) - Method in class org.linqs.psl.util.FloatMatrix
Compute the Cholesky factorization of this real symmetric positive definite matrix.
chooseNextLocation() - Method in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
Choose the next location we will search.
chooseNextLocation() - Method in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
chooseNextLocation() - Method in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
 
chooseNextLocation() - Method in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
 
chooseNextLocation() - Method in class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
 
chooseNextLocation() - Method in class org.linqs.psl.application.learning.weight.search.grid.RankSearch
 
CLASS_LIST_KEY - Static variable in class org.linqs.psl.config.Config
 
CLASS_LIST_PROPS - Static variable in class org.linqs.psl.config.Config
 
CLEANUP_INPUT_DEFAULT - Static variable in class org.linqs.psl.reasoner.ExecutableReasoner
 
CLEANUP_INPUT_KEY - Static variable in class org.linqs.psl.reasoner.ExecutableReasoner
Key for boolean property for whether to delete the input file to external the reasoner on close.
CLEANUP_OUTPUT_DEFAULT - Static variable in class org.linqs.psl.reasoner.ExecutableReasoner
 
CLEANUP_OUTPUT_KEY - Static variable in class org.linqs.psl.reasoner.ExecutableReasoner
Key for boolean property for whether to delete the output file to external the reasoner on close.
cleanupInput - Variable in class org.linqs.psl.reasoner.ExecutableReasoner
 
cleanupOutput - Variable in class org.linqs.psl.reasoner.ExecutableReasoner
 
clear() - Static method in class org.linqs.psl.config.Config
Remove all properties from the configuration.
clear() - Method in class org.linqs.psl.model.Model
 
clear() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
clear() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
clear() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
clear() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
clear() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
clear() - Method in interface org.linqs.psl.reasoner.term.TermStore
Remove any existing terms and prepare for a new set.
clearException() - Method in class org.linqs.psl.util.Parallel.Worker
 
clearForTesting() - Static method in class org.linqs.psl.model.predicate.Predicate
Clear out all active predicates.
clearProperty(String) - Static method in class org.linqs.psl.config.Config
Remove a property from the configuration.
CLIP_NEGATIVE_WEIGHTS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
CLIP_NEGATIVE_WEIGHTS_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
If true, then weight will not be allowed to go negative (clipped at zero).
clipNegativeWeights - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
close() - Method in class org.linqs.psl.application.inference.DCDStreamingInference
 
close() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
close() - Method in class org.linqs.psl.application.inference.SGDStreamingInference
 
close() - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightGridSearch
 
close() - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRandomGridSearch
 
close() - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRankSearch
 
close() - Method in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
close() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
close() - Method in interface org.linqs.psl.application.ModelApplication
Releases all resources used by this ModelApplication.
close() - Method in interface org.linqs.psl.database.DataStore
Releases all resources and locks obtained by this DataStore.
close() - Method in interface org.linqs.psl.database.QueryResultIterable
Close the associated iterator and any open queries.
close() - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Close out any outstanding connections and cleanup.
close() - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
close() - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
close() - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
close() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
close() - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
close() - Method in interface org.linqs.psl.database.WritableDatabase
Releases the Partitions used by this Database.
close() - Method in class org.linqs.psl.grounding.AtomRegisterGroundRuleStore
 
close() - Method in interface org.linqs.psl.grounding.GroundRuleStore
Release any memory held by the store.
close() - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
close() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
close() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
close() - Method in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
 
close() - Method in class org.linqs.psl.reasoner.bool.BooleanMCSat
 
close() - Method in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
close() - Method in class org.linqs.psl.reasoner.ExecutableReasoner
 
close() - Method in interface org.linqs.psl.reasoner.Reasoner
Releases all resources acquired by this Reasoner.
close() - Method in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
close() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
close() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
close() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
close() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
close() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
close() - Method in interface org.linqs.psl.reasoner.term.streaming.StreamingIterator
 
close() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
close() - Method in interface org.linqs.psl.reasoner.term.TermStore
Close down the term store, it will not be used any more.
close() - Method in class org.linqs.psl.util.Parallel.Worker
Cleanup anything.
closed - Variable in class org.linqs.psl.database.Database
Keeps track of the open / closed status of this database.
closed - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
closed - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
Coefficient - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
Numeric coefficient in a ArithmeticRuleExpression.
Coefficient() - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Coefficient
 
coefficients - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
coefficients - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
coefficients - Variable in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
 
coefficients - Variable in class org.linqs.psl.reasoner.admm.term.SquaredHyperplaneTerm
 
collect() - Static method in class org.linqs.psl.util.RuntimeStats
Begin the process of collecting stats.
COLLECT_KEY - Static variable in class org.linqs.psl.util.RuntimeStats
Periodically collect stats on the JVM.
COLLECTION_PERIOD_DEFAULT - Static variable in class org.linqs.psl.util.RuntimeStats
 
COLLECTION_PERIOD_KEY - Static variable in class org.linqs.psl.util.RuntimeStats
The period (in ms) of stats collection.
collectVariables(VariableTypeMap) - Method in class org.linqs.psl.model.atom.GroundAtom
 
collectVariables(VariableTypeMap) - Method in class org.linqs.psl.model.atom.QueryAtom
 
collectVariables(VariableTypeMap) - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
collectVariables(VariableTypeMap) - Method in interface org.linqs.psl.model.formula.Formula
Adds the Variables
collectVariables(VariableTypeMap) - Method in class org.linqs.psl.model.formula.Implication
 
collectVariables(VariableTypeMap) - Method in class org.linqs.psl.model.formula.Negation
 
columnVector(float[]) - Static method in class org.linqs.psl.util.FloatMatrix
 
columnVector(float[], boolean) - Static method in class org.linqs.psl.util.FloatMatrix
 
commit(RandomVariableAtom) - Method in class org.linqs.psl.database.Database
 
commit(Iterable<RandomVariableAtom>) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
commit(Iterable<RandomVariableAtom>, int) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
commit(RandomVariableAtom) - Method in interface org.linqs.psl.database.WritableDatabase
Persists a RandomVariableAtom in this Database's write Partition.
commit(Iterable<RandomVariableAtom>) - Method in interface org.linqs.psl.database.WritableDatabase
A batch form or commit().
commit(Iterable<RandomVariableAtom>, int) - Method in interface org.linqs.psl.database.WritableDatabase
A form of commit() that allows the caller to choose the specific partition the atoms are comitted to.
commitCachedAtoms() - Method in class org.linqs.psl.database.Database
 
commitCachedAtoms(boolean) - Method in class org.linqs.psl.database.Database
 
commitCachedAtoms() - Method in interface org.linqs.psl.database.WritableDatabase
Commit all RandomVariableAtoms in the database's cache.
commitCachedAtoms(boolean) - Method in interface org.linqs.psl.database.WritableDatabase
Commit all RandomVariableAtoms in the database's cache.
commitPersistedAtoms() - Method in class org.linqs.psl.database.atom.PersistedAtomManager
Commit all the atoms in this manager's persisted cache.
comparator - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
comparator - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
compare(double, double) - Static method in class org.linqs.psl.util.MathUtils
 
compare(double, double, double) - Static method in class org.linqs.psl.util.MathUtils
A comparison method with the Comparator integer return semantics.
compare(float, float) - Static method in class org.linqs.psl.util.MathUtils
 
compare(float, float, float) - Static method in class org.linqs.psl.util.MathUtils
A comparison method with the Comparator integer return semantics.
compareTo(GroundAtom) - Method in class org.linqs.psl.model.atom.GroundAtom
First order by value (descending), the predicate name (natural), and then the arguments (in order).
compareTo(Term) - Method in class org.linqs.psl.model.term.DoubleAttribute
 
compareTo(Term) - Method in class org.linqs.psl.model.term.IntegerAttribute
 
compareTo(Term) - Method in class org.linqs.psl.model.term.LongAttribute
 
compareTo(Term) - Method in class org.linqs.psl.model.term.StringAttribute
 
compareTo(Term) - Method in class org.linqs.psl.model.term.UniqueIntID
 
compareTo(Term) - Method in class org.linqs.psl.model.term.UniqueStringID
 
compareTo(Term) - Method in class org.linqs.psl.model.term.Variable
Just use the name for comparison.
completeInitialize() - Method in class org.linqs.psl.application.inference.InferenceApplication
Complete the initialization process.
completeInitialize() - Method in class org.linqs.psl.application.inference.LazyMPEInference
 
completeInitialize() - Method in class org.linqs.psl.application.inference.MPEInference
 
compute(TrainingMap) - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
compute(TrainingMap, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
compute(TrainingMap) - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
compute(TrainingMap, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
compute(TrainingMap) - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
compute(TrainingMap, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
compute(TrainingMap) - Method in class org.linqs.psl.evaluation.statistics.Evaluator
One of the main computation method.
compute(TrainingMap, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.Evaluator
One of the main computation method.
compute(Database, Database, StandardPredicate, boolean) - Method in class org.linqs.psl.evaluation.statistics.Evaluator
A convenience call for those who don't want to create a training map directly.
compute(Database, Database, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.Evaluator
 
compute(TrainingMap) - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
compute(TrainingMap, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
compute(String, String) - Static method in class org.linqs.psl.util.Hash
 
compute(byte[], String) - Static method in class org.linqs.psl.util.Hash
 
COMPUTE_PERIOD_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
COMPUTE_PERIOD_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
Compute some stats about the optimization and log them to TRACE once for each period.
computeExpectedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
computeExpectedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
Compute the expected incompatibility using the piecewisepseudolikelihood.
computeExpectedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
Computes the expected incompatibility using the pseudolikelihood.
computeExpectedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Compute the incompatibility in the model.
computeLatentMPEState() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
computeLoss() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
computeLoss() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Internal method for computing the loss at the current point before taking a step.
computeMPEState() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
computeObjective(VariableTermStore<SGDObjectiveTerm, RandomVariableAtom>, float[]) - Method in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
computeObservedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
computeObservedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
 
computeObservedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
computeObservedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Compute the incompatibility in the model using the labels (truth values) from the observed (truth) database.
computeRegularizer() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
computeScalingFactor() - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
Computes the amount to scale gradient for each rule.
computeScalingFactor() - Method in class org.linqs.psl.application.learning.weight.em.HardEM
 
computeScalingFactor() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
Computes the amount to scale gradient for each rule.
computeValue(ReadableDatabase, Constant...) - Method in class org.linqs.psl.model.predicate.ExternalFunctionalPredicate
 
computeValue(ReadableDatabase, Constant...) - Method in class org.linqs.psl.model.predicate.FunctionalPredicate
Computes the truth value of this Predicate with the given arguments.
config - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.WeightConfig
 
Config - Class in org.linqs.psl.config
The storage for all configuration values used in PSL.
Config() - Constructor for class org.linqs.psl.config.Config
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.inference.InferenceApplication
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.inference.LazyMPEInference
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.em.HardEM
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RankSearch
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.database.atom.LazyAtomManager
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.database.atom.PersistedAtomManager
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.database.rdbms.RDBMSDataStore
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.evaluation.statistics.RankingEvaluator
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.grounding.Grounding
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.bool.BooleanMCSat
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.ExecutableReasoner
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.term.MemoryTermStore
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Prefix of property keys used by this class.
CONFIG_PREFIX - Static variable in class org.linqs.psl.util.Parallel
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.util.RandUtils
 
CONFIG_PREFIX - Static variable in class org.linqs.psl.util.RuntimeStats
 
Conjunction - Class in org.linqs.psl.model.formula
 
Conjunction(Formula...) - Constructor for class org.linqs.psl.model.formula.Conjunction
 
constant - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
constant - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
Constant - Class in org.linqs.psl.model.term
An element in the universe over which a PSL program is grounded.
Constant() - Constructor for class org.linqs.psl.model.term.Constant
 
constant - Variable in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
 
constant - Variable in class org.linqs.psl.reasoner.admm.term.SquaredHyperplaneTerm
 
ConstantNumber - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
ConstantNumber(float) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.ConstantNumber
 
ConstantType - Enum in org.linqs.psl.model.term
A type of Constant.
ConstraintBlockerTerm - Class in org.linqs.psl.reasoner.term.blocker
A Term to hold blocks.
ConstraintBlockerTerm(RandomVariableAtom[], WeightedGroundRule[], boolean) - Constructor for class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTerm
Takes ownership of all the passed in arrays.
ConstraintBlockerTermGenerator - Class in org.linqs.psl.reasoner.term.blocker
Prepares blocks.
ConstraintBlockerTermGenerator() - Constructor for class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermGenerator
 
ConstraintBlockerTermStore - Class in org.linqs.psl.reasoner.term.blocker
A TermStore to hold blocks.
ConstraintBlockerTermStore() - Constructor for class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
ConstraintTerm - Class in org.linqs.psl.reasoner.function
A numeric constraint.
ConstraintTerm(GeneralFunction, FunctionComparator, float) - Constructor for class org.linqs.psl.reasoner.function.ConstraintTerm
 
containsGroundRule(GroundRule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
Checks whether a GroundRule is in this store.
containsGroundRule(GroundRule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
O(n) check for a ground rule.
ContinuousEvaluator - Class in org.linqs.psl.evaluation.statistics
Compute various continuous statistics using a threshold.
ContinuousEvaluator() - Constructor for class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
ContinuousEvaluator(String) - Constructor for class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
ContinuousEvaluator(ContinuousEvaluator.RepresentativeMetric) - Constructor for class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
ContinuousEvaluator.RepresentativeMetric - Enum in org.linqs.psl.evaluation.statistics
 
ContinuousRandomGridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
A grid search that just randomly samples from a continuous grid [0, 1).
ContinuousRandomGridSearch(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
ContinuousRandomGridSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
convertAtomToVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.dcd.term.DCDMemoryTermStore
 
convertAtomToVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.sgd.term.SGDMemoryTermStore
 
convertAtomToVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
copy() - Method in class org.linqs.psl.util.FloatMatrix
Get a copy of this matrix.
copy() - Method in class org.linqs.psl.util.Parallel.Worker
Make a deep copy of this worker.
COST_ESTIMATOR_DEFAULT - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
 
COST_ESTIMATOR_KEY - Static variable in class org.linqs.psl.database.rdbms.QueryRewriter
Whether we should use histograms or column selectivity to estimate the join size.
count(Rule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
 
count(Rule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
O(n).
count(int, int, int, Parallel.Worker<Integer>) - Static method in class org.linqs.psl.util.Parallel
Count and call a worker with each number in [start, end).
count(int, int, Parallel.Worker<Integer>) - Static method in class org.linqs.psl.util.Parallel
Convenience count() that increments by 1.
count(int, Parallel.Worker<Integer>) - Static method in class org.linqs.psl.util.Parallel
Convenience count() that starts at 0 and increments by 1.
countActivatableAtoms() - Method in class org.linqs.psl.database.atom.LazyAtomManager
Compute the number of lazy atoms that can be activated at this moment.
countAllGroundAtoms(StandardPredicate) - Method in class org.linqs.psl.database.Database
 
countAllGroundAtoms(StandardPredicate, List<Integer>) - Method in class org.linqs.psl.database.Database
 
countAllGroundAtoms(StandardPredicate, List<Integer>) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
countAllGroundAtoms(StandardPredicate) - Method in interface org.linqs.psl.database.ReadableDatabase
Get a count of all the ground atoms for a predicate.
countAllGroundRandomVariableAtoms(StandardPredicate) - Method in class org.linqs.psl.database.Database
 
countAllGroundRandomVariableAtoms(StandardPredicate) - Method in interface org.linqs.psl.database.ReadableDatabase
Get a count of all the ground RandomVariableAtoms for a predicate.
createAtomManager(Database) - Method in class org.linqs.psl.application.inference.InferenceApplication
 
createAtomManager(Database) - Method in class org.linqs.psl.application.inference.LazyMPEInference
 
createAtomManager() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
 
createAtomManager() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Create an atom manager on top of the RV database.
createCountAllStatement(Connection, List<Integer>) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement to count all the ground atoms for this predicate (within the specified partitions).
createDeleteStatement(Connection, int) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement that deletes ground atoms that match all the arguments.
createGroundRuleStore() - Method in class org.linqs.psl.application.inference.DCDStreamingInference
 
createGroundRuleStore() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
createGroundRuleStore() - Method in class org.linqs.psl.application.inference.SGDStreamingInference
 
createLinearConstraintTerm(TermStore<ADMMObjectiveTerm, LocalVariable>, GroundRule, Hyperplane<LocalVariable>, FunctionComparator) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermGenerator
 
createLinearConstraintTerm(TermStore<DCDObjectiveTerm, RandomVariableAtom>, GroundRule, Hyperplane<RandomVariableAtom>, FunctionComparator) - Method in class org.linqs.psl.reasoner.dcd.term.DCDTermGenerator
 
createLinearConstraintTerm(TermStore<SGDObjectiveTerm, RandomVariableAtom>, GroundRule, Hyperplane<RandomVariableAtom>, FunctionComparator) - Method in class org.linqs.psl.reasoner.sgd.term.SGDTermGenerator
 
createLinearConstraintTerm(TermStore<T, V>, GroundRule, Hyperplane<V>, FunctionComparator) - Method in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
Create a hard constraint term,
createLocalVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
Create a local variable and ensure that a global copy is registered.
createLocalVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
createLocalVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
createLocalVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
createLocalVariable(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
createLocalVariable(RandomVariableAtom) - Method in interface org.linqs.psl.reasoner.term.TermStore
Create a variable local to a specific term.
createLossTerm(TermStore<ADMMObjectiveTerm, LocalVariable>, boolean, boolean, GroundRule, Hyperplane<LocalVariable>) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermGenerator
 
createLossTerm(TermStore<DCDObjectiveTerm, RandomVariableAtom>, boolean, boolean, GroundRule, Hyperplane<RandomVariableAtom>) - Method in class org.linqs.psl.reasoner.dcd.term.DCDTermGenerator
 
createLossTerm(TermStore<SGDObjectiveTerm, RandomVariableAtom>, boolean, boolean, GroundRule, Hyperplane<RandomVariableAtom>) - Method in class org.linqs.psl.reasoner.sgd.term.SGDTermGenerator
 
createLossTerm(TermStore<T, V>, boolean, boolean, GroundRule, Hyperplane<V>) - Method in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
Create a term from a ground rule and hyperplane.
createPartitionMoveStatement(Connection, int, int) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement that changes moves atoms from one partition to another.
createQueryAllStatement(Connection, List<Integer>) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement to query all the atoms for this predicate (within the specified partitions).
createQueryAllWriteStatement(Connection, int) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement that queries for all random variable atoms (atoms in the write partition) of this predicate.
createQueryStatement(Connection, List<Integer>) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement that queries for one specific atom.
createReasoner() - Method in class org.linqs.psl.application.inference.DCDStreamingInference
 
createReasoner() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
createReasoner() - Method in class org.linqs.psl.application.inference.SGDStreamingInference
 
createTerm(GroundRule, TermStore<T, V>) - Method in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
Create a ReasonerTerm from the ground rule.
createTermGenerator() - Method in class org.linqs.psl.application.inference.DCDStreamingInference
 
createTermGenerator() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
createTermGenerator() - Method in class org.linqs.psl.application.inference.SGDStreamingInference
 
createTermStore() - Method in class org.linqs.psl.application.inference.DCDStreamingInference
 
createTermStore() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
createTermStore() - Method in class org.linqs.psl.application.inference.SGDStreamingInference
 
createUpsertStatement(Connection, DatabaseDriver) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Create a prepared statement that upserts.
currentLocation - Variable in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
The current location we are investigating.
currentPage - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
currentRule - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
CUT_OBJECTIVE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
CUT_OBJECTIVE_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
If true, then cut the step size in half whenever the objective increases.
cutObjective - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 

D

Database - Class in org.linqs.psl.database
A data model for retrieving and persisting GroundAtoms.
Database(DataStore, Partition, Partition[]) - Constructor for class org.linqs.psl.database.Database
 
DatabaseDriver - Interface in org.linqs.psl.database.rdbms.driver
An interface to a specific RDBMS backend.
DatabaseQuery - Class in org.linqs.psl.database
A query to select groundings from a Database.
DatabaseQuery(Formula) - Constructor for class org.linqs.psl.database.DatabaseQuery
 
DatabaseQuery(Formula, boolean) - Constructor for class org.linqs.psl.database.DatabaseQuery
 
DatabaseQuery(Formula, boolean, Set<Variable>) - Constructor for class org.linqs.psl.database.DatabaseQuery
 
DataStore - Interface in org.linqs.psl.database
Makes GroundAtoms available via Databases.
DataStoreMetadata - Class in org.linqs.psl.database.rdbms
 
DataStoreMetadata(RDBMSDataStore) - Constructor for class org.linqs.psl.database.rdbms.DataStoreMetadata
 
db - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
db - Variable in class org.linqs.psl.database.atom.AtomCache
 
db - Variable in class org.linqs.psl.database.atom.AtomManager
 
DCDMemoryTermStore - Class in org.linqs.psl.reasoner.dcd.term
An in-memory TermStore specifically for DCD terms.
DCDMemoryTermStore() - Constructor for class org.linqs.psl.reasoner.dcd.term.DCDMemoryTermStore
 
DCDObjectiveTerm - Class in org.linqs.psl.reasoner.dcd.term
A term in the objective to be optimized by a DCDReasoner.
DCDObjectiveTerm(VariableTermStore<DCDObjectiveTerm, RandomVariableAtom>, boolean, Hyperplane<RandomVariableAtom>, float, float) - Constructor for class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
 
DCDReasoner - Class in org.linqs.psl.reasoner.dcd
Uses an SGD optimization method to optimize its GroundRules.
DCDReasoner() - Constructor for class org.linqs.psl.reasoner.dcd.DCDReasoner
 
DCDStreamingCacheIterator - Class in org.linqs.psl.reasoner.dcd.term
 
DCDStreamingCacheIterator(DCDStreamingTermStore, boolean, List<DCDObjectiveTerm>, List<DCDObjectiveTerm>, ByteBuffer, ByteBuffer, boolean, int[], boolean, int) - Constructor for class org.linqs.psl.reasoner.dcd.term.DCDStreamingCacheIterator
 
DCDStreamingInference - Class in org.linqs.psl.application.inference
 
DCDStreamingInference(Model, Database) - Constructor for class org.linqs.psl.application.inference.DCDStreamingInference
 
DCDStreamingInitialRoundIterator - Class in org.linqs.psl.reasoner.dcd.term
Iterate over all the terms that come up from grounding.
DCDStreamingInitialRoundIterator(DCDStreamingTermStore, List<WeightedRule>, AtomManager, HyperplaneTermGenerator<DCDObjectiveTerm, RandomVariableAtom>, List<DCDObjectiveTerm>, List<DCDObjectiveTerm>, ByteBuffer, ByteBuffer, int) - Constructor for class org.linqs.psl.reasoner.dcd.term.DCDStreamingInitialRoundIterator
 
DCDStreamingTermStore - Class in org.linqs.psl.reasoner.dcd.term
A term store that iterates over ground queries directly (obviating the GroundRuleStore).
DCDStreamingTermStore(List<Rule>, AtomManager) - Constructor for class org.linqs.psl.reasoner.dcd.term.DCDStreamingTermStore
 
DCDTermGenerator - Class in org.linqs.psl.reasoner.dcd.term
A TermGenerator for DCD objective terms.
DCDTermGenerator() - Constructor for class org.linqs.psl.reasoner.dcd.term.DCDTermGenerator
 
DEFAULT_CATEGORY_INDEXES - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
DEFAULT_DELIMITER - Static variable in class org.linqs.psl.database.loading.Inserter
 
DEFAULT_EVIDENCE_VALUE - Static variable in class org.linqs.psl.database.rdbms.RDBMSInserter
 
DEFAULT_HOST - Static variable in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
DEFAULT_INITIAL_NUMBER - Static variable in class org.linqs.psl.util.HashCode
 
DEFAULT_MULTIPLIER - Static variable in class org.linqs.psl.util.HashCode
 
DEFAULT_MULTIROW_COUNT - Static variable in class org.linqs.psl.database.rdbms.RDBMSInserter
The number of records in each multi-row insert.
DEFAULT_PAGE_SIZE - Static variable in class org.linqs.psl.database.rdbms.RDBMSInserter
The number of inserts in each batch.
DEFAULT_PORT - Static variable in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
DEFAULT_PREDICATE_KEY - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
The default predicate to use when none are supplied.
DEFAULT_REPRESENTATIVE - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
DEFAULT_REPRESENTATIVE - Static variable in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
DEFAULT_REPRESENTATIVE - Static variable in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
DEFAULT_REPRESENTATIVE - Static variable in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
DEFAULT_SIZE_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
DEFAULT_SIZE_KEY - Static variable in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
The default size in terms of number of variables.
DEFAULT_STATS_PERCENTAGE - Static variable in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
DEFAULT_THRESHOLD - Static variable in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
DEFAULT_THRESHOLD - Static variable in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
deleteAtom(GroundAtom) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
deleteAtom(GroundAtom) - Method in interface org.linqs.psl.database.WritableDatabase
Removes the GroundAtom from the Database, if it exists.
deletePartition(Partition) - Method in interface org.linqs.psl.database.DataStore
Deletes all GroundAtoms persisted in a Partition.
deletePartition(Partition) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
DELIM - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
The delimiter to separate rule weights (and lication ids).
DELIM - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RankSearch
The delimiter to separate rule weights (and lication ids).
DELIM - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
DiscreteEvaluator - Class in org.linqs.psl.evaluation.statistics
Compute various discrete statistics using a threshold.
DiscreteEvaluator() - Constructor for class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
DiscreteEvaluator(double) - Constructor for class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
DiscreteEvaluator(double, String) - Constructor for class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
DiscreteEvaluator(double, DiscreteEvaluator.RepresentativeMetric) - Constructor for class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
DiscreteEvaluator.RepresentativeMetric - Enum in org.linqs.psl.evaluation.statistics
 
Disjunction - Class in org.linqs.psl.model.formula
 
Disjunction(Formula...) - Constructor for class org.linqs.psl.model.formula.Disjunction
 
dissatisfaction - Variable in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
div(float) - Method in class org.linqs.psl.util.FloatMatrix
Scalar division (not in-place).
div(float, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Scalar division.
Divide - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
A coefficient to represent division.
Divide(Coefficient, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Divide
 
DNFClause(List<Atom>, List<Atom>) - Constructor for class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.search.Hyperband
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
doLearn() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Do the actual learning procedure.
dot(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Dot product.
DoubleAttribute - Class in org.linqs.psl.model.term
An Attribute that encapsulates a Double.
DoubleAttribute(Double) - Constructor for class org.linqs.psl.model.term.DoubleAttribute
Constructs a Double attribute from a Double
dropColumnDefault(String, String) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
Remove the default value for a column.

E

EARLY_STOPPING_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
EARLY_STOPPING_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
elementAdd(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise addition (not in-place).
elementAdd(FloatMatrix, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise addition.
elementDiv(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise division (not in-place).
elementDiv(FloatMatrix, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise division.
elementLog() - Method in class org.linqs.psl.util.FloatMatrix
Element-wise natural log (not in-place).
elementLog(boolean) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise natural log.
elementMul(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise multiplication (not in-place).
elementMul(FloatMatrix, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise multiplication.
elementSub(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise difference (not in-place).
elementSub(FloatMatrix, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Element-wise difference.
emIteration - Variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
enableAccessExceptions - Variable in class org.linqs.psl.database.atom.AtomManager
If the specific AtomManager supports access exceptions, then this will control if they are actually thrown.
enableAccessExceptions(boolean) - Method in class org.linqs.psl.database.atom.AtomManager
Set whether or not to throw access exceptions.
ensureCapacity(int) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
ensureCapacity(int) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
ensureCapacity(int) - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
ensureCapacity(int) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
ensureCapacity(int) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
ensureCapacity(int) - Method in interface org.linqs.psl.reasoner.term.TermStore
Ensure that the underlying stuctures can have the required term capacity.
ensureVariableCapacity(int) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
Make sure we allocate the right amount of memory for global variables.
ensureVariableCapacity(int) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
ensureVariableCapacity(int) - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
ensureVariableCapacity(int) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
Make sure we allocate the right amount of memory for global variables.
ensureVariableCapacity(int) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
ensureVariableCapacity(int) - Method in interface org.linqs.psl.reasoner.term.TermStore
Ensure that the underlying stuctures can have the required variable capacity.
EPSILON - Static variable in class org.linqs.psl.util.MathUtils
 
EPSILON_ABS_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
EPSILON_ABS_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
Absolute error component of stopping criteria.
EPSILON_FLOAT - Static variable in class org.linqs.psl.util.MathUtils
 
EPSILON_REL_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
EPSILON_REL_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
Relative error component of stopping criteria.
Equal - Static variable in class org.linqs.psl.model.predicate.GroundingOnlyPredicate
True if arguments are equal.
equals(Object) - Method in class org.linqs.psl.database.Partition
 
equals(Object) - Method in class org.linqs.psl.model.atom.Atom
 
equals(Object) - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
equals(Object) - Method in class org.linqs.psl.model.formula.Implication
 
equals(Object) - Method in class org.linqs.psl.model.formula.Negation
 
equals(Object) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
equals(Object) - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
equals(Object) - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
equals(Object) - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationVariable
 
equals(Object) - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
equals(Object) - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
equals(Object) - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
equals(Object) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
equals(Object) - Method in class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
 
equals(Object) - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
equals(Object) - Method in class org.linqs.psl.model.term.DoubleAttribute
A DoubleAttribute is equal to another Object if that Object is a DoubleAttribute and their values are equal.
equals(Object) - Method in class org.linqs.psl.model.term.IntegerAttribute
An IntegerAttribute is equal to another Object if that Object is an IntegerAttribute and their values are equal.
equals(Object) - Method in class org.linqs.psl.model.term.LongAttribute
A LongAttribute is equal to another Object if that Object is a LongAttribute and their values are equal.
equals(Object) - Method in class org.linqs.psl.model.term.StringAttribute
A StringAttribute is equal to another Object if that Object is a TextAttribute and their values are equal.
equals(Object) - Method in interface org.linqs.psl.model.term.Term
 
equals(Object) - Method in class org.linqs.psl.model.term.UniqueIntID
 
equals(Object) - Method in class org.linqs.psl.model.term.UniqueStringID
 
equals(Object) - Method in class org.linqs.psl.model.term.Variable
 
equals(Object) - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
equals(Object) - Method in class org.linqs.psl.util.FloatMatrix
 
equals(double, double) - Static method in class org.linqs.psl.util.MathUtils
 
equals(double, double, double) - Static method in class org.linqs.psl.util.MathUtils
 
equals(float, float) - Static method in class org.linqs.psl.util.MathUtils
 
equals(float, float, float) - Static method in class org.linqs.psl.util.MathUtils
 
equalsRelaxed(double, double) - Static method in class org.linqs.psl.util.MathUtils
 
equalsRelaxed(float, float) - Static method in class org.linqs.psl.util.MathUtils
 
equalsStrict(double, double) - Static method in class org.linqs.psl.util.MathUtils
 
equalsStrict(float, float) - Static method in class org.linqs.psl.util.MathUtils
 
eStep() - Method in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
The Expectation step in the EM algorithm.
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
Evaluate this potential using the local variables.
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
Evaluate this potential using the given consensus values.
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.HingeLossTerm
weight * max(0.0, coefficients^T * x - constant)
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.HingeLossTerm
 
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
coefficients^T * x - constant
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
 
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.LinearConstraintTerm
 
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.LinearConstraintTerm
 
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.LinearLossTerm
weight * coefficients^T * x
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.LinearLossTerm
 
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.SquaredHingeLossTerm
weight * [max(coefficients^T * x - constant, 0.0)]^2
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.SquaredHingeLossTerm
 
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.SquaredHyperplaneTerm
coefficients^T * x - constant
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.SquaredHyperplaneTerm
 
evaluate() - Method in class org.linqs.psl.reasoner.admm.term.SquaredLinearLossTerm
weight * (coeffs^T * x - constant)^2
evaluate(float[]) - Method in class org.linqs.psl.reasoner.admm.term.SquaredLinearLossTerm
 
evaluate(float[]) - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
 
evaluate(float[]) - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
 
evaluator - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
Evaluator - Class in org.linqs.psl.evaluation.statistics
Compute some metric (or set of matrics) for some predicted and labeled data.
Evaluator() - Constructor for class org.linqs.psl.evaluation.statistics.Evaluator
 
EVALUATOR_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
EVALUATOR_KEY - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
An evalautor capable of producing a score for the current weight configuration.
EXECUTABLE_PATH_KEY - Static variable in class org.linqs.psl.reasoner.ExecutableReasoner
Key for int property for the path of the executable.
executableInputPath - Variable in class org.linqs.psl.reasoner.ExecutableReasoner
The file that PSL will write for the reasoner.
executableOutputPath - Variable in class org.linqs.psl.reasoner.ExecutableReasoner
The file that the reasoner will write before temination.
executablePath - Variable in class org.linqs.psl.reasoner.ExecutableReasoner
The path the to executable to call.
ExecutableReasoner - Class in org.linqs.psl.reasoner
An abstract superclass for reasoners implemented as command-line executables.
ExecutableReasoner() - Constructor for class org.linqs.psl.reasoner.ExecutableReasoner
 
ExecutableReasoner(String, String, String, String...) - Constructor for class org.linqs.psl.reasoner.ExecutableReasoner
 
executeGroundingQuery(Formula) - Method in class org.linqs.psl.database.atom.AtomManager
Calls ReadableDatabase.executeGroundingQuery(Formula) on the encapsulated Database.
executeGroundingQuery(Formula) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
executeGroundingQuery(Formula) - Method in interface org.linqs.psl.database.ReadableDatabase
Like executeQuery(), but specifically for grounding queries.
executeQuery(DatabaseQuery) - Method in class org.linqs.psl.database.atom.AtomManager
Calls ReadableDatabase.executeQuery(DatabaseQuery) on the encapsulated Database.
executeQuery(DatabaseQuery) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
executeQuery(RawQuery) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
executeQuery(Map<Variable, Integer>, VariableTypeMap, String) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
A more general form for executeQuery().
executeQuery(DatabaseQuery) - Method in interface org.linqs.psl.database.ReadableDatabase
Returns all groundings of a Formula that match a DatabaseQuery.
executeQueryIterator(RawQuery) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
executeQueryIterator(Map<Variable, Integer>, VariableTypeMap, String) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
Note that the constants are in the order specified by the projection map.
executeQueryIterator(String, Map<Variable, Integer>, int[], ConstantType[]) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
ExpectationMaximization - Class in org.linqs.psl.application.learning.weight.em
Abstract superclass for implementations of the expectation-maximization algorithm for learning with latent variables.
ExpectationMaximization(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
expectedIncompatibility - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
EXPLORATION_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
EXPLORATION_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
EXPLORE_LOCATIONS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
 
EXPLORE_LOCATIONS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
The number of initial seed locations to explore based off of whichever ones score the best.
expression - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
ExternalFunction - Interface in org.linqs.psl.model.function
 
ExternalFunctionalPredicate - Class in org.linqs.psl.model.predicate
A FunctionalPredicate which uses an ExternalFunction to compute truth values.
eye(int) - Static method in class org.linqs.psl.util.FloatMatrix
Make an identity matrix.

F

f1() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
factorial(BigInteger) - Static method in class org.linqs.psl.util.MathUtils
 
FETCH_SIZE_DEFAULT - Static variable in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
FETCH_SIZE_KEY - Static variable in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
filter(Iterable<T>, IteratorUtils.FilterFunction<T>) - Static method in class org.linqs.psl.util.IteratorUtils
Given an Iterable, return a new Iterable that filters baseed off of some function.
filterClass(Iterable<T>, Class<S>) - Static method in class org.linqs.psl.util.IteratorUtils
Given an Iterable, return a new Iterable that only returns values that are an instance of the provided class.
filters - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
finalizeCreateTable(CreateTableQuery) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Gives the driver a chance to perform any final manipulations to the CREATE TABLE statement.
finalizeCreateTable(CreateTableQuery) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
finalizeCreateTable(CreateTableQuery) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
fixedByteSize() - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
The number of bytes that writeFixedValues() will need to represent this term.
fixedByteSize() - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
The number of bytes that writeFixedValues() will need to represent this term.
flatten() - Method in class org.linqs.psl.model.atom.Atom
 
flatten() - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
flatten() - Method in interface org.linqs.psl.model.formula.Formula
Collapses nested formulas of the same type and remove duplicates at the top level.
flatten() - Method in class org.linqs.psl.model.formula.Implication
 
flatten() - Method in class org.linqs.psl.model.formula.Negation
 
FloatMatrix - Class in org.linqs.psl.util
A dense float matrix representation and utilities.
FloatMatrix() - Constructor for class org.linqs.psl.util.FloatMatrix
Make an empty matrix.
FloatMatrix(float[], int, int) - Constructor for class org.linqs.psl.util.FloatMatrix
Make a matrix by assuming the given data.
FloatMatrix(float[], int, int, boolean) - Constructor for class org.linqs.psl.util.FloatMatrix
Make a matrix using existing data.
FloatMatrix(float[][]) - Constructor for class org.linqs.psl.util.FloatMatrix
Make a matrix by assuming the given data.
foreach(Iterable<T>, Parallel.Worker<T>) - Static method in class org.linqs.psl.util.Parallel
Invoke a worker once for each item.
foreach(Iterator<T>, Parallel.Worker<T>) - Static method in class org.linqs.psl.util.Parallel
 
Formula - Interface in org.linqs.psl.model.formula
A logical formula composed of Atoms and logical operators.
formula - Variable in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
Formula2SQL - Class in org.linqs.psl.database.rdbms
 
Formula2SQL(Set<Variable>, RDBMSDatabase) - Constructor for class org.linqs.psl.database.rdbms.Formula2SQL
Convert a formula to a query that will fetch all possible combinations of constants used in that formual (aka grounding).
Formula2SQL(Set<Variable>, RDBMSDatabase, boolean) - Constructor for class org.linqs.psl.database.rdbms.Formula2SQL
See above description.
Formula2SQL(Set<Variable>, RDBMSDatabase, boolean, Atom) - Constructor for class org.linqs.psl.database.rdbms.Formula2SQL
See above description.
FormulaAnalysis - Class in org.linqs.psl.model.formula
Converts a Formula to a simplified Disjunctive Normal Form view and makes the clauses available.
FormulaAnalysis(Formula) - Constructor for class org.linqs.psl.model.formula.FormulaAnalysis
 
FormulaAnalysis.DNFClause - Class in org.linqs.psl.model.formula
 
formulas - Variable in class org.linqs.psl.model.formula.AbstractBranchFormula
 
fScore(double) - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
FunctionalPredicate - Class in org.linqs.psl.model.predicate
A Predicate with truth values defined by some function.
FunctionalPredicate(String, ConstantType[]) - Constructor for class org.linqs.psl.model.predicate.FunctionalPredicate
 
FunctionalPredicate(String, ConstantType[], boolean) - Constructor for class org.linqs.psl.model.predicate.FunctionalPredicate
 
FunctionComparator - Enum in org.linqs.psl.reasoner.function
Enumerates possible equality and inequality relationships among numeric functions and values.
FunctionTerm - Interface in org.linqs.psl.reasoner.function
A numeric function.

G

GaussianProcessKernel - Class in org.linqs.psl.application.learning.weight.bayesian
All kernel methods MUST be threadsafe.
GaussianProcessKernel() - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
GaussianProcessKernel(float[]) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
Weights are the number of groundings for a rule divided by total number of groundings.
GaussianProcessKernel.KernelType - Enum in org.linqs.psl.application.learning.weight.bayesian
 
GaussianProcessKernel.Space - Enum in org.linqs.psl.application.learning.weight.bayesian
 
GaussianProcessPrior - Class in org.linqs.psl.application.learning.weight.bayesian
 
GaussianProcessPrior(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
GaussianProcessPrior(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
GaussianProcessPrior.ValueAndStd - Class in org.linqs.psl.application.learning.weight.bayesian
 
GaussianProcessPrior.WeightConfig - Class in org.linqs.psl.application.learning.weight.bayesian
 
GeneralFunction - Class in org.linqs.psl.reasoner.function
A general function that can handle various cases.
GeneralFunction(boolean, boolean, int) - Constructor for class org.linqs.psl.reasoner.function.GeneralFunction
 
generateTerms(GroundRuleStore, TermStore<ConstraintBlockerTerm, RandomVariableAtom>) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermGenerator
 
generateTerms(GroundRuleStore, TermStore<T, V>) - Method in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
 
generateTerms(GroundRuleStore, TermStore<T, V>) - Method in interface org.linqs.psl.reasoner.term.TermGenerator
Use the ground rules in |ruleStore| to generate optimization terms and populate |termStore|.
get(int, Variable) - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
get(int) - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
get(int, Variable) - Method in interface org.linqs.psl.database.ResultList
Returns a substitution for a single Variable
get(int) - Method in interface org.linqs.psl.database.ResultList
Returns a substitution for all Variables.
get(int) - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
get(String) - Static method in class org.linqs.psl.model.predicate.ExternalFunctionalPredicate
 
get(String, ExternalFunction) - Static method in class org.linqs.psl.model.predicate.ExternalFunctionalPredicate
Get a predicate if one already exists, otherwise create a new one.
get(String) - Static method in class org.linqs.psl.model.predicate.Predicate
 
get(String) - Static method in class org.linqs.psl.model.predicate.StandardPredicate
The an existing standard predicate (or null if none with this name exists).
get(String, ConstantType...) - Static method in class org.linqs.psl.model.predicate.StandardPredicate
Get a predicate if one already exists, othereise create a new one.
get(int) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
get(int) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
get(int) - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
get(int) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
get(int) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
get(int) - Method in interface org.linqs.psl.reasoner.term.TermStore
 
get(int, int) - Method in class org.linqs.psl.util.FloatMatrix
 
get() - Static method in class org.linqs.psl.util.Version
 
getAccessException() - Method in class org.linqs.psl.model.atom.RandomVariableAtom
 
getAllCachedAtoms() - Method in class org.linqs.psl.database.Database
 
getAllCachedAtoms() - Method in interface org.linqs.psl.database.ReadableDatabase
Fetch all the GroundAtoms in this database's cache.
getAllCachedRandomVariableAtoms() - Method in class org.linqs.psl.database.Database
 
getAllCachedRandomVariableAtoms() - Method in interface org.linqs.psl.database.ReadableDatabase
Fetch all the RandomVariableAtoms in this database's cache.
getAllGroundAtoms(StandardPredicate) - Method in class org.linqs.psl.database.Database
 
getAllGroundAtoms(StandardPredicate, List<Integer>) - Method in class org.linqs.psl.database.Database
 
getAllGroundAtoms(StandardPredicate, List<Integer>) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
getAllGroundAtoms(StandardPredicate) - Method in interface org.linqs.psl.database.ReadableDatabase
Fetch all the ground atoms for a predicate.
getAllGroundObservedAtoms(StandardPredicate) - Method in class org.linqs.psl.database.Database
 
getAllGroundObservedAtoms(StandardPredicate) - Method in interface org.linqs.psl.database.ReadableDatabase
Fetch all the ground ObservedAtoms for a predicate.
getAllGroundRandomVariableAtoms(StandardPredicate) - Method in class org.linqs.psl.database.Database
 
getAllGroundRandomVariableAtoms(StandardPredicate) - Method in interface org.linqs.psl.database.ReadableDatabase
Fetch all the ground RandomVariableAtoms for a predicate.
getAllPartitions() - Method in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
getAllStats() - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
getAllStats() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
getAllStats() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
getAllStats() - Method in class org.linqs.psl.evaluation.statistics.Evaluator
Get a string that contains the full range of stats that this Evaluator can provide.
getAllStats() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
getAllValuesByType(String, String) - Method in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
getArguments() - Method in class org.linqs.psl.model.atom.Atom
Returns the arguments associated with this atom.
getArguments() - Method in class org.linqs.psl.model.atom.GroundAtom
 
getArguments() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
Returns the arguments associated with this SummationAtom.
getArgumentType(int) - Method in class org.linqs.psl.model.predicate.Predicate
Returns the ArgumentType which a Term must have to be a valid argument for a particular argument position of this Predicate.
getArgumentTypes() - Method in interface org.linqs.psl.model.function.ExternalFunction
 
getArity() - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
getArity() - Method in interface org.linqs.psl.database.ResultList
 
getArity() - Method in class org.linqs.psl.model.atom.Atom
Returns the number of arguments to the associated predicate.
getArity() - Method in interface org.linqs.psl.model.function.ExternalFunction
 
getArity() - Method in class org.linqs.psl.model.predicate.Predicate
Returns the number of Terms that are related when using this Predicate.
getArity() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
Returns the number of arguments to the associated Predicate.
getArity() - Method in interface org.linqs.psl.model.rule.arithmetic.expression.SummationAtomOrAtom
 
getAtom(Predicate, Constant...) - Method in class org.linqs.psl.database.atom.AtomManager
Returns the GroundAtom for the given Predicate and GroundTerms.
getAtom(Predicate, Constant...) - Method in class org.linqs.psl.database.atom.LazyAtomManager
 
getAtom(Predicate, Constant...) - Method in class org.linqs.psl.database.atom.PersistedAtomManager
 
getAtom(Predicate, Constant...) - Method in class org.linqs.psl.database.atom.SimpleAtomManager
 
getAtom(StandardPredicate, boolean, Constant...) - Method in class org.linqs.psl.database.Database
 
getAtom(Predicate, Constant...) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
getAtom(StandardPredicate, boolean, Constant...) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
getAtom(Predicate, Constant...) - Method in interface org.linqs.psl.database.ReadableDatabase
Returns the GroundAtom for the given Predicate and GroundTerms.
getAtom() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
getAtomCoefficients() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
getAtomManager() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
getAtoms(Set<Atom>) - Method in class org.linqs.psl.model.atom.Atom
 
getAtoms(Set<Atom>) - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
getAtoms(Set<Atom>) - Method in interface org.linqs.psl.model.formula.Formula
 
getAtoms(Set<Atom>) - Method in class org.linqs.psl.model.formula.Implication
 
getAtoms(Set<Atom>) - Method in class org.linqs.psl.model.formula.Negation
 
getAtoms() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
getAtoms() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
getAtoms() - Method in interface org.linqs.psl.model.rule.GroundRule
 
getAtoms() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
getAtoms() - Method in class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
getAtoms() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
getAtoms() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTerm
 
getAtomValues(float[]) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
Get the values from the atoms corresponding to global (consensus) variables and put them in the output array.
getAugmentedLagrangianPenalty() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
getBigDecimal(String, BigDecimal) - Static method in class org.linqs.psl.config.Config
 
getBigInteger(String, BigInteger) - Static method in class org.linqs.psl.config.Config
 
getBlockIndex(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
Get the index of the block (term) associated with the given atom.
getBody() - Method in class org.linqs.psl.model.formula.Implication
 
getBodyPredicates() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
Get all the predicates used in the body of this rule (no filters).
getBoolean(String, boolean) - Static method in class org.linqs.psl.config.Config
 
getBoolean(String, Boolean) - Static method in class org.linqs.psl.config.Config
 
getByte(String, byte) - Static method in class org.linqs.psl.config.Config
 
getByte(String, Byte) - Static method in class org.linqs.psl.config.Config
 
getCachedAtom(QueryAtom) - Method in class org.linqs.psl.database.atom.AtomCache
Checks whether a GroundAtom matching a QueryAtom exists in the cache and returns it if so.
getCachedAtoms() - Method in class org.linqs.psl.database.atom.AtomCache
 
getCachedAtoms(Predicate) - Method in class org.linqs.psl.database.atom.AtomCache
Returns all GroundAtoms in this AtomCache with a given Predicate.
getCachedObservedAtoms() - Method in class org.linqs.psl.database.atom.AtomCache
 
getCachedRandomVariableAtoms() - Method in class org.linqs.psl.database.atom.AtomCache
 
getCachedRVACount() - Method in class org.linqs.psl.database.atom.AtomManager
Get the number of RandomVariableAtoms cached by the database.
getCachedRVACount() - Method in class org.linqs.psl.database.Database
 
getCachedRVACount() - Method in interface org.linqs.psl.database.ReadableDatabase
Get the number of RandomVariableAtoms in the database's cache.
getCacheIterator() - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingTermStore
 
getCacheIterator() - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingTermStore
 
getCacheIterator() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Get an iterator that will read and write from disk.
getCardinality(String) - Method in class org.linqs.psl.database.rdbms.TableStats
Get the cardinality (number of unique rows) of a specific column.
getCoefficient(int) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
getCoefficient(int) - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
getCoefficients() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
getCoefficients() - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
getComparator() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
getComparator() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
getComparator() - Method in class org.linqs.psl.reasoner.function.ConstraintTerm
 
getCompatibilityRules() - Method in interface org.linqs.psl.grounding.GroundRuleStore
 
getCompatibilityRules() - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
getConfigs() - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
getConnection() - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Returns a connection to the database.
getConnection() - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getConnection() - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getConnection() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getConstant() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
getConstant(String, ConstantType) - Static method in enum org.linqs.psl.model.term.ConstantType
Convert a general string into the appropriate Constant.
getConstant() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
getConstant() - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
getConstraintDefinition() - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedGroundArithmeticRule
 
getConstraintDefinition() - Method in class org.linqs.psl.model.rule.logical.UnweightedGroundLogicalRule
 
getConstraintDefinition() - Method in class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
getConstraintDefinition() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
getConstraintDefinition() - Method in interface org.linqs.psl.model.rule.UnweightedGroundRule
 
getConstraintRules() - Method in interface org.linqs.psl.grounding.GroundRuleStore
 
getConstraintRules() - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
getCount(Connection) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
Get a count of all the rows in the table.
getCount() - Method in class org.linqs.psl.database.rdbms.TableStats
 
getDatabase() - Method in class org.linqs.psl.database.atom.AtomManager
 
getDatabase(Partition, Partition...) - Method in interface org.linqs.psl.database.DataStore
Creates a Database that can read from and write to a Partition and optionally read from additional Partitions.
getDatabase(Partition, StandardPredicate[], Partition...) - Method in interface org.linqs.psl.database.DataStore
 
getDatabase(Partition, Set<StandardPredicate>, Partition...) - Method in interface org.linqs.psl.database.DataStore
Creates a Database that can read from and write to a Partition and optionally read from additional Partitions.
getDatabase(Partition, Partition...) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getDatabase(Partition, StandardPredicate[], Partition...) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getDatabase(Partition, Set<StandardPredicate>, Partition...) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getDataStore() - Method in class org.linqs.psl.database.Database
 
getDistinct() - Method in class org.linqs.psl.database.DatabaseQuery
 
getDNF() - Method in class org.linqs.psl.model.atom.Atom
 
getDNF() - Method in class org.linqs.psl.model.formula.Conjunction
 
getDNF() - Method in class org.linqs.psl.model.formula.Disjunction
 
getDNF() - Method in interface org.linqs.psl.model.formula.Formula
 
getDNF() - Method in class org.linqs.psl.model.formula.Implication
 
getDNF() - Method in class org.linqs.psl.model.formula.Negation
 
getDNFClause(int) - Method in class org.linqs.psl.model.formula.FormulaAnalysis
Returns the specified clause of the Formula after it has been converted to Disjunctive Normal Form.
getDouble(String, Double) - Static method in class org.linqs.psl.config.Config
 
getDouble(String, double) - Static method in class org.linqs.psl.config.Config
 
getDoubleTypeName() - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Get the type name for a double type.
getDoubleTypeName() - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getDoubleTypeName() - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getDriver() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getDualIncompatibility(GroundRule, ADMMTermStore, float[]) - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
Computes the incompatibility of the local variable copies corresponding to GroundRule groundRule.
getEpsilonAbs() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
getEpsilonRel() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
getExactlyOne() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTerm
 
getException() - Method in class org.linqs.psl.util.Parallel.Worker
 
getExpectedTotalWeightedCompatibility(Iterable<WeightedGroundRule>) - Static method in class org.linqs.psl.grounding.GroundRules
Computes the expected weighted compatibility (1 - incompatibility) of a collection of WeightedGroundRules.
getExpectedTotalWeightedIncompatibility(Iterable<WeightedGroundRule>) - Static method in class org.linqs.psl.grounding.GroundRules
Computes the expected total weighted incompatibility of an iterable container of GroundCompatibilityRules from independently rounding each RandomVariableAtom to 1.0 or 0.0 with probability equal to its current truth value.
getExpectedWeightedCompatibility(WeightedGroundRule) - Static method in class org.linqs.psl.grounding.GroundRules
Computes the expected weighted compatibility (1 - incompatibility) of a WeightedGroundRule.
getExpression() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
getExternalFunction() - Method in class org.linqs.psl.model.predicate.ExternalFunctionalPredicate
Get the ExternalFunction this predicate uses to compute truth values.
getFinalCoefficient() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
getFloat(String, float) - Static method in class org.linqs.psl.config.Config
 
getFloat(String, Float) - Static method in class org.linqs.psl.config.Config
 
getFormula() - Method in class org.linqs.psl.database.DatabaseQuery
 
getFormula() - Method in class org.linqs.psl.model.formula.FormulaAnalysis
 
getFormula() - Method in class org.linqs.psl.model.formula.Negation
 
getFormula() - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
getFull() - Static method in class org.linqs.psl.util.Version
 
getFullMap() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
Get the full mapping of target to truth atoms (RVAs and observed).
getFunction() - Method in class org.linqs.psl.reasoner.function.ConstraintTerm
 
getFunctionalAtoms() - Method in class org.linqs.psl.database.rdbms.Formula2SQL
 
getFunctionDefinition() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
getFunctionDefinition() - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
getFunctionDefinition() - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
 
getFunctionValue(GaussianProcessPrior.WeightConfig) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
getGlobalId() - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
getGlobalVariables() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
Get the RVAs managed by this term store.
getGroundingQuery(AtomManager) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
getGroundingQuery(AtomManager) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
getGroundingQuery(AtomManager) - Method in interface org.linqs.psl.model.rule.Rule
Get the formual that we can use for grounding.
getGroundRule() - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
 
getGroundRules() - Method in interface org.linqs.psl.grounding.GroundRuleStore
 
getGroundRules(Rule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
Returns every GroundRule that was instantiated by a given Rule.
getGroundRules() - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
getGroundRules(Rule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
getGroundRuleStore() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
getGroundRuleStore() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
getGroundRuleStore() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
Extremely hacky way to allow methods that require this to get ahold of the GroundRuleStore.
getHead() - Method in class org.linqs.psl.model.formula.Implication
 
getHistogram(String) - Method in class org.linqs.psl.database.rdbms.TableStats
 
getHostname() - Static method in class org.linqs.psl.util.SystemUtils
 
getID() - Method in class org.linqs.psl.database.Partition
 
getID() - Method in class org.linqs.psl.model.term.UniqueIntID
 
getID() - Method in class org.linqs.psl.model.term.UniqueStringID
 
getIgnoreVariables() - Method in class org.linqs.psl.database.DatabaseQuery
 
getIncidentGRs() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTerm
 
getIncompatibility() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
getIncompatibility(GroundAtom, float) - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
getIncompatibility() - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
getIncompatibility(GroundAtom, float) - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
getIncompatibility() - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
Returns the incompatibility of the truth values of this GroundRule's GroundAtoms.
getIncompatibility(GroundAtom, float) - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
Returns the incompatibility of the truth values of this GroundRule's GroundAtoms given the replacment of a single atom's value with another value.
getInfeasibility() - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedGroundArithmeticRule
 
getInfeasibility() - Method in class org.linqs.psl.model.rule.logical.UnweightedGroundLogicalRule
 
getInfeasibility() - Method in class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
getInfeasibility() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
getInfeasibility() - Method in interface org.linqs.psl.model.rule.UnweightedGroundRule
Returns the infeasibility of the truth values of this GroundRule's GroundAtoms.
getInfeasibilityNorm(Iterable<UnweightedGroundRule>) - Static method in class org.linqs.psl.grounding.GroundRules
Computes the Euclidean norm of the infeasibilities of an iterable container of GroundConstraintRules.
getInferenceApplication(String, Model, Database) - Static method in class org.linqs.psl.application.inference.InferenceApplication
Construct an inference application given the data.
getInitialRoundIterator() - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingTermStore
 
getInitialRoundIterator() - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingTermStore
 
getInitialRoundIterator() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Get an iterator that will perform grounding queries and write the initial pages to disk.
getInserter(StandardPredicate, Partition) - Method in interface org.linqs.psl.database.DataStore
Creates an Inserter for persisting new GroundAtoms in a Partition.
getInserter(StandardPredicate, Partition) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getInt(String, int) - Static method in class org.linqs.psl.config.Config
 
getInteger(String, Integer) - Static method in class org.linqs.psl.config.Config
 
getLagrange() - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
getLagrange() - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
 
getLagrangianPenalty() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
getLatentVariables() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
Gets the latent variables seen by this manager.
getLazyAtoms() - Method in class org.linqs.psl.database.atom.LazyAtomManager
 
getList(String, List<String>, boolean) - Static method in class org.linqs.psl.config.Config
Because list options can be quite large, we allow them to be suppressed on request.
getList(String, List<String>) - Static method in class org.linqs.psl.config.Config
 
getList(String, boolean) - Static method in class org.linqs.psl.config.Config
 
getList(String) - Static method in class org.linqs.psl.config.Config
 
getLocalVariables(int) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
getLocalVariableType() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermGenerator
 
getLocalVariableType() - Method in class org.linqs.psl.reasoner.dcd.term.DCDTermGenerator
 
getLocalVariableType() - Method in class org.linqs.psl.reasoner.sgd.term.SGDTermGenerator
 
getLocalVariableType() - Method in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
Get the class object for the local vairable type.
getLong(String, long) - Static method in class org.linqs.psl.config.Config
 
getLong(String, Long) - Static method in class org.linqs.psl.config.Config
 
getLoss() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
getMaxIter() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
getMaxIter() - Method in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
getMaxIter() - Method in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
getMetadata() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getName() - Method in class org.linqs.psl.database.Partition
 
getName() - Method in class org.linqs.psl.model.predicate.Predicate
Returns the name of this Predicate.
getName() - Method in class org.linqs.psl.model.rule.AbstractRule
 
getName() - Method in interface org.linqs.psl.model.rule.Rule
 
getName() - Method in enum org.linqs.psl.model.term.ConstantType
 
getName() - Method in class org.linqs.psl.model.term.Variable
 
getNegatedDNF() - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
getNegativeAtoms() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
getNegLiterals() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
getNewObject(String, String) - Static method in class org.linqs.psl.config.Config
Returns a new instance of the class whose name associated with the given configuration key.
getNewPartition() - Method in interface org.linqs.psl.database.DataStore
Requests a new Partition that is assigned an auto-generated name and the next unused ID.
getNewPartition() - Method in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
getNewPartition() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getNext(int) - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.SimplexSampler
Samples a uniform point on the simplex of dimension d
getNextPoint(List<GaussianProcessPrior.WeightConfig>, int) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
getNoWriteIterator() - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingTermStore
 
getNoWriteIterator() - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingTermStore
 
getNoWriteIterator() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Get an iterator that will not write to disk.
getNumDNFClauses() - Method in class org.linqs.psl.model.formula.FormulaAnalysis
 
getNumGlobalVariables() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
getNumLocalVariables() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
getNumSummationVariables() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
getNumThreads() - Static method in class org.linqs.psl.util.Parallel
 
getNumVariables() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
getNumVariables() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
getNumVariables() - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
 
getObservedMap() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
Get the mapping of observed to observed atoms.
getOpenDatabases() - Method in interface org.linqs.psl.database.DataStore
Get all the currenly open databases associated with this data store.
getOpenDatabases() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getOpenDataStores() - Static method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getOrderedAtoms() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
getPartition(String) - Method in interface org.linqs.psl.database.DataStore
Gets a new Partition of the DataStore with the given name.
getPartition(String) - Method in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
getPartition(String) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getPartitions() - Method in interface org.linqs.psl.database.DataStore
 
getPartitions() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getPersisted() - Method in class org.linqs.psl.model.atom.RandomVariableAtom
 
getPersistedCount() - Method in class org.linqs.psl.database.atom.PersistedAtomManager
 
getPersistedRVAtoms() - Method in class org.linqs.psl.database.atom.PersistedAtomManager
 
getPos(Variable) - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
getPositiveAtoms() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
getPosLiterals() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
getPredicate() - Method in class org.linqs.psl.model.atom.Atom
Returns the predicate associated with this Atom.
getPredicate() - Method in class org.linqs.psl.model.atom.RandomVariableAtom
 
getPredicate() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
Returns the predicate associated with this SummationAtom.
getPredicateInfo(Predicate) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
Helper method for getting a predicate handle
getPredicateRowCount(StandardPredicate) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getProjectionMap() - Method in class org.linqs.psl.database.rdbms.Formula2SQL
 
getProjectionMap() - Method in class org.linqs.psl.database.rdbms.RawQuery
 
getProperty(String) - Static method in class org.linqs.psl.config.Config
Get a property from the configuration.
getQuery(Formula) - Method in class org.linqs.psl.database.rdbms.Formula2SQL
 
getQueryAtom() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
getQueryFormula() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
getQueryFormula() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
Get a formula that can be used in a DatabaseQuery to fetch all the possibilites.
getReadPartitions() - Method in class org.linqs.psl.database.Database
 
getReasoner() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
getRegisteredGroundRules(GroundAtom) - Method in class org.linqs.psl.grounding.AtomRegisterGroundRuleStore
 
getRegisteredPredicates() - Method in interface org.linqs.psl.database.DataStore
Returns the set of StandardPredicates registered with this DataStore.
getRegisteredPredicates() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
getRepresentativeMetric() - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
getRepresentativeMetric() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
getRepresentativeMetric() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
getRepresentativeMetric() - Method in class org.linqs.psl.evaluation.statistics.Evaluator
 
getRepresentativeMetric() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
getRewritableGroundingFormula(AtomManager) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
getRewritableGroundingFormula(AtomManager) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
getRewritableGroundingFormula(AtomManager) - Method in interface org.linqs.psl.model.rule.Rule
Get a grounding formual that can be rewritten.
getRule() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
getRule() - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedGroundArithmeticRule
 
getRule() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
getRule() - Method in interface org.linqs.psl.model.rule.GroundRule
 
getRule() - Method in class org.linqs.psl.model.rule.logical.UnweightedGroundLogicalRule
 
getRule() - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
getRule() - Method in class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
getRule() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
getRule() - Method in interface org.linqs.psl.model.rule.UnweightedGroundRule
 
getRule() - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
 
getRules() - Method in class org.linqs.psl.model.Model
 
getRVACount() - Method in class org.linqs.psl.database.atom.AtomCache
 
getSelectivity(String) - Method in class org.linqs.psl.database.rdbms.TableStats
Get the selectivity (cardinality / total rows) of a specific column.
getShort(String, short) - Static method in class org.linqs.psl.config.Config
 
getShort(String, Short) - Static method in class org.linqs.psl.config.Config
 
getSQL(Formula) - Method in class org.linqs.psl.database.rdbms.Formula2SQL
 
getSQL() - Method in class org.linqs.psl.database.rdbms.RawQuery
 
getString(String, String) - Static method in class org.linqs.psl.config.Config
 
getStringAggregate(String, String, boolean) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Get a string aggregating expression (one that would appear in the SELECT clause of a grouping query.
getStringAggregate(String, String, boolean) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getStringAggregate(String, String, boolean) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getSummationMapping() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
getSummationVariable() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
 
getSummationVariables() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
getSurrogateKeyColumnDefinition(String) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Get the SQL definition for a primary, surrogate (auto-increment) key for use in a CREATE TABLE statement.
getSurrogateKeyColumnDefinition(String) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getSurrogateKeyColumnDefinition(String) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getSystemTempDir() - Static method in class org.linqs.psl.util.SystemUtils
 
getTableAliases() - Method in class org.linqs.psl.database.rdbms.Formula2SQL
 
getTableStats(PredicateInfo) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Get some statistics for a table.
getTableStats(PredicateInfo) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getTableStats(PredicateInfo) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getTableStats(DatabaseDriver) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
getTargetAtoms() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
 
getTargetAtoms(boolean) - Method in class org.linqs.psl.application.learning.weight.TrainingMap
Get all the target atoms (atoms for the RVA PAM) in one iterable.
getTempDir(String) - Static method in class org.linqs.psl.util.SystemUtils
Get a temp dir (path) that is unique to this user/host/prefix.
getTerm(int) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
getTermPagePath(int) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
getTerms(GroundRule) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
getTermStore() - Method in class org.linqs.psl.application.inference.InferenceApplication
 
getThreadObject(String) - Static method in class org.linqs.psl.util.Parallel
 
getThreshold() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
getThreshold() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
getTotalWeightedCompatibility(Iterable<WeightedGroundRule>) - Static method in class org.linqs.psl.grounding.GroundRules
Sums the total weighted compatibility (1 - incompatibility) of an iterable container of GroundCompatibilityRules.
getTotalWeightedIncompatibility(Iterable<WeightedGroundRule>) - Static method in class org.linqs.psl.grounding.GroundRules
Sums the total weighted incompatibility of an iterable container of GroundCompatibilityRules.
getTrainingMap() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
Get the mapping of random to observed atoms.
getTruthAtoms() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
Get all the truth atoms in one iterable.
getType(Constant) - Static method in enum org.linqs.psl.model.term.ConstantType
 
getType(Variable) - Method in class org.linqs.psl.model.term.VariableTypeMap
Returns the type of a given variable.
getTypeName(ConstantType) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Get the type name for each argument type.
getTypeName(ConstantType) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getTypeName(ConstantType) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getUnboundVariables() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
Returns any unbound variables.
getUnloggedProperty(String) - Static method in class org.linqs.psl.config.Config
Get a property, but don't log the access.
getUpsert(String, String[], String[]) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Get the SQL for an upsert (merge) on the specified table and columns.
getUpsert(String, String[], String[]) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
getUpsert(String, String[], String[]) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
getUsername() - Static method in class org.linqs.psl.util.SystemUtils
 
getValue() - Method in class org.linqs.psl.model.atom.GroundAtom
 
getValue(ReadableDatabase, Constant...) - Method in interface org.linqs.psl.model.function.ExternalFunction
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Add
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Coefficient
Get the value of a coefficient (which may require a reqursive descent).
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.ConstantNumber
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Divide
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Max
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Min
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Multiply
 
getValue(Map<SummationVariable, Integer>) - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Subtract
 
getValue() - Method in class org.linqs.psl.model.term.Attribute
 
getValue() - Method in class org.linqs.psl.model.term.DoubleAttribute
 
getValue() - Method in class org.linqs.psl.model.term.IntegerAttribute
 
getValue() - Method in class org.linqs.psl.model.term.LongAttribute
 
getValue() - Method in class org.linqs.psl.model.term.StringAttribute
 
getValue() - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
getValue() - Method in class org.linqs.psl.reasoner.function.ConstraintTerm
 
getValue() - Method in interface org.linqs.psl.reasoner.function.FunctionTerm
Returns the term's value
getValue() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
getValue(float[]) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
Get the value of this sum, but using the values passed in place of non-constants for the term.
getValue(GroundAtom, float) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
Get the value of the sum, but replace the value of a single RVA with the given value.
getVariable() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationVariable
 
getVariable(int) - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
getVariableIndex(V) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
getVariableIndex(RandomVariableAtom) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
getVariableIndex(V) - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
Get the index that matches up to getVariableValues().
getVariableMap() - Method in interface org.linqs.psl.database.QueryResultIterable
Get the mapping between variables and their index in the results.
getVariableMap() - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
getVariables() - Method in class org.linqs.psl.model.atom.Atom
Get all the variables used by this atom.
getVariables() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
Get the non-summation variables.
getVariables() - Method in class org.linqs.psl.model.term.VariableTypeMap
Returns all variables in the hashmap.
getVariables() - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
Get the variables used in this term.
getVariables() - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
getVariables() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
getVariables() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
getVariables() - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
 
getVariableTypes() - Method in class org.linqs.psl.database.rdbms.RawQuery
 
getVariableValues() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
getVariableValues() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
getVariableValues() - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
Get the truth values for variabe atoms.
getVolatilePagePath(int) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
getWaitTime() - Method in class org.linqs.psl.util.Parallel.Worker
 
getWeight() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
getWeight() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
getWeight() - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
getWeight() - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
getWeight() - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
Returns the Weight of this WeightedGroundRule.
getWeight() - Method in interface org.linqs.psl.model.rule.WeightedRule
 
getWeights(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
Get the weight configuration at the current location.
getWeights(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
getWeights(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
 
getWeights(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.RankSearch
 
getWLA(String, List<Rule>, Database, Database) - Static method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Construct a weight learning application given the data.
getWorkTime() - Method in class org.linqs.psl.util.Parallel.Worker
 
getWritePartition() - Method in class org.linqs.psl.database.Database
 
GIT_COMMIT_SHORT_DEFAULT - Static variable in class org.linqs.psl.util.Version
 
GIT_COMMIT_SHORT_KEY - Static variable in class org.linqs.psl.util.Version
 
GIT_DIRTY_KEY - Static variable in class org.linqs.psl.util.Version
 
GIT_PROPS - Static variable in class org.linqs.psl.config.Config
 
GridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
An exhaustive grid search for weights.
GridSearch(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.GridSearch
 
GridSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.GridSearch
 
ground(AtomManager, ResultList, int) - Method in class org.linqs.psl.model.atom.QueryAtom
 
ground(AtomManager, ResultList, int, Constant[]) - Method in class org.linqs.psl.model.atom.QueryAtom
Ground using the passed in buffer.
ground(AtomManager, ResultList, int, Constant[], boolean) - Method in class org.linqs.psl.model.atom.QueryAtom
 
ground(AtomManager, Constant[], Map<Variable, Integer>) - Method in class org.linqs.psl.model.atom.QueryAtom
 
ground(AtomManager, Constant[], Map<Variable, Integer>, Constant[]) - Method in class org.linqs.psl.model.atom.QueryAtom
 
ground(AtomManager, Constant[], Map<Variable, Integer>, Constant[], boolean) - Method in class org.linqs.psl.model.atom.QueryAtom
 
ground(Constant[], Map<Variable, Integer>, AtomManager, List<GroundRule>) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
ground(Constant[], Map<Variable, Integer>, AtomManager, List<GroundRule>) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
ground(Constant[], Map<Variable, Integer>, AtomManager, List<GroundRule>) - Method in interface org.linqs.psl.model.rule.Rule
Get the formual that we can use for grounding.
GROUND_RULE_STORE_DEFAULT - Static variable in class org.linqs.psl.application.inference.InferenceApplication
 
GROUND_RULE_STORE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
GROUND_RULE_STORE_KEY - Static variable in class org.linqs.psl.application.inference.InferenceApplication
The class to use for ground rule storage.
GROUND_RULE_STORE_KEY - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
The class to use for ground rule storage.
groundAll(Model, AtomManager, GroundRuleStore) - Static method in class org.linqs.psl.grounding.Grounding
Ground all the given rules.
groundAll(List<Rule>, AtomManager, GroundRuleStore) - Static method in class org.linqs.psl.grounding.Grounding
Ground all the given rules.
groundAll(AtomManager, GroundRuleStore) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
groundAll(AtomManager, GroundRuleStore) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
groundAll(QueryResultIterable, AtomManager, GroundRuleStore) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
groundAll(AtomManager, GroundRuleStore) - Method in interface org.linqs.psl.model.rule.Rule
Adds all GroundRules to a GroundRuleStore using the AtomManager to instantiate ground atoms.
groundAllSerial(List<Rule>, AtomManager, GroundRuleStore) - Static method in class org.linqs.psl.grounding.Grounding
Ground all the given rules one at a time.
GroundAtom - Class in org.linqs.psl.model.atom
An Atom with only GroundTerms for arguments.
GroundAtom(Predicate, Constant[], float) - Constructor for class org.linqs.psl.model.atom.GroundAtom
 
groundFormulaInstance(List<GroundAtom>, List<GroundAtom>, short) - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
groundFormulaInstance(List<GroundAtom>, List<GroundAtom>, short) - Method in class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
 
groundFormulaInstance(List<GroundAtom>, List<GroundAtom>, short) - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
Grounding - Class in org.linqs.psl.grounding
Static utilities for common Model-grounding tasks.
GroundingOnlyPredicate - Class in org.linqs.psl.model.predicate
Commonly used FunctionalPredicates that get special treatment in PSL.
GroundLinearConstraint - Class in org.linqs.psl.model.rule.misc
A linear constraint on the truth values of GroundAtoms
GroundLinearConstraint(GroundAtom[], float[], FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
GroundRule - Interface in org.linqs.psl.model.rule
A function that either constrains or measures the compatibility of the values of GroundAtoms.
groundRule - Variable in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
 
GroundRules - Class in org.linqs.psl.grounding
Static utilities for common GroundRule tasks.
GroundRules() - Constructor for class org.linqs.psl.grounding.GroundRules
 
groundRules - Variable in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
groundRuleStore - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
groundRuleStore - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
GroundRuleStore - Interface in org.linqs.psl.grounding
Container for a set of GroundRules.
GroundValueConstraint - Class in org.linqs.psl.model.rule.misc
A simple constraint that fixes the truth value of a RandomVariableAtom
GroundValueConstraint(RandomVariableAtom, float) - Constructor for class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
GuidedRandomGridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
Randomly search a some locations and then look around those locations.
GuidedRandomGridSearch(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
 
GuidedRandomGridSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
 

H

H2DatabaseDriver - Class in org.linqs.psl.database.rdbms.driver
 
H2DatabaseDriver(H2DatabaseDriver.Type, String, boolean) - Constructor for class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
Constructor for the H2 database driver.
H2DatabaseDriver.Type - Enum in org.linqs.psl.database.rdbms.driver
 
HardEM - Class in org.linqs.psl.application.learning.weight.em
EM algorithm which fits a point distribution to the single most probable assignment of truth values to the latent variables during the E-step.
HardEM(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.em.HardEM
 
HardEM(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.em.HardEM
 
hasAtom(StandardPredicate, Constant...) - Method in class org.linqs.psl.database.Database
 
hasAtom(StandardPredicate, Constant...) - Method in interface org.linqs.psl.database.ReadableDatabase
Check to see if a ground atom exists in the database.
hasCachedAtom(StandardPredicate, Constant...) - Method in class org.linqs.psl.database.Database
 
hasCachedAtom(QueryAtom) - Method in class org.linqs.psl.database.Database
 
Hash - Class in org.linqs.psl.util
Compute hash digests.
HASH_PREFIX - Static variable in class org.linqs.psl.database.rdbms.PredicateInfo
 
hashCode() - Method in class org.linqs.psl.database.Partition
 
hashcode - Variable in class org.linqs.psl.model.atom.Atom
 
hashCode() - Method in class org.linqs.psl.model.atom.Atom
 
hashCode() - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
hashCode() - Method in class org.linqs.psl.model.formula.Implication
 
hashCode() - Method in class org.linqs.psl.model.formula.Negation
 
hashCode() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
hashCode() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
hashCode() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
hashCode() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationVariable
 
hashCode() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
hashCode() - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
hashCode() - Method in class org.linqs.psl.model.term.DoubleAttribute
 
hashCode() - Method in class org.linqs.psl.model.term.IntegerAttribute
 
hashCode() - Method in class org.linqs.psl.model.term.LongAttribute
 
hashCode() - Method in class org.linqs.psl.model.term.StringAttribute
 
hashCode() - Method in interface org.linqs.psl.model.term.Term
 
hashCode() - Method in class org.linqs.psl.model.term.UniqueIntID
 
hashCode() - Method in class org.linqs.psl.model.term.UniqueStringID
 
hashCode() - Method in class org.linqs.psl.model.term.Variable
 
hashCode() - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
Hash by global identifier.
HashCode - Class in org.linqs.psl.util
A utility to help build hash codes for objects.
hasNext() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
Get the next term.
hasNext() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
Get the next term.
hasSummation() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
hasThreadObject(String) - Static method in class org.linqs.psl.util.Parallel
 
hasVariable(Variable) - Method in class org.linqs.psl.model.term.VariableTypeMap
Returns whether the given variable exists in the hashmap.
head - Variable in class org.linqs.psl.model.formula.Implication
The fuzzy singleton that is the head of the rule
HingeLossTerm - Class in org.linqs.psl.reasoner.admm.term
ADMMReasoner objective term of the form
weight * max(coefficients^T * x - constant, 0) All coefficients must be non-zero.
HingeLossTerm(GroundRule, Hyperplane<LocalVariable>) - Constructor for class org.linqs.psl.reasoner.admm.term.HingeLossTerm
 
Hyperband - Class in org.linqs.psl.application.learning.weight.search
Hyperband.
Hyperband(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.Hyperband
 
Hyperband(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.Hyperband
 
Hyperplane<E extends ReasonerLocalVariable> - Class in org.linqs.psl.reasoner.term
Information representing a raw hyperplane.
Hyperplane(Class<E>, int, float) - Constructor for class org.linqs.psl.reasoner.term.Hyperplane
 
Hyperplane(E[], float[], float, int) - Constructor for class org.linqs.psl.reasoner.term.Hyperplane
 
HyperplaneTerm - Class in org.linqs.psl.reasoner.admm.term
Objective term for an ADMMReasoner that is based on a hyperplane in some way.
HyperplaneTerm(GroundRule, Hyperplane<LocalVariable>) - Constructor for class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
 
HyperplaneTermGenerator<T extends ReasonerTerm,V extends ReasonerLocalVariable> - Class in org.linqs.psl.reasoner.term
A base term generator for terms that come from hyperplanes.
HyperplaneTermGenerator() - Constructor for class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
 

I

id - Variable in class org.linqs.psl.util.Parallel.Worker
 
Implication - Class in org.linqs.psl.model.formula
 
Implication(Formula, Formula) - Constructor for class org.linqs.psl.model.formula.Implication
 
index(Connection, DatabaseDriver) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
indexed() - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
indexOf(T[], T) - Static method in class org.linqs.psl.util.ArrayUtils
 
indexOf(T[], int, T) - Static method in class org.linqs.psl.util.ArrayUtils
Same semantics as List.indexOf().
indexOfReference(T[], T) - Static method in class org.linqs.psl.util.ArrayUtils
 
indexOfReference(T[], int, T) - Static method in class org.linqs.psl.util.ArrayUtils
Like indexOf(), but only checks for referential equality.
indexOfVariable(E) - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
indexPredicates() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
inertia - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
INERTIA_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
INERTIA_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
The inertia that is used for adaptive step sizes.
inference() - Method in class org.linqs.psl.application.inference.InferenceApplication
Alias for inference() with committing atoms.
inference(boolean) - Method in class org.linqs.psl.application.inference.InferenceApplication
Minimizes the total weighted incompatibility of the GroundAtoms in the Database according to the Model and commits the updated truth values back to the Database.
inference(List<Rule>, Reasoner, GroundRuleStore, TermStore, TermGenerator, LazyAtomManager, int) - Static method in class org.linqs.psl.application.inference.LazyMPEInference
Do the full MPE inference process.
InferenceApplication - Class in org.linqs.psl.application.inference
 
InferenceApplication(Model, Database) - Constructor for class org.linqs.psl.application.inference.InferenceApplication
 
init() - Static method in class org.linqs.psl.config.Config
(Re)create and populate the initial config.
init(boolean, boolean, Predicate, Term[]) - Method in class org.linqs.psl.model.atom.Atom
 
init(GroundRuleStore, RandomVariableAtom[][], WeightedGroundRule[][], boolean[]) - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
init(int) - Method in class org.linqs.psl.util.Parallel.Worker
Called before any work is given.
initGroundModel() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Initialize all the infrastructure dealing with the ground model.
initGroundModel(GroundRuleStore) - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Init the ground model using an already populated ground rule store.
initGroundModel(Reasoner, GroundRuleStore, TermStore, TermGenerator, PersistedAtomManager, TrainingMap) - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Pass in all the ground model infrastructure.
INITIAL_CONSENSUS_VALUE_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
INITIAL_CONSENSUS_VALUE_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
The starting value for consensus variables.
INITIAL_LOCAL_VALUE_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
INITIAL_LOCAL_VALUE_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
The starting value for local variables.
INITIAL_PATH_CACHE_SIZE - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
INITIAL_SIZE_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.MemoryTermStore
 
INITIAL_SIZE_KEY - Static variable in class org.linqs.psl.reasoner.term.MemoryTermStore
Initial size for the memory store.
initialIterationComplete(int, int, ByteBuffer, ByteBuffer) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
A callback for the initial round iterator.
initialize() - Method in class org.linqs.psl.application.inference.InferenceApplication
Get objects ready for inference.
initialRound - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
InitialWeightGridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
GridSearch over the initial weights and then run weight learning like normal.
InitialWeightGridSearch(Model, WeightLearningApplication, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightGridSearch
 
InitialWeightGridSearch(List<Rule>, WeightLearningApplication, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightGridSearch
The WeightLearningApplication should not have had initGroundModel() called yet.
InitialWeightHyperband - Class in org.linqs.psl.application.learning.weight.search
Hyperband, but the weights chosen are used as initial weights for further weight learning.
InitialWeightHyperband(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
InitialWeightHyperband(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
InitialWeightRandomGridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
Like InitialWeightGridSearch, but use random grid search instead of exhaustive.
InitialWeightRandomGridSearch(Model, WeightLearningApplication, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRandomGridSearch
 
InitialWeightRandomGridSearch(List<Rule>, WeightLearningApplication, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRandomGridSearch
 
InitialWeightRankSearch - Class in org.linqs.psl.application.learning.weight.search.grid
RankSearch over the initial weights and then run weight learning like normal.
InitialWeightRankSearch(Model, WeightLearningApplication, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRankSearch
 
InitialWeightRankSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRankSearch
 
InitialWeightRankSearch(List<Rule>, WeightLearningApplication, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRankSearch
The WeightLearningApplication should not have had initGroundModel() called yet.
initLatentGroundModel() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
The same as initGroundModel, but for latent variables.
inLatentMPEState - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
inMPEState - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Flags to track if the current variable configuration is an MPE state.
insert(Object...) - Method in class org.linqs.psl.database.loading.Inserter
Insert a single object using the default truth value.
insertAll(List<List<Object>>) - Method in class org.linqs.psl.database.loading.Inserter
Insert several objects using the default truth value.
insertAll(List<List<Object>>) - Method in class org.linqs.psl.database.rdbms.RDBMSInserter
 
insertAllValues(List<Double>, List<List<Object>>) - Method in class org.linqs.psl.database.loading.Inserter
Insert several objects using the specified truth values.
insertAllValues(List<Double>, List<List<Object>>) - Method in class org.linqs.psl.database.rdbms.RDBMSInserter
 
Inserter - Class in org.linqs.psl.database.loading
 
Inserter(int) - Constructor for class org.linqs.psl.database.loading.Inserter
 
insertValue(double, Object...) - Method in class org.linqs.psl.database.loading.Inserter
Insert a single object using the specified truth value.
inspectLocation(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
Inspect the location defined by the given weights and give back its score (lower is better).
inspectLocation(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightGridSearch
 
inspectLocation(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRandomGridSearch
 
inspectLocation(double[]) - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRankSearch
 
instantiateNegatedGroundRule(Formula, List<GroundAtom>, List<GroundAtom>, String) - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
instantiateNegatedGroundRule(Formula, List<GroundAtom>, List<GroundAtom>, String) - Method in class org.linqs.psl.model.rule.logical.UnweightedGroundLogicalRule
 
instantiateNegatedGroundRule(Formula, List<GroundAtom>, List<GroundAtom>, String) - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
instantiateObservedAtom(Predicate, Constant[], float) - Method in class org.linqs.psl.database.atom.AtomCache
Instantiates an ObservedAtom and stores it in this AtomCache.
instantiateRandomVariableAtom(StandardPredicate, Constant[], float) - Method in class org.linqs.psl.database.atom.AtomCache
Instantiates a RandomVariableAtom and stores it in this AtomCache.
IntegerAttribute - Class in org.linqs.psl.model.term
An Attribute that encapsulates an Integer.
IntegerAttribute(Integer) - Constructor for class org.linqs.psl.model.term.IntegerAttribute
Constructs an Integer attribute from an Integer
INTERNAL_STORE_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
INTERNAL_STORE_KEY - Static variable in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
Initial size for the memory store.
INTERNAL_WLA_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
INTERNAL_WLA_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
The internal weight learning application (WLA) to use.
internalInference() - Method in class org.linqs.psl.application.inference.InferenceApplication
The implementation of the full inference by each class.
internalInference() - Method in class org.linqs.psl.application.inference.LazyMPEInference
 
inverse() - Method in class org.linqs.psl.util.FloatMatrix
Compute the inversion of this matrix.
INVERT_NEGATIVE_WEIGHTS_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
 
INVERT_NEGATIVE_WEIGHTS_KEY - Static variable in class org.linqs.psl.reasoner.term.HyperplaneTermGenerator
If true, then invert negative weight rules into their positive weight counterparts (negate the weight and expression).
isBlock() - Method in class org.linqs.psl.model.predicate.StandardPredicate
 
isClosed(StandardPredicate) - Method in class org.linqs.psl.database.atom.AtomManager
Calls ReadableDatabase.isClosed(StandardPredicate) on the encapsulated Database.
isClosed(StandardPredicate) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
isClosed(StandardPredicate) - Method in interface org.linqs.psl.database.ReadableDatabase
Returns whether a StandardPredicate is closed in this Database.
isConstant() - Method in class org.linqs.psl.model.atom.ObservedAtom
 
isConstant() - Method in class org.linqs.psl.model.atom.RandomVariableAtom
 
isConstant() - Method in interface org.linqs.psl.reasoner.function.FunctionTerm
Returns whether the term is constant.
isConstant() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
isGround() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
isHigherRepresentativeBetter() - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
isHigherRepresentativeBetter() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
isHigherRepresentativeBetter() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
isHigherRepresentativeBetter() - Method in class org.linqs.psl.evaluation.statistics.Evaluator
 
isHigherRepresentativeBetter() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
isInstance(Constant) - Method in enum org.linqs.psl.model.term.ConstantType
Returns whether a GroundTerm is of the type identified by this ArgumentType
isLinear() - Method in class org.linqs.psl.model.atom.GroundAtom
 
isLinear() - Method in interface org.linqs.psl.reasoner.function.FunctionTerm
Returns whether the term is linear.
isLinear() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
isLoaded() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
isLoaded() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
isLoaded() - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
Is the term store loaded, and can it give an accurate term and variable count.
isNonNegative() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
isQueriable() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
isSquared() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
isSquared() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
isSquared() - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
isSquared() - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
isSquared() - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
 
isSquared() - Method in interface org.linqs.psl.model.rule.WeightedRule
 
isSquared() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
isValid() - Method in class org.linqs.psl.database.rdbms.SelectivityHistogram
A histogram is not valid until either addHistogramBounds() or addHistogramExact() is called.
isWeighted() - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
isWeighted() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
isWeighted() - Method in class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
 
isWeighted() - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
isWeighted() - Method in interface org.linqs.psl.model.rule.Rule
 
isZero(double) - Static method in class org.linqs.psl.util.MathUtils
 
isZero(double, double) - Static method in class org.linqs.psl.util.MathUtils
 
isZero(float) - Static method in class org.linqs.psl.util.MathUtils
 
isZero(float, float) - Static method in class org.linqs.psl.util.MathUtils
 
ITER_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
ITER_KEY - Static variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
Key for positive int property for the number of iterations of expectation maximization to perform
iterations - Variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
iterations - Variable in class org.linqs.psl.util.Parallel.RunTimings
 
iterator() - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
iterator() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
iterator() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
iterator() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
iterator() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
iterator() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
IteratorUtils - Class in org.linqs.psl.util
Various static iterator/iterable utilities.
IteratorUtils.FilterFunction<T> - Interface in org.linqs.psl.util
 
IteratorUtils.MapFunction<T,S> - Interface in org.linqs.psl.util
 

J

join(SelectivityHistogram<T>) - Method in class org.linqs.psl.database.rdbms.SelectivityHistogram
Get a new histogram that represents the join of this histogram with another.
join(Iterable<? extends T>...) - Static method in class org.linqs.psl.util.IteratorUtils
Get an iterator that iterates over all the given iterables in whatever iteration order each provides.
join(char, List<? extends Object>) - Static method in class org.linqs.psl.util.ListUtils
 
join(String, List<? extends Object>) - Static method in class org.linqs.psl.util.ListUtils
 
join(char, Object...) - Static method in class org.linqs.psl.util.StringUtils
 
join(String, Object...) - Static method in class org.linqs.psl.util.StringUtils
 
join(char, int...) - Static method in class org.linqs.psl.util.StringUtils
 
join(String, int...) - Static method in class org.linqs.psl.util.StringUtils
 
join(char, long...) - Static method in class org.linqs.psl.util.StringUtils
 
join(String, long...) - Static method in class org.linqs.psl.util.StringUtils
 
join(char, float...) - Static method in class org.linqs.psl.util.StringUtils
 
join(String, float...) - Static method in class org.linqs.psl.util.StringUtils
 
join(char, double...) - Static method in class org.linqs.psl.util.StringUtils
 
join(String, double...) - Static method in class org.linqs.psl.util.StringUtils
 

K

keep(T) - Method in interface org.linqs.psl.util.IteratorUtils.FilterFunction
 
kernel(FloatMatrix, FloatMatrix) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
The actual kernel computation.
kernel(float[], float[], float[], float[], FloatMatrix, FloatMatrix) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
Compute the kernel, but use buffers provided by the caller.
kernel(float[], float[]) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
Compute the kernels, but allocate new buffer for the computation.
kernel(FloatMatrix, FloatMatrix) - Method in class org.linqs.psl.application.learning.weight.bayesian.SquaredExpKernel
 
KERNEL_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
KERNEL_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
KEY_STATS_PERCENTAGE - Static variable in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 

L

L1_REGULARIZATION_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
L1_REGULARIZATION_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Key for positive double property scaling the L1 regularization \gamma * |w|
l1Regularization - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
L2_REGULARIZATION_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
L2_REGULARIZATION_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Key for positive double property scaling the L2 regularization (\lambda / 2) * ||w||^2
l2Regularization - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
lapack_sgesv(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Call sgesv from LAPACK.
lapack_spotrf(boolean) - Method in class org.linqs.psl.util.FloatMatrix
Call spotrf from LAPACK.
latentGroundRuleStore - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
latentTermStore - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
LAZY_PARTITION_ID - Static variable in class org.linqs.psl.database.Partition
When grounding with lazy atoms, we will initially set their partition value to this so that we can tell them apart.
LazyAtomManager - Class in org.linqs.psl.database.atom
A persisted atom manager that will keep track of atoms that it returns, but that don't actually exist (lazy atoms).
LazyAtomManager(Database) - Constructor for class org.linqs.psl.database.atom.LazyAtomManager
 
LazyMaxLikelihoodMPE - Class in org.linqs.psl.application.learning.weight.maxlikelihood
Voted perception algorithm that does not require a ground model of pre-specified dimensionality.
LazyMaxLikelihoodMPE(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
 
LazyMaxLikelihoodMPE(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
 
LazyMPEInference - Class in org.linqs.psl.application.inference
Performs MPE inference (see MPEInference), but does not require all ground atoms to be specified ahead of time.
LazyMPEInference(Model, Database) - Constructor for class org.linqs.psl.application.inference.LazyMPEInference
 
learn() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Learns new weights.
LEARNING_RATE_DEFAULT - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
LEARNING_RATE_KEY - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
length() - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
LinearConstraintTerm - Class in org.linqs.psl.reasoner.admm.term
ADMMReasoner objective term of the form: (0 if coefficients^T * x OP constant) or (infinity otherwise).
LinearConstraintTerm(GroundRule, Hyperplane<LocalVariable>, FunctionComparator) - Constructor for class org.linqs.psl.reasoner.admm.term.LinearConstraintTerm
 
LinearLossTerm - Class in org.linqs.psl.reasoner.admm.term
ADMMReasoner objective term of the form
weight * coefficients^T * x
ListUtils - Class in org.linqs.psl.util
Various static List utilities.
loadDelimitedData(String) - Method in class org.linqs.psl.database.loading.Inserter
Load data without a truth value from a file.
loadDelimitedData(String, String) - Method in class org.linqs.psl.database.loading.Inserter
 
loadDelimitedDataAutomatic(String) - Method in class org.linqs.psl.database.loading.Inserter
Peek at the first line and then choose loadDelimitedData() or loadDelimitedDataTruth().
loadDelimitedDataAutomatic(String, String) - Method in class org.linqs.psl.database.loading.Inserter
 
loadDelimitedDataTruth(String) - Method in class org.linqs.psl.database.loading.Inserter
Load data with a truth value from a file.
loadDelimitedDataTruth(String, String) - Method in class org.linqs.psl.database.loading.Inserter
 
loadResource(InputStream, String) - Static method in class org.linqs.psl.config.Config
 
loadResource(String) - Static method in class org.linqs.psl.config.Config
 
LocalVariable - Class in org.linqs.psl.reasoner.admm.term
The local context of a variable.
LocalVariable(int, float) - Constructor for class org.linqs.psl.reasoner.admm.term.LocalVariable
In the context of ADMM, local variables should be initialized with the initial value of the global variable they are tracking.
logDiskRead(long) - Static method in class org.linqs.psl.util.RuntimeStats
Tell the RuntimeStats about an io operation.
logDiskWrite(long) - Static method in class org.linqs.psl.util.RuntimeStats
Tell the RuntimeStats about an io operation.
LongAttribute - Class in org.linqs.psl.model.term
An Attribute that encapsulates a Double.
LongAttribute(Long) - Constructor for class org.linqs.psl.model.term.LongAttribute
Constructs a Double attribute from a Double
looksLikeNegativePrior() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 

M

mae() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
main(String[]) - Static method in class org.linqs.psl.application.learning.weight.maxlikelihood.SimplexSampler
 
makeGroundRule(float[], GroundAtom[], FunctionComparator, float) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
makeGroundRule(List<Float>, List<GroundAtom>, FunctionComparator, float) - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
makeGroundRule(float[], GroundAtom[], FunctionComparator, float) - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
makeGroundRule(List<Float>, List<GroundAtom>, FunctionComparator, float) - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
makeGroundRule(float[], GroundAtom[], FunctionComparator, float) - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
makeGroundRule(List<Float>, List<GroundAtom>, FunctionComparator, float) - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
makeKernel(GaussianProcessKernel.KernelType, GaussianProcessPrior) - Static method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
map(Iterable<T>, IteratorUtils.MapFunction<T, S>) - Static method in class org.linqs.psl.util.IteratorUtils
Given an Iterable, return a new Iterable that invokes the function once on each item.
map(T) - Method in interface org.linqs.psl.util.IteratorUtils.MapFunction
 
MathUtils - Class in org.linqs.psl.util
Various static math utilities.
Max - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
Max(Coefficient, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Max
 
MAX_CONFIGS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
MAX_CONFIGS_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
MAX_FLIPS_DEFAULT - Static variable in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
Default value for MAX_FLIPS_KEY
MAX_FLIPS_KEY - Static variable in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
Key for positive integer property that is the maximum number of flips to try during optimization
MAX_ITER_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
MAX_ITER_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
MAX_ITER_DEFAULT - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
MAX_ITER_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
The maximum number of iterations of ADMM to perform in a round of inference.
MAX_ITER_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
The maximum number of iterations of SGD to perform in a round of inference.
MAX_ITER_KEY - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
The maximum number of iterations of SGD to perform in a round of inference.
MAX_ITERATIONS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
MAX_ITERATIONS_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
MAX_LOCATIONS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
MAX_LOCATIONS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
 
MAX_LOCATIONS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
The max number of locations to search.
MAX_LOCATIONS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
The max number of locations to search.
MAX_RAND_INT_VAL - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
MAX_RANDOM_WEIGHT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
MAX_ROUNDS_DEFAULT - Static variable in class org.linqs.psl.application.inference.LazyMPEInference
 
MAX_ROUNDS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
 
MAX_ROUNDS_KEY - Static variable in class org.linqs.psl.application.inference.LazyMPEInference
Key for int property for the maximum number of rounds of inference.
MAX_ROUNDS_KEY - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.LazyMaxLikelihoodMPE
Key for int property for the maximum number of rounds of lazy growing.
MAX_TABLE_NAME_LENGTH - Static variable in class org.linqs.psl.database.rdbms.PredicateInfo
 
MaxLikelihoodMPE - Class in org.linqs.psl.application.learning.weight.maxlikelihood
Learns weights by optimizing the log likelihood of the data using the voted perceptron algorithm.
MaxLikelihoodMPE(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.MaxLikelihoodMPE
 
MaxLikelihoodMPE(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.MaxLikelihoodMPE
 
maxNumLocations - Variable in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
The number of actual possible locations.
maxNumSteps - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
MaxPiecewisePseudoLikelihood - Class in org.linqs.psl.application.learning.weight.maxlikelihood
Learns weights by optimizing the piecewise-pseudo-log-likelihood of the data using the voted perceptron algorithm.
MaxPiecewisePseudoLikelihood(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
MaxPiecewisePseudoLikelihood(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
MaxPseudoLikelihood - Class in org.linqs.psl.application.learning.weight.maxlikelihood
Learns weights by optimizing the pseudo-log-likelihood of the data using the voted perceptron algorithm.
MaxPseudoLikelihood(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
 
MaxPseudoLikelihood(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
 
maxRounds - Variable in class org.linqs.psl.application.inference.LazyMPEInference
 
md5(String) - Static method in class org.linqs.psl.util.Hash
 
md5(byte[]) - Static method in class org.linqs.psl.util.Hash
 
MEAN - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
MemoryGroundRuleStore - Class in org.linqs.psl.grounding
A simple GroundRuleStore that just stores each GroundRule in memory.
MemoryGroundRuleStore() - Constructor for class org.linqs.psl.grounding.MemoryGroundRuleStore
 
MemoryTermStore<T extends ReasonerTerm> - Class in org.linqs.psl.reasoner.term
 
MemoryTermStore() - Constructor for class org.linqs.psl.reasoner.term.MemoryTermStore
 
MemoryTermStore(int) - Constructor for class org.linqs.psl.reasoner.term.MemoryTermStore
 
MemoryVariableTermStore<T extends ReasonerTerm,V extends ReasonerLocalVariable> - Class in org.linqs.psl.reasoner.term
A general TermStore that handles terms and variables all in memory.
MemoryVariableTermStore() - Constructor for class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
METADATA_TABLENAME - Static variable in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
Min - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
Min(Coefficient, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Min
 
MIN_ADMM_STEPS - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
MIN_BRACKET_SIZE - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
MIN_BUDGET_PROPORTION - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
MIN_SCALING_FACTOR - Static variable in class org.linqs.psl.application.learning.weight.em.HardEM
 
MIN_WIDTH_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
 
MIN_WIDTH_KEY - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
Key for positive double property.
minimize(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
Updates x to the solution of
argmin f(x) + stepSize / 2 * \|x - z + y / stepSize \|_2^2
for the objective term f(x)
minimize(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.HingeLossTerm
 
minimize(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.LinearConstraintTerm
 
minimize(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.LinearLossTerm
 
minimize(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.SquaredHingeLossTerm
 
minimize(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.SquaredLinearLossTerm
 
minimize(boolean, float[]) - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
 
minimize(int, float[]) - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
 
minWeightedSquaredHyperplane(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.SquaredHyperplaneTerm
Minimizes the weighted, squared hyperplane
argmin weight * (coefficients^T * x - constant)^2 + stepSize/2 * \|x - z + y / stepSize \|_2^2
model - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
Model - Class in org.linqs.psl.model
A probabilistic soft logic model.
Model() - Constructor for class org.linqs.psl.model.Model
 
ModelApplication - Interface in org.linqs.psl.application
 
moveToWritePartition(StandardPredicate, int) - Method in class org.linqs.psl.database.rdbms.RDBMSDatabase
 
moveToWritePartition(StandardPredicate, int) - Method in interface org.linqs.psl.database.WritableDatabase
Move all ground atoms of a predicate/partition combination into the write partition.
MPEInference - Class in org.linqs.psl.application.inference
Infers the most-probable explanation (MPE) state of the RandomVariableAtoms persisted in a Database, according to a Model, given the Database's ObservedAtoms.
MPEInference(Model, Database) - Constructor for class org.linqs.psl.application.inference.MPEInference
 
mse() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
 
mStep() - Method in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
The Maximization step in the EM algorithm.
mul(float) - Method in class org.linqs.psl.util.FloatMatrix
Scalar multiplication (not in-place).
mul(float, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Scalar multiplication.
mul(FloatMatrix) - Method in class org.linqs.psl.util.FloatMatrix
Matrix multiplication without transposition or scaling.
mul(FloatMatrix, boolean, boolean, float) - Method in class org.linqs.psl.util.FloatMatrix
Matrix multiplication.
mul(FloatMatrix, FloatMatrix, boolean, boolean, float, float) - Method in class org.linqs.psl.util.FloatMatrix
Matrix multiplication.
Multiply - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
Multiply(Coefficient, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Multiply
 
mutableRules - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 

N

name - Variable in class org.linqs.psl.model.rule.AbstractRule
 
NAME_KEY - Static variable in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
negate() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
negate() - Method in interface org.linqs.psl.model.rule.GroundRule
Negate this ground rule and get the corresponding ground rule(s).
negate() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
Negating logical rules (a disjunction) will generate multiple other rules.
negate() - Method in class org.linqs.psl.model.rule.misc.GroundLinearConstraint
 
negate() - Method in class org.linqs.psl.model.rule.misc.GroundValueConstraint
 
negatedDNF - Variable in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
Negation - Class in org.linqs.psl.model.formula
This class implements fuzzy negation.
Negation(Formula) - Constructor for class org.linqs.psl.model.formula.Negation
 
negativeAUPRC() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
Returns area under the precision recall curve for the negative class.
negativePrecision() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
negativeRecall() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
negLiterals - Variable in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
newIterable(Iterator<T>) - Static method in class org.linqs.psl.util.IteratorUtils
Make an Iterable from and Interator.
newObject(String) - Static method in class org.linqs.psl.util.Reflection
 
newObject(Class<?>) - Static method in class org.linqs.psl.util.Reflection
 
next() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
next() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
nextBoolean() - Static method in class org.linqs.psl.util.RandUtils
 
nextCachedTermIndex - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
nextDouble() - Static method in class org.linqs.psl.util.RandUtils
 
nextFloat() - Static method in class org.linqs.psl.util.RandUtils
 
nextFloat(float, float) - Static method in class org.linqs.psl.util.RandUtils
 
nextGaussian() - Static method in class org.linqs.psl.util.RandUtils
 
nextInt() - Static method in class org.linqs.psl.util.RandUtils
Get an int in the range of a signed int.
nextInt(int) - Static method in class org.linqs.psl.util.RandUtils
Get an int in the range [0, max).
nextLong() - Static method in class org.linqs.psl.util.RandUtils
 
nextTerm - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
nextTerm - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
NOISE_DEFAULT - Static variable in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
Default value for NOISE_KEY
NOISE_KEY - Static variable in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
Key for double property in [0,1] that is the probability of randomly perturbing an atom in a randomly chosen potential
NonSymmetric - Static variable in class org.linqs.psl.model.predicate.GroundingOnlyPredicate
True if the first argument is less than the second.
norm1() - Method in class org.linqs.psl.util.FloatMatrix
Get the 1-norm (sum of absolute values).
norm2() - Method in class org.linqs.psl.util.FloatMatrix
Get the 2-norm (Euclidean norm) (square root of sum of squared values).
NotEqual - Static variable in class org.linqs.psl.model.predicate.GroundingOnlyPredicate
True if arguments are not equal.
noWriteIterator() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
noWriteIterator() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
noWriteIterator() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
noWriteIterator() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
noWriteIterator() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Get an iterator that goes over all the terms for only reading.
noWriteIterator() - Method in interface org.linqs.psl.reasoner.term.TermStore
Get an iterator over the terms in the store that does not write to disk.
NUM_BRACKETS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
NUM_BRACKETS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
The number of brackets to consider.
NUM_BURN_IN_DEFAULT - Static variable in class org.linqs.psl.reasoner.bool.BooleanMCSat
Default value for NUM_BURN_IN_KEY
NUM_BURN_IN_KEY - Static variable in class org.linqs.psl.reasoner.bool.BooleanMCSat
Number of burn-in samples
NUM_SAMPLES_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
NUM_SAMPLES_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
 
NUM_SAMPLES_DEFAULT - Static variable in class org.linqs.psl.reasoner.bool.BooleanMCSat
Default value for NUM_SAMPLES_KEY
NUM_SAMPLES_KEY - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
Key for positive integer property.
NUM_SAMPLES_KEY - Static variable in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
Key for positive integer property.
NUM_SAMPLES_KEY - Static variable in class org.linqs.psl.reasoner.bool.BooleanMCSat
Key for length of Markov chain
NUM_STEPS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
NUM_STEPS_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Key for positive integer property.
NUM_THREADS_DEFAULT - Static variable in class org.linqs.psl.util.Parallel
 
NUM_THREADS_KEY - Static variable in class org.linqs.psl.util.Parallel
 
numCols() - Method in class org.linqs.psl.util.FloatMatrix
 
numLocations - Variable in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
The number of locations we will search.
numPages - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
numPages - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
numPages - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
numRows() - Method in class org.linqs.psl.util.FloatMatrix
 
numSteps - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 

O

OBJ_TOL_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
OBJ_TOL_DEFAULT - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
OBJ_TOL_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
The maximum number of iterations of SGD to perform in a round of inference.
OBJ_TOL_KEY - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
The maximum number of iterations of SGD to perform in a round of inference.
OBJECTIVE_BREAK_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
OBJECTIVE_BREAK_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
OBJECTIVE_BREAK_DEFAULT - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
OBJECTIVE_BREAK_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
Stop if the objective has not changed since the last logging period (see LOG_PERIOD_KEY).
OBJECTIVE_BREAK_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
Stop if the objective has not changed since the last logging period (see LOG_PERIOD).
OBJECTIVE_BREAK_KEY - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
Stop if the objective has not changed since the last logging period (see LOG_PERIOD).
objectives - Variable in class org.linqs.psl.application.learning.weight.search.grid.BaseGridSearch
The objectives at each location.
ObservedAtom - Class in org.linqs.psl.model.atom
A GroundAtom with a fixed truth value.
ObservedAtom(Predicate, Constant[], float) - Constructor for class org.linqs.psl.model.atom.ObservedAtom
Instantiation of GrondAtoms should typically be left to the Database so it can maintain a cache.
observedDB - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
observedIncompatibility - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Corresponds 1-1 with mutableRules.
ones(int, int) - Static method in class org.linqs.psl.util.FloatMatrix
Make a ones matrix.
optimize(TermStore) - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
optimize(TermStore, ADMMReasoner.InitialValue, ADMMReasoner.InitialValue) - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
optimize(TermStore) - Method in class org.linqs.psl.reasoner.bool.BooleanMaxWalkSat
 
optimize(TermStore) - Method in class org.linqs.psl.reasoner.bool.BooleanMCSat
 
optimize(TermStore) - Method in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
optimize(TermStore) - Method in class org.linqs.psl.reasoner.ExecutableReasoner
 
optimize(TermStore) - Method in interface org.linqs.psl.reasoner.Reasoner
Minimizes the total weighted incompatibility of the terms in the provided TermStore.
optimize(TermStore) - Method in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
org.linqs.psl.application - package org.linqs.psl.application
 
org.linqs.psl.application.inference - package org.linqs.psl.application.inference
 
org.linqs.psl.application.learning.weight - package org.linqs.psl.application.learning.weight
 
org.linqs.psl.application.learning.weight.bayesian - package org.linqs.psl.application.learning.weight.bayesian
 
org.linqs.psl.application.learning.weight.em - package org.linqs.psl.application.learning.weight.em
 
org.linqs.psl.application.learning.weight.maxlikelihood - package org.linqs.psl.application.learning.weight.maxlikelihood
 
org.linqs.psl.application.learning.weight.search - package org.linqs.psl.application.learning.weight.search
 
org.linqs.psl.application.learning.weight.search.grid - package org.linqs.psl.application.learning.weight.search.grid
 
org.linqs.psl.config - package org.linqs.psl.config
 
org.linqs.psl.database - package org.linqs.psl.database
 
org.linqs.psl.database.atom - package org.linqs.psl.database.atom
 
org.linqs.psl.database.loading - package org.linqs.psl.database.loading
 
org.linqs.psl.database.rdbms - package org.linqs.psl.database.rdbms
 
org.linqs.psl.database.rdbms.driver - package org.linqs.psl.database.rdbms.driver
 
org.linqs.psl.evaluation.statistics - package org.linqs.psl.evaluation.statistics
 
org.linqs.psl.grounding - package org.linqs.psl.grounding
 
org.linqs.psl.model - package org.linqs.psl.model
 
org.linqs.psl.model.atom - package org.linqs.psl.model.atom
 
org.linqs.psl.model.formula - package org.linqs.psl.model.formula
 
org.linqs.psl.model.function - package org.linqs.psl.model.function
 
org.linqs.psl.model.predicate - package org.linqs.psl.model.predicate
 
org.linqs.psl.model.rule - package org.linqs.psl.model.rule
 
org.linqs.psl.model.rule.arithmetic - package org.linqs.psl.model.rule.arithmetic
 
org.linqs.psl.model.rule.arithmetic.expression - package org.linqs.psl.model.rule.arithmetic.expression
 
org.linqs.psl.model.rule.arithmetic.expression.coefficient - package org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
org.linqs.psl.model.rule.logical - package org.linqs.psl.model.rule.logical
 
org.linqs.psl.model.rule.misc - package org.linqs.psl.model.rule.misc
 
org.linqs.psl.model.term - package org.linqs.psl.model.term
 
org.linqs.psl.reasoner - package org.linqs.psl.reasoner
 
org.linqs.psl.reasoner.admm - package org.linqs.psl.reasoner.admm
 
org.linqs.psl.reasoner.admm.term - package org.linqs.psl.reasoner.admm.term
 
org.linqs.psl.reasoner.bool - package org.linqs.psl.reasoner.bool
 
org.linqs.psl.reasoner.dcd - package org.linqs.psl.reasoner.dcd
 
org.linqs.psl.reasoner.dcd.term - package org.linqs.psl.reasoner.dcd.term
 
org.linqs.psl.reasoner.function - package org.linqs.psl.reasoner.function
 
org.linqs.psl.reasoner.sgd - package org.linqs.psl.reasoner.sgd
 
org.linqs.psl.reasoner.sgd.term - package org.linqs.psl.reasoner.sgd.term
 
org.linqs.psl.reasoner.term - package org.linqs.psl.reasoner.term
 
org.linqs.psl.reasoner.term.blocker - package org.linqs.psl.reasoner.term.blocker
 
org.linqs.psl.reasoner.term.streaming - package org.linqs.psl.reasoner.term.streaming
 
org.linqs.psl.util - package org.linqs.psl.util
 
outputStats() - Static method in class org.linqs.psl.util.RuntimeStats
Ouput collected stats.
OVERALLOCATION_RATIO - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 

P

PAGE_LOCATION_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
PAGE_LOCATION_KEY - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Where on disk to write term pages.
PAGE_SIZE_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
PAGE_SIZE_KEY - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
The number of terms in a single page.
pageAccessOrder - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
pageDir - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
pageSize - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
pageSize - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
PairedDualLearner - Class in org.linqs.psl.application.learning.weight.em
Learns the parameters of a HL-MRF with latent variables, using a maximum-likelihood technique that interleaves updates of the parameters and inference steps for fast training.
PairedDualLearner(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
PairedDualLearner(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
pairedShuffle(List...) - Static method in class org.linqs.psl.util.RandUtils
Shuffle multiple lists, but keep the elements that share indexes together.
pairedShuffleIndexes(List<T>, int[]) - Static method in class org.linqs.psl.util.RandUtils
A version of pairedShuffle() optimized for very specific list types.
Parallel - Class in org.linqs.psl.util
Utilities to run operations in parallel.
Parallel.RunTimings - Class in org.linqs.psl.util
 
Parallel.Worker<T> - Class in org.linqs.psl.util
Extend this class for any work.
parentDataStore - Variable in class org.linqs.psl.database.Database
The backing data store that created this database.
parentStore - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
parentStore - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
parentWaitTimeMS - Variable in class org.linqs.psl.util.Parallel.RunTimings
 
Partition - Class in org.linqs.psl.database
 
Partition(int, String) - Constructor for class org.linqs.psl.database.Partition
Sole constructor.
PARTITION_COLUMN_NAME - Static variable in class org.linqs.psl.database.rdbms.PredicateInfo
 
PARTITION_NAMESPACE - Static variable in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
pendingGroundRules - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
permutations(int) - Static method in class org.linqs.psl.util.IteratorUtils
Get an iterator that gives all the permutations of the numbers 0 - size.
PersistedAccessException(RandomVariableAtom) - Constructor for exception org.linqs.psl.database.atom.PersistedAtomManager.PersistedAccessException
 
PersistedAtomManager - Class in org.linqs.psl.database.atom
Implements the AtomManager with a twist: this AtomManager will only return RandomVariableAtoms that were persisted in the Database at instantiation.
PersistedAtomManager(Database) - Constructor for class org.linqs.psl.database.atom.PersistedAtomManager
 
PersistedAtomManager(Database, boolean) - Constructor for class org.linqs.psl.database.atom.PersistedAtomManager
Constructs a PersistedAtomManager with a built-in set of all the database's persisted RandomVariableAtoms.
PersistedAtomManager.PersistedAccessException - Exception in org.linqs.psl.database.atom
 
point - Variable in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
 
positiveAUPRC() - Method in class org.linqs.psl.evaluation.statistics.RankingEvaluator
Returns area under the precision recall curve.
positivePrecision() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
positiveRecall() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
 
posLiterals - Variable in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
POSSIBLE_WEIGHTS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
 
POSSIBLE_WEIGHTS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
A comma-separated list of possible weights.
possibleWeights - Variable in class org.linqs.psl.application.learning.weight.search.grid.GridSearch
 
PostgreSQLDriver - Class in org.linqs.psl.database.rdbms.driver
PostgreSQL Connection Wrapper.
PostgreSQLDriver(String, boolean) - Constructor for class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
PostgreSQLDriver(String, String, String, boolean) - Constructor for class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
PostgreSQLDriver(String, String, boolean) - Constructor for class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightGridSearch
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRandomGridSearch
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.search.grid.InitialWeightRankSearch
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
postInitGroundModel() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
A convenient place for children to do additional ground model initialization.
powerset(int) - Static method in class org.linqs.psl.util.IteratorUtils
Get an iterator that will go through the powerset of the specified size.
predicate() - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
predicate - Variable in class org.linqs.psl.model.atom.Atom
 
Predicate - Class in org.linqs.psl.model.predicate
A relation that can be applied to Terms to form Atoms.
Predicate(String, ConstantType[]) - Constructor for class org.linqs.psl.model.predicate.Predicate
 
Predicate(String, ConstantType[], boolean) - Constructor for class org.linqs.psl.model.predicate.Predicate
 
predicate - Variable in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
PREDICATE_TABLE_SUFFIX - Static variable in class org.linqs.psl.database.rdbms.PredicateInfo
 
PredicateInfo - Class in org.linqs.psl.database.rdbms
 
PredicateInfo(Predicate) - Constructor for class org.linqs.psl.database.rdbms.PredicateInfo
 
predictFnValAndStd(float[], List<GaussianProcessPrior.WeightConfig>) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
predictFnValAndStd, but no memory sharing.
predictFnValAndStd(float[], List<GaussianProcessPrior.WeightConfig>, float[], float[], float[], FloatMatrix, FloatMatrix, FloatMatrix, FloatMatrix) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
Do the prediction.
PRINT_INITIAL_OBJECTIVE_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
PRINT_INITIAL_OBJECTIVE_DEFAULT - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
PRINT_INITIAL_OBJECTIVE_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
Print the objective before any optimization.
PRINT_INITIAL_OBJECTIVE_KEY - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
Print the objective before any optimization.
PRINT_OBJECTIVE - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
PRINT_OBJECTIVE_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
PRINT_OBJECTIVE_DEFAULT - Static variable in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
PRINT_OBJECTIVE_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
project(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
Finds the orthogonal projection onto the hyperplane
argmin stepSize/2 * \|x - z + y / stepSize \|_2^2
such that coefficients^T * x = constant.
PROJECT_PROPS - Static variable in class org.linqs.psl.config.Config
 
PSL_CONFIG - Static variable in class org.linqs.psl.config.Config
 
PSL_CONFIG_DEFAULT - Static variable in class org.linqs.psl.config.Config
 
putThreadObject(String, Object) - Static method in class org.linqs.psl.util.Parallel
 

Q

QueryAtom - Class in org.linqs.psl.model.atom
An Atom that can be used in a query, but does not have a truth value.
QueryAtom(Predicate, Term...) - Constructor for class org.linqs.psl.model.atom.QueryAtom
 
queryIterable - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
QueryResultIterable - Interface in org.linqs.psl.database
 
queryResults - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
QueryRewriter - Class in org.linqs.psl.database.rdbms
Try to rewrite a grounding query to make it more efficient.
QueryRewriter() - Constructor for class org.linqs.psl.database.rdbms.QueryRewriter
 
QueryRewriter.CostEstimator - Enum in org.linqs.psl.database.rdbms
The different methods for estimating the join cost.

R

RANDOM_CONFIGS_ONLY_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
RANDOM_CONFIGS_ONLY_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
RANDOM_WEIGHTS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
RANDOM_WEIGHTS_KEY - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Randomize weights before running.
randomConfiguration() - Method in class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
 
RandomGridSearch - Class in org.linqs.psl.application.learning.weight.search.grid
A random grid search that searches a finite number of locations.
RandomGridSearch(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
 
RandomGridSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
 
RANDOMIZE_PAGE_ACCESS_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
RANDOMIZE_PAGE_ACCESS_KEY - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Whether to pick up pages in a random order.
randomizePageAccess - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
randomlyInitialize() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTerm
Randomly initializes the RandomVariableAtoms to a feasible state.
randomlyInitialize() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
Randomly initializes the RandomVariableAtoms to a feasible state.
RandomVariableAtom - Class in org.linqs.psl.model.atom
A GroundAtom with a truth value which can be modified.
RandomVariableAtom(StandardPredicate, Constant[], float) - Constructor for class org.linqs.psl.model.atom.RandomVariableAtom
Instantiation of GrondAtoms should typically be left to the Database so it can maintain a cache.
RandUtils - Class in org.linqs.psl.util
The canonical source of randomness for all PSL core code.
RankingEvaluator - Class in org.linqs.psl.evaluation.statistics
Compute various ranking statistics.
RankingEvaluator() - Constructor for class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
RankingEvaluator(double) - Constructor for class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
RankingEvaluator(double, String) - Constructor for class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
RankingEvaluator(double, RankingEvaluator.RepresentativeMetric) - Constructor for class org.linqs.psl.evaluation.statistics.RankingEvaluator
 
RankingEvaluator.RepresentativeMetric - Enum in org.linqs.psl.evaluation.statistics
 
RankSearch - Class in org.linqs.psl.application.learning.weight.search.grid
A grid seach-like method that searchs over the possible rankings of rules.
RankSearch(Model, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.RankSearch
 
RankSearch(List<Rule>, Database, Database) - Constructor for class org.linqs.psl.application.learning.weight.search.grid.RankSearch
 
RawQuery - Class in org.linqs.psl.database.rdbms
A container for the information necessary to perform a raw SQL query.
RawQuery(RDBMSDatabase, Formula) - Constructor for class org.linqs.psl.database.rdbms.RawQuery
 
RawQuery(RDBMSDatabase, Formula, boolean) - Constructor for class org.linqs.psl.database.rdbms.RawQuery
 
RawQuery(RDBMSDatabase, DatabaseQuery) - Constructor for class org.linqs.psl.database.rdbms.RawQuery
 
RawQuery(String, Map<Variable, Integer>, VariableTypeMap) - Constructor for class org.linqs.psl.database.rdbms.RawQuery
 
rawToString() - Method in class org.linqs.psl.model.term.Constant
Get a string representation of the internal constant value.
rawToString() - Method in class org.linqs.psl.model.term.DoubleAttribute
 
rawToString() - Method in class org.linqs.psl.model.term.IntegerAttribute
 
rawToString() - Method in class org.linqs.psl.model.term.LongAttribute
 
rawToString() - Method in class org.linqs.psl.model.term.StringAttribute
 
rawToString() - Method in class org.linqs.psl.model.term.UniqueIntID
 
rawToString() - Method in class org.linqs.psl.model.term.UniqueStringID
 
RDBMSDatabase - Class in org.linqs.psl.database.rdbms
A view on the datastore with specific partitions activated.
RDBMSDatabase(RDBMSDataStore, Partition, Partition[], Set<StandardPredicate>) - Constructor for class org.linqs.psl.database.rdbms.RDBMSDatabase
 
RDBMSDataStore - Class in org.linqs.psl.database.rdbms
The RDMBSDataStore is an RDBMS implementation of the DataStore interface.
RDBMSDataStore(DatabaseDriver) - Constructor for class org.linqs.psl.database.rdbms.RDBMSDataStore
Returns an RDBMSDataStore that utilizes the connections returned by the DatabaseDriver.
RDBMSInserter - Class in org.linqs.psl.database.rdbms
An inserter that is aware of what predicate and partition it is inserting into.
RDBMSInserter(RDBMSDataStore, PredicateInfo, Partition) - Constructor for class org.linqs.psl.database.rdbms.RDBMSInserter
 
RDBMSResultList - Class in org.linqs.psl.database.rdbms
 
RDBMSResultList(int) - Constructor for class org.linqs.psl.database.rdbms.RDBMSResultList
 
read(ByteBuffer, ByteBuffer) - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
Assume the term that will be next read from the buffers.
read(ByteBuffer, ByteBuffer) - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
Assume the term that will be next read from the buffers.
ReadableDatabase - Interface in org.linqs.psl.database
A database for retrieving GroundAtoms.
readIDs - Variable in class org.linqs.psl.database.Database
 
readonly - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
readPage(String, String) - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingCacheIterator
 
readPage(String, String) - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingCacheIterator
 
readPage(String, String) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
Read a page and fill the termCache using freed terms from the termPool.
readPartitions - Variable in class org.linqs.psl.database.Database
The partition IDs that this database only reads from.
readResults(BufferedReader, TermStore) - Method in class org.linqs.psl.reasoner.ExecutableReasoner
 
reasoner - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
reasoner - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
Reasoner - Interface in org.linqs.psl.reasoner
An oprimizer to minimize the total weighted incompatibility of the terms provided by a TermStore.
REASONER_DEFAULT - Static variable in class org.linqs.psl.application.inference.InferenceApplication
 
REASONER_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
REASONER_KEY - Static variable in class org.linqs.psl.application.inference.InferenceApplication
The class to use for a reasoner.
REASONER_KEY - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
The class to use for inference.
ReasonerLocalVariable - Interface in org.linqs.psl.reasoner.term
Local variables are the variables in reasoner terms.
ReasonerTerm - Interface in org.linqs.psl.reasoner.term
 
recursiveDelete(String) - Static method in class org.linqs.psl.util.SystemUtils
 
recursiveDelete(File) - Static method in class org.linqs.psl.util.SystemUtils
 
Reflection - Class in org.linqs.psl.util
Various utilties around objects and reflection.
registerPredicate(StandardPredicate) - Method in interface org.linqs.psl.database.DataStore
Registers a StandardPredicate so that GroundAtoms of that StandardPredicate can be persisted in this DataStore.
registerPredicate(StandardPredicate) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
REL_DEP_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
REL_DEP_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
RELAXED_EPSILON - Static variable in class org.linqs.psl.util.MathUtils
 
RELAXED_EPSILON_FLOAT - Static variable in class org.linqs.psl.util.MathUtils
 
relDep - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
releasePartitions(RDBMSDatabase) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
 
remove() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
remove() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
removeCachedAtom(QueryAtom) - Method in class org.linqs.psl.database.atom.AtomCache
Removes an atom from the AtomCache
removeGroundRule(GroundRule) - Method in class org.linqs.psl.grounding.AtomRegisterGroundRuleStore
 
removeGroundRule(GroundRule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
Removes a GroundRule from this store.
removeGroundRule(GroundRule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
O(n).
removeGroundRules(Rule) - Method in class org.linqs.psl.grounding.AtomRegisterGroundRuleStore
 
removeGroundRules(Rule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
Removes all GroundRules that was instantiated by a given rule.
removeGroundRules(Rule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
O(n).
removePartition(Partition) - Method in class org.linqs.psl.database.rdbms.DataStoreMetadata
 
removeRule(Rule) - Method in class org.linqs.psl.model.Model
Removes a Rule from this Model.
repeat(String, int) - Static method in class org.linqs.psl.util.StringUtils
 
repeat(String, String, int) - Static method in class org.linqs.psl.util.StringUtils
 
reportAccessException(RuntimeException, GroundAtom) - Method in class org.linqs.psl.database.atom.AtomManager
Decide whether or not to throw an access exception.
reportAccessException(RuntimeException, GroundAtom) - Method in class org.linqs.psl.database.atom.LazyAtomManager
 
reportAccessException(RuntimeException, GroundAtom) - Method in class org.linqs.psl.database.atom.PersistedAtomManager
 
reportAccessException(RuntimeException, GroundAtom) - Method in class org.linqs.psl.database.atom.SimpleAtomManager
 
REPRESENTATIVE_KEY - Static variable in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
The representative metric.
REPRESENTATIVE_KEY - Static variable in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
The representative metric.
REPRESENTATIVE_KEY - Static variable in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
The representative metric.
REPRESENTATIVE_KEY - Static variable in class org.linqs.psl.evaluation.statistics.RankingEvaluator
The representative metric.
requiresSplit() - Method in class org.linqs.psl.model.rule.AbstractRule
 
requiresSplit() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
requiresSplit() - Method in interface org.linqs.psl.model.rule.Rule
Check if this rule needs to be broken up into multiple rules.
resetLocalVairables() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
resetLocalVairables(ADMMReasoner.InitialValue) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
resolveClassName(String) - Static method in class org.linqs.psl.util.Reflection
Given a class's name (full or simple), resolve it to its full name.
ResultList - Interface in org.linqs.psl.database
List of substitutions for Variables in a Formula.
rewrite(Formula, RDBMSDataStore) - Method in class org.linqs.psl.database.rdbms.QueryRewriter
Rewrite the query to minimize the execution time while trading off query size.
REWRITE_QUERY_DEFAULT - Static variable in class org.linqs.psl.grounding.Grounding
 
REWRITE_QUERY_KEY - Static variable in class org.linqs.psl.grounding.Grounding
Potentially rewrite the grounding queries.
rowVector(float[]) - Static method in class org.linqs.psl.util.FloatMatrix
 
rowVector(float[], boolean) - Static method in class org.linqs.psl.util.FloatMatrix
 
rule - Variable in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
rule - Variable in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
Rule - Interface in org.linqs.psl.model.rule
A template for functions that either constrain or measure the compatibility of the values of GroundAtom.
rules - Variable in class org.linqs.psl.model.Model
 
rules - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
rules - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
run(double[]) - Method in class org.linqs.psl.application.learning.weight.search.Hyperband
Run and eval on the given weights using the given budget (ratio of max resources) and give back its score (lower is better).
run(double[]) - Method in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
run() - Method in class org.linqs.psl.util.Parallel.Worker
 
RuntimeStats - Class in org.linqs.psl.util
A static class that collects runtime stats in the background.
RunTimings(long, long, long, long) - Constructor for class org.linqs.psl.util.Parallel.RunTimings
 
rvDB - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 

S

scale - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
SCALE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
SCALE_FACTOR - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
SCALE_GRADIENT_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
SCALE_GRADIENT_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Key for Boolean property that indicates whether to scale gradient by number of groundings
SCALE_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
SCALE_ORDERS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
SCALE_ORDERS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
If greater than 0, then various different scaled versions of the weights will be tested.
SCALE_STEP_SIZE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
SCALE_STEP_SIZE_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
If true, then scale the step size down by the iteration.
scaleGradient - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
scaleStepSize - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
SCALING_FACTORS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RankSearch
 
SCALING_FACTORS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.RankSearch
A comma-separated list of scaling factors.
scalingWeights - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
seed(int) - Static method in class org.linqs.psl.util.RandUtils
 
SEED_DEFAULT - Static variable in class org.linqs.psl.util.RandUtils
 
SEED_KEY - Static variable in class org.linqs.psl.util.RandUtils
 
SEED_LOCATIONS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
 
SEED_LOCATIONS_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
The number of locations to initially search.
seenTermCount - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
SelectivityHistogram<T extends Comparable<? super T>> - Class in org.linqs.psl.database.rdbms
A histrogram that represents the distribution of values in a column.
SelectivityHistogram() - Constructor for class org.linqs.psl.database.rdbms.SelectivityHistogram
 
separatorString() - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
separatorString() - Method in class org.linqs.psl.model.formula.Conjunction
 
separatorString() - Method in class org.linqs.psl.model.formula.Disjunction
 
SERIAL_DEFAULT - Static variable in class org.linqs.psl.grounding.Grounding
 
SERIAL_KEY - Static variable in class org.linqs.psl.grounding.Grounding
Whether or not queries are being rewritten, perform the grounding queries one at a time.
set(int, int, float) - Method in class org.linqs.psl.util.FloatMatrix
 
setAccessException(boolean) - Method in class org.linqs.psl.model.atom.RandomVariableAtom
 
setBlasYKnownForTest(FloatMatrix) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
Only for testing.
setBlock(boolean) - Method in class org.linqs.psl.model.predicate.StandardPredicate
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPseudoLikelihood
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.search.grid.GuidedRandomGridSearch
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.search.grid.RandomGridSearch
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.search.InitialWeightHyperband
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
setBudget(double) - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Set a budget (give as a proportion of the max budget).
setCategoryIndexes(int...) - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
 
setColumnDefault(String, String, String) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
Set a default value for a column.
setConstant(float) - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
setDefaultRandomVariables() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Set RandomVariableAtoms with training labels to their default values.
setEpsilonAbs(float) - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
setEpsilonRel(float) - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
setKernelForTest(GaussianProcessKernel) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
Only for testing.
setKnownDataStdInvForTest(FloatMatrix) - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
Only for testing.
setLabeledRandomVariables() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
Set RandomVariableAtoms with training labels to their observed values.
setLagrange(float) - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
setMaxIter(int) - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
setMaxIter(int) - Method in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
setMaxIter(int) - Method in class org.linqs.psl.reasoner.sgd.SGDReasoner
 
setNonNegative(boolean) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
setPersisted(boolean) - Method in class org.linqs.psl.model.atom.RandomVariableAtom
 
setProperty(String, Object) - Static method in class org.linqs.psl.config.Config
Set a property, this will replace any previously set values.
setSquared(boolean) - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
setupTable(Connection, DatabaseDriver) - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
setValue(float) - Method in class org.linqs.psl.model.atom.RandomVariableAtom
Sets the truth value of this Atom.
setValue(float) - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
setVariable(Variable, int) - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
setWeight(double) - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
setWeight(double) - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
setWeight(double) - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
setWeight(double) - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
setWeight(double) - Method in interface org.linqs.psl.model.rule.WeightedGroundRule
Sets a weight for this WeightedGroundRule.
setWeight(double) - Method in interface org.linqs.psl.model.rule.WeightedRule
 
setWork(int, T) - Method in class org.linqs.psl.util.Parallel.Worker
 
SGDMemoryTermStore - Class in org.linqs.psl.reasoner.sgd.term
An in-memory TermStore specifically for SDG terms.
SGDMemoryTermStore() - Constructor for class org.linqs.psl.reasoner.sgd.term.SGDMemoryTermStore
 
SGDObjectiveTerm - Class in org.linqs.psl.reasoner.sgd.term
A term in the objective to be optimized by a SGDReasoner.
SGDObjectiveTerm(VariableTermStore<SGDObjectiveTerm, RandomVariableAtom>, boolean, boolean, Hyperplane<RandomVariableAtom>, float, float) - Constructor for class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
 
SGDReasoner - Class in org.linqs.psl.reasoner.sgd
Uses an SGD optimization method to optimize its GroundRules.
SGDReasoner() - Constructor for class org.linqs.psl.reasoner.sgd.SGDReasoner
 
SGDStreamingCacheIterator - Class in org.linqs.psl.reasoner.sgd.term
 
SGDStreamingCacheIterator(SGDStreamingTermStore, boolean, List<SGDObjectiveTerm>, List<SGDObjectiveTerm>, ByteBuffer, ByteBuffer, boolean, int[], boolean, int) - Constructor for class org.linqs.psl.reasoner.sgd.term.SGDStreamingCacheIterator
 
SGDStreamingInference - Class in org.linqs.psl.application.inference
 
SGDStreamingInference(Model, Database) - Constructor for class org.linqs.psl.application.inference.SGDStreamingInference
 
SGDStreamingInitialRoundIterator - Class in org.linqs.psl.reasoner.sgd.term
Iterate over all the terms that come up from grounding.
SGDStreamingInitialRoundIterator(SGDStreamingTermStore, List<WeightedRule>, AtomManager, HyperplaneTermGenerator<SGDObjectiveTerm, RandomVariableAtom>, List<SGDObjectiveTerm>, List<SGDObjectiveTerm>, ByteBuffer, ByteBuffer, int) - Constructor for class org.linqs.psl.reasoner.sgd.term.SGDStreamingInitialRoundIterator
 
SGDStreamingTermStore - Class in org.linqs.psl.reasoner.sgd.term
A term store that iterates over ground queries directly (obviating the GroundRuleStore).
SGDStreamingTermStore(List<Rule>, AtomManager) - Constructor for class org.linqs.psl.reasoner.sgd.term.SGDStreamingTermStore
 
SGDTermGenerator - Class in org.linqs.psl.reasoner.sgd.term
A TermGenerator for SGD objective terms.
SGDTermGenerator() - Constructor for class org.linqs.psl.reasoner.sgd.term.SGDTermGenerator
 
sha(String) - Static method in class org.linqs.psl.util.Hash
 
sha(byte[]) - Static method in class org.linqs.psl.util.Hash
 
sha256(String) - Static method in class org.linqs.psl.util.Hash
 
sha256(byte[]) - Static method in class org.linqs.psl.util.Hash
 
shuffle() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
shuffle(List<?>) - Static method in class org.linqs.psl.util.RandUtils
 
SHUFFLE_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
SHUFFLE_KEY - Static variable in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
Shuffle the terms before each return of iterator().
SHUFFLE_PAGE_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
SHUFFLE_PAGE_KEY - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Whether to shuffle within a page when it is picked up.
shuffleMap - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
shuffleMap - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
When we shuffle pages, we need to know how they were shuffled so the volatile cache can be writtten in the same order.
shufflePage - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
shufflePage - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
signsMatch(int, int) - Static method in class org.linqs.psl.util.MathUtils
 
signsMatch(float, float) - Static method in class org.linqs.psl.util.MathUtils
 
signsMatch(double, double) - Static method in class org.linqs.psl.util.MathUtils
 
SimpleAtomManager - Class in org.linqs.psl.database.atom
AtomManager that does not provide any functionality beyond passing calls to underlying components.
SimpleAtomManager(Database) - Constructor for class org.linqs.psl.database.atom.SimpleAtomManager
 
SimplexSampler - Class in org.linqs.psl.application.learning.weight.maxlikelihood
 
SimplexSampler() - Constructor for class org.linqs.psl.application.learning.weight.maxlikelihood.SimplexSampler
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Add
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Coefficient
Get a simplified version of this Coefficient, the Coefficient itself if it cannot be simplified further.
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.ConstantNumber
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Divide
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Max
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Min
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Multiply
 
simplify() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Subtract
 
size() - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
size() - Method in class org.linqs.psl.database.rdbms.SelectivityHistogram
Get the number of rows represented by this histogram.
size() - Method in interface org.linqs.psl.database.ResultList
 
size() - Method in interface org.linqs.psl.grounding.GroundRuleStore
 
size() - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
 
size() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
size - Variable in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
 
size() - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
Get the number of variables in this term.
size() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
 
size() - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
 
size() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
size() - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
 
size() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTerm
 
size() - Method in class org.linqs.psl.reasoner.term.blocker.ConstraintBlockerTermStore
 
size() - Method in class org.linqs.psl.reasoner.term.Hyperplane
 
size() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
 
size() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
size() - Method in interface org.linqs.psl.reasoner.term.ReasonerTerm
 
size() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
size() - Method in interface org.linqs.psl.reasoner.term.TermStore
 
size() - Method in class org.linqs.psl.util.FloatMatrix
 
SMALL_VALUE - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior
 
smallFactorial(int) - Static method in class org.linqs.psl.util.MathUtils
 
sort(String) - Static method in class org.linqs.psl.util.StringUtils
 
space - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
SPACE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
SPACE_KEY - Static variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
split() - Method in class org.linqs.psl.model.rule.AbstractRule
 
split() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
split() - Method in interface org.linqs.psl.model.rule.Rule
Split this rule into multiple rules.
splitDouble(String, char) - Static method in class org.linqs.psl.util.StringUtils
 
splitDouble(String, String) - Static method in class org.linqs.psl.util.StringUtils
 
splitFloat(String, char) - Static method in class org.linqs.psl.util.StringUtils
 
splitFloat(String, String) - Static method in class org.linqs.psl.util.StringUtils
 
splitInt(String, char) - Static method in class org.linqs.psl.util.StringUtils
 
splitInt(String, String) - Static method in class org.linqs.psl.util.StringUtils
 
splitLong(String, char) - Static method in class org.linqs.psl.util.StringUtils
 
splitLong(String, String) - Static method in class org.linqs.psl.util.StringUtils
 
squared - Variable in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
squared - Variable in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
SquaredExpKernel - Class in org.linqs.psl.application.learning.weight.bayesian
 
SquaredExpKernel() - Constructor for class org.linqs.psl.application.learning.weight.bayesian.SquaredExpKernel
 
SquaredExpKernel(float[]) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.SquaredExpKernel
 
SquaredHingeLossTerm - Class in org.linqs.psl.reasoner.admm.term
ADMMReasoner objective term of the form
weight * [max(coefficients^T * x - constant, 0)]^2
SquaredHingeLossTerm(GroundRule, Hyperplane<LocalVariable>) - Constructor for class org.linqs.psl.reasoner.admm.term.SquaredHingeLossTerm
 
SquaredHyperplaneTerm - Class in org.linqs.psl.reasoner.admm.term
Objective term for an ADMMReasoner that is based on a squared hyperplane in some way.
SquaredHyperplaneTerm(GroundRule, Hyperplane<LocalVariable>) - Constructor for class org.linqs.psl.reasoner.admm.term.SquaredHyperplaneTerm
 
SquaredLinearLossTerm - Class in org.linqs.psl.reasoner.admm.term
ADMMReasoner objective term of the form
weight * (coeffs^T * x - constant)^2
SquaredLinearLossTerm(GroundRule, Hyperplane<LocalVariable>) - Constructor for class org.linqs.psl.reasoner.admm.term.SquaredLinearLossTerm
 
StandardPredicate - Class in org.linqs.psl.model.predicate
Predicate of GroundAtoms that can be persisted.
STEP_SIZE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
STEP_SIZE_DEFAULT - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
 
STEP_SIZE_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
Key for positive double property which will be multiplied with the objective gradient to compute a step.
STEP_SIZE_KEY - Static variable in class org.linqs.psl.reasoner.admm.ADMMReasoner
Step size.
stopCollection() - Static method in class org.linqs.psl.util.RuntimeStats
 
StreamingCacheIterator<T extends ReasonerTerm> - Class in org.linqs.psl.reasoner.term.streaming
Iterate over all the terms from the disk cache.
StreamingCacheIterator(StreamingTermStore<T>, boolean, List<T>, List<T>, ByteBuffer, ByteBuffer, boolean, int[], boolean, int) - Constructor for class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
StreamingInitialRoundIterator<T extends ReasonerTerm> - Class in org.linqs.psl.reasoner.term.streaming
Iterate over all the terms that come up from grounding.
StreamingInitialRoundIterator(StreamingTermStore<T>, List<WeightedRule>, AtomManager, HyperplaneTermGenerator<T, RandomVariableAtom>, List<T>, List<T>, ByteBuffer, ByteBuffer, int) - Constructor for class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
StreamingIterator<T extends ReasonerTerm> - Interface in org.linqs.psl.reasoner.term.streaming
Iterate over all the terms from grounding/cache.
StreamingTermStore<T extends ReasonerTerm> - Class in org.linqs.psl.reasoner.term.streaming
 
StreamingTermStore(List<Rule>, AtomManager, HyperplaneTermGenerator<T, RandomVariableAtom>) - Constructor for class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
STRICT_EPSILON - Static variable in class org.linqs.psl.util.MathUtils
 
STRICT_EPSILON_FLOAT - Static variable in class org.linqs.psl.util.MathUtils
 
StringAttribute - Class in org.linqs.psl.model.term
An Attribute that encapsulates a String.
StringAttribute(String) - Constructor for class org.linqs.psl.model.term.StringAttribute
Constructs a StringAttribute from a String
StringUtils - Class in org.linqs.psl.util
Various static String utilities.
sub(float) - Method in class org.linqs.psl.util.FloatMatrix
Scalar difference (not in-place).
sub(float, boolean) - Method in class org.linqs.psl.util.FloatMatrix
Scalar difference.
Subtract - Class in org.linqs.psl.model.rule.arithmetic.expression.coefficient
 
Subtract(Coefficient, Coefficient) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Subtract
 
SummationAtom - Class in org.linqs.psl.model.rule.arithmetic.expression
A variant of an Atom that can additionally take SummationVariables as arguments.
SummationAtom(Predicate, SummationVariableOrTerm[]) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
SummationAtomOrAtom - Interface in org.linqs.psl.model.rule.arithmetic.expression
Either a SummationAtom or Atom.
summationMapping - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
SummationVariable - Class in org.linqs.psl.model.rule.arithmetic.expression
Special argument to a Predicate in an SummationAtom.
SummationVariable(String) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.SummationVariable
 
SummationVariableOrTerm - Interface in org.linqs.psl.model.rule.arithmetic.expression
Either a SummationVariable or Term.
supportsBulkCopy() - Method in class org.linqs.psl.database.loading.Inserter
Some inserters backed with specific databases can do bulk copy operations.
supportsBulkCopy() - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Returns whether the underline database supports bulk copying operations.
supportsBulkCopy() - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
supportsBulkCopy() - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
supportsBulkCopy() - Method in class org.linqs.psl.database.rdbms.RDBMSInserter
 
supportsGroundingQueryRewriting() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
supportsGroundingQueryRewriting() - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
supportsGroundingQueryRewriting() - Method in interface org.linqs.psl.model.rule.Rule
Does this rule support rewriting the grounding formual.
supportsIndividualGrounding() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractArithmeticRule
 
supportsIndividualGrounding() - Method in class org.linqs.psl.model.rule.logical.AbstractLogicalRule
 
supportsIndividualGrounding() - Method in interface org.linqs.psl.model.rule.Rule
Does this rule support grounding out single instances at a time.
supportsLatentVariables - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
supportsRule(Rule) - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingTermStore
 
supportsRule(Rule) - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingTermStore
 
supportsRule(Rule) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Check if this term store supports this rule.
SURVIVAL_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
SURVIVAL_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
The proportion of configs that survive each round in a brancket.
syncAtoms() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
 
syncAtoms() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
syncAtoms() - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
Ensure that all the variable atoms have the same value as the array returned by getVariableValues().
SystemUtils - Class in org.linqs.psl.util
Utilities for interfacing with a filesystem.

T

tableName() - Method in class org.linqs.psl.database.rdbms.PredicateInfo
 
TableStats - Class in org.linqs.psl.database.rdbms
A container for statistics about a table.
TableStats(int) - Constructor for class org.linqs.psl.database.rdbms.TableStats
 
Term - Interface in org.linqs.psl.model.term
An argument to a Predicate.
TERM_GENERATOR_DEFAULT - Static variable in class org.linqs.psl.application.inference.InferenceApplication
 
TERM_GENERATOR_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
TERM_GENERATOR_KEY - Static variable in class org.linqs.psl.application.inference.InferenceApplication
The class to use for term generator.
TERM_GENERATOR_KEY - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
The class to use for term generator.
TERM_STORE_DEFAULT - Static variable in class org.linqs.psl.application.inference.InferenceApplication
 
TERM_STORE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
TERM_STORE_KEY - Static variable in class org.linqs.psl.application.inference.InferenceApplication
The class to use for term storage.
TERM_STORE_KEY - Static variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
The class to use for term storage.
termBuffer - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
termBuffer - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
termBuffer - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
The IO buffer for terms.
termCache - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
termCache - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
termCache - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Terms in the current page.
termCount - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
termGenerator - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
termGenerator - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
termGenerator - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
termGenerator - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
TermGenerator<T extends ReasonerTerm,V extends ReasonerLocalVariable> - Interface in org.linqs.psl.reasoner.term
 
termPagePaths - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
termPool - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
termPool - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
termPool - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Terms that we will reuse when we start pulling from the cache.
termStore - Variable in class org.linqs.psl.application.inference.InferenceApplication
 
termStore - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
TermStore<T extends ReasonerTerm,V extends ReasonerLocalVariable> - Interface in org.linqs.psl.reasoner.term
A place to store terms that are to be optimized.
THRESHOLD_KEY - Static variable in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
The truth threshold.
THRESHOLD_KEY - Static variable in class org.linqs.psl.evaluation.statistics.RankingEvaluator
The truth threshold.
THROW_ACCESS_EXCEPTION_DEFAULT - Static variable in class org.linqs.psl.database.atom.PersistedAtomManager
 
THROW_ACCESS_EXCEPTION_KEY - Static variable in class org.linqs.psl.database.atom.PersistedAtomManager
Whether or not to throw an exception on illegal access.
tolerance - Variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
TOLERANCE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
 
TOLERANCE_KEY - Static variable in class org.linqs.psl.application.learning.weight.em.ExpectationMaximization
Key for positive double property for the minimum absolute change in weights such that EM is considered converged
toPrimitiveDoubleArray(List<? extends Double>) - Static method in class org.linqs.psl.util.ListUtils
 
toPrimitiveFloatArray(List<? extends Float>) - Static method in class org.linqs.psl.util.ListUtils
 
toPrimitiveIntArray(List<? extends Integer>) - Static method in class org.linqs.psl.util.ListUtils
 
toPrimitiveLongArray(List<? extends Long>) - Static method in class org.linqs.psl.util.ListUtils
 
toString() - Method in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.WeightConfig
 
toString() - Method in class org.linqs.psl.database.Partition
 
toString() - Method in class org.linqs.psl.database.rdbms.RDBMSResultList
 
toString() - Method in class org.linqs.psl.database.rdbms.SelectivityHistogram
 
toString() - Method in class org.linqs.psl.model.atom.Atom
 
toString() - Method in class org.linqs.psl.model.formula.AbstractBranchFormula
 
toString() - Method in class org.linqs.psl.model.formula.FormulaAnalysis.DNFClause
 
toString() - Method in class org.linqs.psl.model.formula.Implication
 
toString() - Method in class org.linqs.psl.model.formula.Negation
 
toString() - Method in class org.linqs.psl.model.Model
 
toString() - Method in class org.linqs.psl.model.predicate.Predicate
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.AbstractGroundArithmeticRule
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Add
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.ConstantNumber
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Divide
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Max
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Min
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Multiply
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Subtract
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.expression.SummationVariable
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedGroundArithmeticRule
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
toString() - Method in class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
toString() - Method in class org.linqs.psl.model.rule.logical.AbstractGroundLogicalRule
 
toString() - Method in class org.linqs.psl.model.rule.logical.UnweightedGroundLogicalRule
 
toString() - Method in class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
 
toString() - Method in class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
toString() - Method in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
toString() - Method in class org.linqs.psl.model.term.Constant
 
toString() - Method in interface org.linqs.psl.model.term.Term
 
toString() - Method in class org.linqs.psl.model.term.Variable
 
toString() - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
 
toString() - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
 
toString() - Method in class org.linqs.psl.reasoner.function.ConstraintTerm
 
toString() - Method in enum org.linqs.psl.reasoner.function.FunctionComparator
 
toString() - Method in class org.linqs.psl.reasoner.function.GeneralFunction
 
toString() - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
 
toString() - Method in class org.linqs.psl.util.FloatMatrix
 
toString() - Method in class org.linqs.psl.util.Parallel.RunTimings
 
toStringWithValue() - Method in class org.linqs.psl.model.atom.GroundAtom
 
TrainingMap - Class in org.linqs.psl.application.learning.weight
A class that keeps tracks of the mapping between a random variable atom in one database (atom manager) and an observed atom in another (as well as unmapped (latent) variables).
TrainingMap(PersistedAtomManager, Database, boolean) - Constructor for class org.linqs.psl.application.learning.weight.TrainingMap
Initializes the training map of RandomVariableAtoms ObservedAtoms.
trainingMap - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
transpose() - Method in class org.linqs.psl.util.FloatMatrix
Transpose.
TRUNCATE_EVERY_STEP_DEFAULT - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 
TRUNCATE_EVERY_STEP_KEY - Static variable in class org.linqs.psl.reasoner.dcd.DCDReasoner
 

U

UNIFORM_BASE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
UNIFORM_BASE_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
If true, then use the same base weight as the Gaussian's mean when sampling the weight.
UniqueIntID - Class in org.linqs.psl.model.term
 
UniqueIntID(int) - Constructor for class org.linqs.psl.model.term.UniqueIntID
 
UniqueStringID - Class in org.linqs.psl.model.term
 
UniqueStringID(String) - Constructor for class org.linqs.psl.model.term.UniqueStringID
 
unitNormal - Variable in class org.linqs.psl.reasoner.admm.term.HyperplaneTerm
 
UnweightedArithmeticRule - Class in org.linqs.psl.model.rule.arithmetic
UnweightedArithmeticRule(ArithmeticRuleExpression) - Constructor for class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
UnweightedArithmeticRule(ArithmeticRuleExpression, String) - Constructor for class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
UnweightedArithmeticRule(ArithmeticRuleExpression, Map<SummationVariable, Formula>) - Constructor for class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
UnweightedArithmeticRule(ArithmeticRuleExpression, Map<SummationVariable, Formula>, String) - Constructor for class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
 
UnweightedGroundArithmeticRule - Class in org.linqs.psl.model.rule.arithmetic
An AbstractGroundArithmeticRule that is unweighted, i.e., it is a hard constraint that must always hold.
UnweightedGroundArithmeticRule(UnweightedArithmeticRule, List<Float>, List<GroundAtom>, FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.arithmetic.UnweightedGroundArithmeticRule
 
UnweightedGroundArithmeticRule(UnweightedArithmeticRule, float[], GroundAtom[], FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.arithmetic.UnweightedGroundArithmeticRule
 
UnweightedGroundLogicalRule - Class in org.linqs.psl.model.rule.logical
 
UnweightedGroundLogicalRule(UnweightedLogicalRule, List<GroundAtom>, List<GroundAtom>, short) - Constructor for class org.linqs.psl.model.rule.logical.UnweightedGroundLogicalRule
 
UnweightedGroundRule - Interface in org.linqs.psl.model.rule
 
UnweightedLogicalRule - Class in org.linqs.psl.model.rule.logical
 
UnweightedLogicalRule(Formula) - Constructor for class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
 
UnweightedLogicalRule(Formula, String) - Constructor for class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
 
UnweightedRule - Interface in org.linqs.psl.model.rule
A template for UnweightedGroundRules, which constrain the values that GroundAtoms can take.
updateDBStats() - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Make sure that all the database-level stats are up-to-date.
updateDBStats() - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
updateDBStats() - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
updateLagrange(float, float[]) - Method in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
 
updateTableStats(PredicateInfo) - Method in interface org.linqs.psl.database.rdbms.driver.DatabaseDriver
Make sure that all the table statistics are up-to-date.
updateTableStats(PredicateInfo) - Method in class org.linqs.psl.database.rdbms.driver.H2DatabaseDriver
 
updateTableStats(PredicateInfo) - Method in class org.linqs.psl.database.rdbms.driver.PostgreSQLDriver
 
updateVariables(float[]) - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
Update the global variables (RVAs).
USE_STRING_ID_DEFAULT - Static variable in class org.linqs.psl.database.rdbms.RDBMSDataStore
Default value for the USE_STRING_ID_KEY property.

V

v - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
 
validate(Formula) - Static method in class org.linqs.psl.database.DatabaseQuery
 
value - Variable in class org.linqs.psl.model.atom.GroundAtom
 
value - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.ConstantNumber
 
VALUE_COLUMN_NAME - Static variable in class org.linqs.psl.database.rdbms.PredicateInfo
 
valueAndStd - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.WeightConfig
 
valueOf(String) - Static method in enum org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel.KernelType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel.Space
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.database.rdbms.driver.H2DatabaseDriver.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.database.rdbms.QueryRewriter.CostEstimator
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.evaluation.statistics.CategoricalEvaluator.RepresentativeMetric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.evaluation.statistics.ContinuousEvaluator.RepresentativeMetric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.evaluation.statistics.DiscreteEvaluator.RepresentativeMetric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.evaluation.statistics.RankingEvaluator.RepresentativeMetric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.model.term.ConstantType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.reasoner.admm.ADMMReasoner.InitialValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.linqs.psl.reasoner.function.FunctionComparator
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel.KernelType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel.Space
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.database.rdbms.driver.H2DatabaseDriver.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.database.rdbms.QueryRewriter.CostEstimator
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.evaluation.statistics.CategoricalEvaluator.RepresentativeMetric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.evaluation.statistics.ContinuousEvaluator.RepresentativeMetric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.evaluation.statistics.DiscreteEvaluator.RepresentativeMetric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.evaluation.statistics.RankingEvaluator.RepresentativeMetric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.model.term.ConstantType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.reasoner.admm.ADMMReasoner.InitialValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.linqs.psl.reasoner.function.FunctionComparator
Returns an array containing the constants of this enum type, in the order they are declared.
Variable - Class in org.linqs.psl.model.term
A variable Term.
Variable(String) - Constructor for class org.linqs.psl.model.term.Variable
Constructs a Variable, given a name.
variables - Variable in class org.linqs.psl.reasoner.admm.term.ADMMObjectiveTerm
 
variables - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
VariableTermStore<T extends ReasonerTerm,V extends ReasonerLocalVariable> - Interface in org.linqs.psl.reasoner.term
An interface for term stores that can handle some variable operations.
VariableTypeMap - Class in org.linqs.psl.model.term
A hashed storage class for arguments, keyed on their associated variables.
VariableTypeMap() - Constructor for class org.linqs.psl.model.term.VariableTypeMap
 
VARIANCE - Static variable in class org.linqs.psl.application.learning.weight.search.Hyperband
 
VARIANCE_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
 
VARIANCE_KEY - Static variable in class org.linqs.psl.application.learning.weight.search.grid.ContinuousRandomGridSearch
The variance used when sampling the weights from a Gaussian.
vars - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
 
Version - Class in org.linqs.psl.util
Get versioning information about the project.
VERSION_DEFAULT - Static variable in class org.linqs.psl.util.Version
 
VERSION_KEY - Static variable in class org.linqs.psl.util.Version
 
volatileBuffer - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
 
volatileBuffer - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
 
volatileBuffer - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
The IO buffer for volatile values.
volatilePagePaths - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
VotedPerceptron - Class in org.linqs.psl.application.learning.weight
Learns new weights for the weighted rules in a model using the voted perceptron algorithm.
VotedPerceptron(List<Rule>, Database, Database, boolean) - Constructor for class org.linqs.psl.application.learning.weight.VotedPerceptron
 

W

WARMUP_ROUNDS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
 
WARMUP_ROUNDS_KEY - Static variable in class org.linqs.psl.application.learning.weight.em.PairedDualLearner
Key for Integer property that indicates how many rounds of paired-dual learning to run before beginning to update the weights (parameter K in the ICML paper)
WARN_RULES_DEFAULT - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
WARN_RULES_KEY - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
Warn on rules the streaming term store can't handle.
warnRules - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
 
weight - Variable in class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
weight - Variable in class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
WeightConfig(float[]) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.WeightConfig
 
WeightConfig(GaussianProcessPrior.WeightConfig) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.WeightConfig
 
WeightConfig(float[], float, float) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.WeightConfig
 
weighted - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
 
WeightedArithmeticRule - Class in org.linqs.psl.model.rule.arithmetic
 
WeightedArithmeticRule(ArithmeticRuleExpression, double, boolean) - Constructor for class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
WeightedArithmeticRule(ArithmeticRuleExpression, double, boolean, String) - Constructor for class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
WeightedArithmeticRule(ArithmeticRuleExpression, Map<SummationVariable, Formula>, double, boolean) - Constructor for class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
WeightedArithmeticRule(ArithmeticRuleExpression, Map<SummationVariable, Formula>, double, boolean, String) - Constructor for class org.linqs.psl.model.rule.arithmetic.WeightedArithmeticRule
 
WeightedGroundArithmeticRule - Class in org.linqs.psl.model.rule.arithmetic
 
WeightedGroundArithmeticRule(WeightedArithmeticRule, List<Float>, List<GroundAtom>, FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
WeightedGroundArithmeticRule(WeightedArithmeticRule, float[], GroundAtom[], FunctionComparator, float) - Constructor for class org.linqs.psl.model.rule.arithmetic.WeightedGroundArithmeticRule
 
WeightedGroundLogicalRule - Class in org.linqs.psl.model.rule.logical
 
WeightedGroundLogicalRule(WeightedLogicalRule, List<GroundAtom>, List<GroundAtom>, short) - Constructor for class org.linqs.psl.model.rule.logical.WeightedGroundLogicalRule
 
WeightedGroundRule - Interface in org.linqs.psl.model.rule
 
WeightedLogicalRule - Class in org.linqs.psl.model.rule.logical
 
WeightedLogicalRule(Formula, double, boolean) - Constructor for class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
WeightedLogicalRule(Formula, double, boolean, String) - Constructor for class org.linqs.psl.model.rule.logical.WeightedLogicalRule
 
WeightedRule - Interface in org.linqs.psl.model.rule
 
WeightLearningApplication - Class in org.linqs.psl.application.learning.weight
Abstract class for learning the weights of weighted mutableRules from data for a model.
WeightLearningApplication(List<Rule>, Database, Database, boolean) - Constructor for class org.linqs.psl.application.learning.weight.WeightLearningApplication
 
work(int, T) - Method in class org.linqs.psl.util.Parallel.Worker
Do the actual work.
Worker() - Constructor for class org.linqs.psl.util.Parallel.Worker
 
workerWaitTimeMS - Variable in class org.linqs.psl.util.Parallel.RunTimings
 
workerWorkTimeMS - Variable in class org.linqs.psl.util.Parallel.RunTimings
 
WritableDatabase - Interface in org.linqs.psl.database
A database for persisting GroundAtoms.
writeFixedValues(ByteBuffer) - Method in class org.linqs.psl.reasoner.dcd.term.DCDObjectiveTerm
Write a binary representation of the fixed values of this term to a buffer.
writeFixedValues(ByteBuffer) - Method in class org.linqs.psl.reasoner.sgd.term.SGDObjectiveTerm
Write a binary representation of the fixed values of this term to a buffer.
writeFullPage(String, String) - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingInitialRoundIterator
 
writeFullPage(String, String) - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingInitialRoundIterator
 
writeFullPage(String, String) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingInitialRoundIterator
Write a full page (including any volatile page that the child may use).
writeID - Variable in class org.linqs.psl.database.Database
 
writeModel(BufferedWriter, TermStore) - Method in class org.linqs.psl.reasoner.ExecutableReasoner
 
writePartition - Variable in class org.linqs.psl.database.Database
The partition ID in which this database writes.
writeVolatilePage(String) - Method in class org.linqs.psl.reasoner.dcd.term.DCDStreamingCacheIterator
 
writeVolatilePage(String) - Method in class org.linqs.psl.reasoner.sgd.term.SGDStreamingCacheIterator
 
writeVolatilePage(String) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingCacheIterator
Write a cache page to disk.

Z

ZERO_INITIAL_WEIGHTS_DEFAULT - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
ZERO_INITIAL_WEIGHTS_KEY - Static variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
If true, then start all weights at zero for learning.
zeroes(int, int) - Static method in class org.linqs.psl.util.FloatMatrix
Make a zero matrix.
zeroInitialWeights - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
 
A B C D E F G H I J K L M N O P Q R S T U V W Z 
Skip navigation links

Copyright © 2020 University of California, Santa Cruz. All rights reserved.