- 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.
- activeIterator - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- 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, 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 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_COMPUTE_PERIOD - Static variable in class org.linqs.psl.config.Options
-
- ADMM_EPSILON_ABS - Static variable in class org.linqs.psl.config.Options
-
- ADMM_EPSILON_REL - Static variable in class org.linqs.psl.config.Options
-
- ADMM_MAX_ITER - Static variable in class org.linqs.psl.config.Options
-
- ADMM_STEP_SIZE - Static variable in class org.linqs.psl.config.Options
-
- ADMMInference - Class in org.linqs.psl.application.inference.mpe
-
Use an ADMM reasoner to perform MPE inference.
- ADMMInference(List<Rule>, Database) - Constructor for class org.linqs.psl.application.inference.mpe.ADMMInference
-
- 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
-
- 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
-
- 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
-
- 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
-
- AtomCache(Database) - Constructor for class org.linqs.psl.database.atom.AtomCache
-
Constructs a new AtomCache for a Database.
- AtomIndexes(int, int) - Constructor for class org.linqs.psl.model.predicate.model.SupportingModel.AtomIndexes
-
- atomManager - Variable in class org.linqs.psl.application.inference.InferenceApplication
-
- 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
-
- 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.
- averageSteps - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.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.
- clipNegativeWeights - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- close() - Method in class org.linqs.psl.application.inference.InferenceApplication
-
- close() - Method in class org.linqs.psl.application.inference.mpe.DCDStreamingInference
-
- close() - Method in class org.linqs.psl.application.inference.mpe.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
-
- 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.dcd.DCDReasoner
-
- close() - Method in class org.linqs.psl.reasoner.ExecutableReasoner
-
- close() - Method in class 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.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
-
- 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.
- 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
-
- 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() - Method in class org.linqs.psl.application.inference.InferenceApplication
-
Commit the results of inference to the database.
- 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.mpe.DCDStreamingInference
-
- completeInitialize() - Method in class org.linqs.psl.application.inference.mpe.LazyMPEInference
-
- completeInitialize() - Method in class org.linqs.psl.application.inference.mpe.SGDStreamingInference
-
- 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
-
- 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.VotedPerceptron
-
Compute the incompatibility in the model.
- computeLoss() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
-
- computeLoss() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
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
-
Run inference.
- computeObjective(VariableTermStore<SGDObjectiveTerm, RandomVariableAtom>) - Method in class org.linqs.psl.reasoner.sgd.SGDReasoner
-
- computeObservedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
-
- computeObservedIncompatibility() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
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.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_FEATURES - Static variable in class org.linqs.psl.model.predicate.model.SupportingModel
-
- CONFIG_LABELS - Static variable in class org.linqs.psl.model.predicate.model.SupportingModel
-
- CONFIG_MODEL - Static variable in class org.linqs.psl.model.predicate.model.SupportingModel
-
- 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
-
- 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.
- count(Rule) - Method in interface org.linqs.psl.grounding.GroundRuleStore
-
- count(Rule) - Method in class org.linqs.psl.grounding.MemoryGroundRuleStore
-
O(n).
- count(int) - Static method in class org.linqs.psl.util.IteratorUtils
-
- count(int, int) - Static method in class org.linqs.psl.util.IteratorUtils
-
- 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.mpe.LazyMPEInference
-
- 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.InferenceApplication
-
- createGroundRuleStore() - Method in class org.linqs.psl.application.inference.mpe.ADMMInference
-
- createGroundRuleStore() - Method in class org.linqs.psl.application.inference.mpe.DCDInference
-
- createGroundRuleStore() - Method in class org.linqs.psl.application.inference.mpe.DCDStreamingInference
-
- createGroundRuleStore() - Method in class org.linqs.psl.application.inference.mpe.SGDInference
-
- createGroundRuleStore() - Method in class org.linqs.psl.application.inference.mpe.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.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.InferenceApplication
-
- createReasoner() - Method in class org.linqs.psl.application.inference.mpe.ADMMInference
-
- createReasoner() - Method in class org.linqs.psl.application.inference.mpe.DCDInference
-
- createReasoner() - Method in class org.linqs.psl.application.inference.mpe.DCDStreamingInference
-
- createReasoner() - Method in class org.linqs.psl.application.inference.mpe.SGDInference
-
- createReasoner() - Method in class org.linqs.psl.application.inference.mpe.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.InferenceApplication
-
- createTermGenerator() - Method in class org.linqs.psl.application.inference.mpe.ADMMInference
-
- createTermGenerator() - Method in class org.linqs.psl.application.inference.mpe.DCDInference
-
- createTermGenerator() - Method in class org.linqs.psl.application.inference.mpe.DCDStreamingInference
-
- createTermGenerator() - Method in class org.linqs.psl.application.inference.mpe.SGDInference
-
- createTermGenerator() - Method in class org.linqs.psl.application.inference.mpe.SGDStreamingInference
-
- createTermStore() - Method in class org.linqs.psl.application.inference.InferenceApplication
-
- createTermStore() - Method in class org.linqs.psl.application.inference.mpe.ADMMInference
-
- createTermStore() - Method in class org.linqs.psl.application.inference.mpe.DCDInference
-
- createTermStore() - Method in class org.linqs.psl.application.inference.mpe.DCDStreamingInference
-
- createTermStore() - Method in class org.linqs.psl.application.inference.mpe.SGDInference
-
- createTermStore() - Method in class org.linqs.psl.application.inference.mpe.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
-
- cutObjective - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- 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.
- 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.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.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.
- entityArgumentIndexes - Variable in class org.linqs.psl.model.predicate.model.SupportingModel
-
The indexes of this predicate that compose the entity ID.
- entityIndex - Variable in class org.linqs.psl.model.predicate.model.SupportingModel.AtomIndexes
-
- entityIndexMapping - Variable in class org.linqs.psl.model.predicate.model.SupportingModel
-
Map the ID for an entity to an index.
- EPSILON - Static variable in class org.linqs.psl.util.MathUtils
-
- EPSILON_FLOAT - Static variable in class org.linqs.psl.util.MathUtils
-
- 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
-
- EVAL_CAT_CATEGORY_INDEXES - Static variable in class org.linqs.psl.config.Options
-
- EVAL_CAT_DEFAULT_PREDICATE - Static variable in class org.linqs.psl.config.Options
-
- EVAL_CAT_REPRESENTATIVE - Static variable in class org.linqs.psl.config.Options
-
- EVAL_CONT_REPRESENTATIVE - Static variable in class org.linqs.psl.config.Options
-
- EVAL_DISCRETE_REPRESENTATIVE - Static variable in class org.linqs.psl.config.Options
-
- EVAL_DISCRETE_THRESHOLD - Static variable in class org.linqs.psl.config.Options
-
- EVAL_RANKING_REPRESENTATIVE - Static variable in class org.linqs.psl.config.Options
-
- EVAL_RANKING_THRESHOLD - Static variable in class org.linqs.psl.config.Options
-
- 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
-
- EXECUTABLE_CLEAN_INPUT - Static variable in class org.linqs.psl.config.Options
-
- EXECUTABLE_CLEAN_OUTPUT - Static variable in class org.linqs.psl.config.Options
-
- EXECUTABLE_REASONER_PATH - Static variable in class org.linqs.psl.config.Options
-
- 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
-
- 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
-
- 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
-
- expectedIncompatibility - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- 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
-
- eye(int) - Static method in class org.linqs.psl.util.FloatMatrix
-
Make an identity matrix.
- 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.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<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() - Method in class org.linqs.psl.config.Option
-
Fetch the Option's configuration value from the Config class.
- 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
-
- 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.model.ModelPredicate
-
The an existing standard predicate (or null if none with this name exists).
- get(String, SupportingModel, ConstantType...) - Static method in class org.linqs.psl.model.predicate.model.ModelPredicate
-
Get a predicate if one already exists, othereise 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.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
-
- getAllPredictions() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
-
Get all the predictions (unobserved targets).
- 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
-
- getAllTargets() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
-
Get all atoms that appeared in the target database.
- getAllTruths() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
-
Get all atoms that appeared in the truth database.
- 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.
- getAtomCoefficients() - Method in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
-
- getAtomIdentifier(String[], int[]) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- getAtomIdentifier(RandomVariableAtom, int[]) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- getAtomIndexes(RandomVariableAtom) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- 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
-
- 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
-
- 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
-
- getBoolean() - Method in class org.linqs.psl.config.Option
-
- 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
-
- getConsensusValues() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
-
- 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 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
-
- getDouble() - Method in class org.linqs.psl.config.Option
-
- 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
-
- getEntityIndex(RandomVariableAtom) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- getEpsilonAbs() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
-
- getEpsilonRel() - Method in class org.linqs.psl.reasoner.admm.ADMMReasoner
-
- 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
-
- getFloat() - Method in class org.linqs.psl.config.Option
-
- 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 (unobserved 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
-
- 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
-
- 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 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
-
- getInferenceApplication(String, List<Rule>, Database) - Static method in class org.linqs.psl.application.inference.InferenceApplication
-
Construct an inference application given the data.
- getInferenceApplication() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
-
- 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
-
- getInserter(StandardPredicate, Partition) - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
-
- getInt(String, int) - Static method in class org.linqs.psl.config.Config
-
- getInt() - Method in class org.linqs.psl.config.Option
-
- getInteger(String, Integer) - Static method in class org.linqs.psl.config.Config
-
- getLabelIndex(RandomVariableAtom) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- getLabelMap() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
-
Get the mapping of unobserved targets to truth atoms.
- 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 (unobserved targets without a truth atom).
- 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
-
- getLong() - Method in class org.linqs.psl.config.Option
-
- getLoss() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- getMetadata() - Method in class org.linqs.psl.database.rdbms.RDBMSDataStore
-
- getMissingLabels() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
-
Gets observed targets that do not have an associated observed truth atom.
- getMissingTargets() - Method in class org.linqs.psl.application.learning.weight.TrainingMap
-
Gets observed truth atoms that do not have an associated target atom.
- 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.
- getNewObject() - Method in class org.linqs.psl.config.Option
-
- 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
-
- getNormalizedRepMetric() - Method in class org.linqs.psl.evaluation.statistics.Evaluator
-
Combine getRepMetric() with isHigherRepBetter() so that higher values that come out of this method are always better.
- 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 targets to truth 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
-
- getPredictedCategories(TrainingMap, StandardPredicate) - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
-
Build up a set that has all the atoms that represet the best categorical assignments.
- 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
-
- 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
-
- getRepMetric() - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
-
- getRepMetric() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
-
- getRepMetric() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
-
- getRepMetric() - Method in class org.linqs.psl.evaluation.statistics.Evaluator
-
The representative (rep) metric is the metric that was chosen to be the representative for this evaluator.
- getRepMetric() - 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 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
-
- getString() - Method in class org.linqs.psl.config.Option
-
- 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
-
- 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
-
- getTotalWeightedIncompatibility(Iterable<WeightedGroundRule>) - Static method in class org.linqs.psl.grounding.GroundRules
-
- 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.
- getUnlogged() - Method in class org.linqs.psl.config.Option
-
- 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(RandomVariableAtom) - Method in class org.linqs.psl.model.predicate.model.ModelPredicate
-
- getValue(RandomVariableAtom, int, int) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
Get the value for the specified atom.
- getValue(RandomVariableAtom) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- 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
-
- getVariableValue(GroundAtom) - Method in enum org.linqs.psl.reasoner.InitialValue
-
Get the value that this enum represents.
- getVariableValue(int) - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
-
- getVariableValue(int) - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- getVariableValue(int) - Method in interface org.linqs.psl.reasoner.term.VariableTermStore
-
Get the variable for the given index.
- 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 - Static variable in class org.linqs.psl.config.Options
-
- GIT_DIRTY - Static variable in class org.linqs.psl.config.Options
-
- 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.
- 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
-
- 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.
- GROUNDING_REWRITE_QUERY - Static variable in class org.linqs.psl.config.Options
-
- GROUNDING_SERIAL - Static variable in class org.linqs.psl.config.Options
-
- GroundingOnlyPredicate - Class in org.linqs.psl.model.predicate
-
Commonly used FunctionalPredicates that get special treatment in PSL.
- 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
-
- 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 - Interface in org.linqs.psl.grounding
-
- 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
-
- 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
-
- inference() - Method in class org.linqs.psl.application.inference.InferenceApplication
-
Alias for inference() with committing atoms.
- inference(boolean, boolean) - Method in class org.linqs.psl.application.inference.InferenceApplication
-
Minimize the total weighted incompatibility of the atoms according to the rules,
and optionally commit the updated atoms back to the database.
- inference - Variable in class org.linqs.psl.application.learning.weight.WeightLearningApplication
-
- INFERENCE_GRS - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_INITIAL_VARIABLE_VALUE - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_NORMALIZE_WEIGHTS - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_REASONER - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_RELAX - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_RELAX_MULTIPLIER - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_RELAX_SQUARED - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_TG - Static variable in class org.linqs.psl.config.Options
-
- INFERENCE_TS - Static variable in class org.linqs.psl.config.Options
-
- InferenceApplication - Class in org.linqs.psl.application.inference
-
All the tools necessary to perform infernce.
- InferenceApplication(List<Rule>, Database) - Constructor for class org.linqs.psl.application.inference.InferenceApplication
-
- InferenceApplication(List<Rule>, Database, boolean) - 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(int) - Method in class org.linqs.psl.util.Parallel.Worker
-
Called before any work is given.
- initForOptimization() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
-
- initForOptimization() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
-
- initForOptimization() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
-
- initForOptimization() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- initForOptimization() - Method in interface org.linqs.psl.reasoner.term.TermStore
-
A notification by the Reasoner that optimization is about to begin.
- initGroundModel() - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
-
Initialize all the infrastructure dealing with the ground model.
- initGroundModel(InferenceApplication, TrainingMap) - Method in class org.linqs.psl.application.learning.weight.WeightLearningApplication
-
Pass in all the ground model infrastructure.
- INITIAL_PATH_CACHE_SIZE - Static variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- 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.
- initializeAtoms() - Method in class org.linqs.psl.application.inference.InferenceApplication
-
Set all the random variable atoms to the initial value for this inference application.
- initialRound - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- initialValue - Variable in class org.linqs.psl.application.inference.InferenceApplication
-
- InitialValue - Enum in org.linqs.psl.reasoner
-
An enum that represents the initial value a variable should take.
- 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.
- 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
-
- IntegerAttribute(Integer) - Constructor for class org.linqs.psl.model.term.IntegerAttribute
-
Constructs an Integer attribute from an Integer
- 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.mpe.LazyMPEInference
-
- inverse() - Method in class org.linqs.psl.util.FloatMatrix
-
Compute the inversion of this matrix.
- isBlock() - Method in class org.linqs.psl.model.predicate.StandardPredicate
-
- isClosed(StandardPredicate) - Method in class org.linqs.psl.database.atom.AtomManager
-
- 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
-
- isHigherRepBetter() - Method in class org.linqs.psl.evaluation.statistics.CategoricalEvaluator
-
- isHigherRepBetter() - Method in class org.linqs.psl.evaluation.statistics.ContinuousEvaluator
-
- isHigherRepBetter() - Method in class org.linqs.psl.evaluation.statistics.DiscreteEvaluator
-
- isHigherRepBetter() - Method in class org.linqs.psl.evaluation.statistics.Evaluator
-
Is a higher value for the current representative metric better?
- isHigherRepBetter() - 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
-
- iterationComplete() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
-
- iterationComplete() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
-
- iterationComplete() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
-
- iterationComplete() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- iterationComplete() - Method in interface org.linqs.psl.reasoner.term.TermStore
-
A notification by the Reasoner that a single iteration is complete.
- 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.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
-
- RANDOM_SEED - Static variable in class org.linqs.psl.config.Options
-
- 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
-
- randomizePageAccess - Variable in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- 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
-
- RDBMS_FETCH_SIZE - Static variable in class org.linqs.psl.config.Options
-
- 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
-
- 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 - Class in org.linqs.psl.reasoner
-
An oprimizer to minimize the total weighted incompatibility
of the terms provided by a TermStore.
- Reasoner() - Constructor for class org.linqs.psl.reasoner.Reasoner
-
- REASONER_OBJECTIVE_BREAK - Static variable in class org.linqs.psl.config.Options
-
- REASONER_PRINT_INITIAL_OBJECTIVE - Static variable in class org.linqs.psl.config.Options
-
- REASONER_TOLERANCE - Static variable in class org.linqs.psl.config.Options
-
- 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
-
- relax(double, boolean) - Method in class org.linqs.psl.model.rule.arithmetic.UnweightedArithmeticRule
-
- relax(double, boolean) - Method in class org.linqs.psl.model.rule.logical.UnweightedLogicalRule
-
- relax(double, boolean) - Method in interface org.linqs.psl.model.rule.UnweightedRule
-
- relaxationMultiplier - Variable in class org.linqs.psl.application.inference.InferenceApplication
-
- relaxationSquared - Variable in class org.linqs.psl.application.inference.InferenceApplication
-
- RELAXED_EPSILON - Static variable in class org.linqs.psl.util.MathUtils
-
- RELAXED_EPSILON_FLOAT - Static variable in class org.linqs.psl.util.MathUtils
-
- relaxHardConstraints - Variable in class org.linqs.psl.application.inference.InferenceApplication
-
- relaxHardConstraints() - Method in class org.linqs.psl.application.inference.InferenceApplication
-
Relax hard constraints into weighted rules.
- 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 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 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
-
- 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.
- reset() - Method in class org.linqs.psl.reasoner.admm.term.ADMMTermStore
-
- reset() - Method in class org.linqs.psl.reasoner.term.MemoryTermStore
-
- reset() - Method in class org.linqs.psl.reasoner.term.MemoryVariableTermStore
-
- reset() - Method in class org.linqs.psl.reasoner.term.streaming.StreamingTermStore
-
- reset() - Method in interface org.linqs.psl.reasoner.term.TermStore
-
Reset the existing terms for another round of inference.
- resetLabels() - Method in class org.linqs.psl.model.predicate.model.ModelPredicate
-
- resetLabels() - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- 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
-
- 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.
- 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.application.inference.InferenceApplication
-
- 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.model.predicate.model.SupportingModel
-
Run the model and store the result internally.
- run() - Method in class org.linqs.psl.util.Parallel.Worker
-
- runModel() - Method in class org.linqs.psl.model.predicate.model.ModelPredicate
-
- RUNTIME_COLLECTION_PERIOD - Static variable in class org.linqs.psl.config.Options
-
- RUNTIME_STATS_COLLECT - Static variable in class org.linqs.psl.config.Options
-
- 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
-
- scale - 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
-
- scaleGradient - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- scaleStepSize - Variable in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
- scalingWeights - Variable in class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessKernel
-
- seed(int) - Static method in class org.linqs.psl.util.RandUtils
-
- 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
-
- set(Object) - Method in class org.linqs.psl.config.Option
-
Set the value (in the Config) for this Option.
- 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.inference.InferenceApplication
-
Set a budget (given as a proportion of the max budget).
- setBudget(double) - Method in class org.linqs.psl.application.learning.weight.maxlikelihood.MaxPiecewisePseudoLikelihood
-
- 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).
- setBudget(double) - Method in class org.linqs.psl.reasoner.Reasoner
-
Set a budget (given 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.VotedPerceptron
-
Set all RandomVariableAtoms we know of 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.
- setLabel(RandomVariableAtom, float) - Method in class org.linqs.psl.model.predicate.model.ModelPredicate
-
- setLabel(RandomVariableAtom, float) - Method in class org.linqs.psl.model.predicate.model.SupportingModel
-
- setLabeledRandomVariables() - Method in class org.linqs.psl.application.learning.weight.VotedPerceptron
-
Set RandomVariableAtoms with training labels to their observed values.
- setLagrange(float) - Method in class org.linqs.psl.reasoner.admm.term.LocalVariable
-
- 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
-
- SGD_LEARNING_RATE - Static variable in class org.linqs.psl.config.Options
-
- SGD_MAX_ITER - Static variable in class org.linqs.psl.config.Options
-
- SGD_MOVEMENT - Static variable in class org.linqs.psl.config.Options
-
- SGD_MOVEMENT_THRESHOLD - Static variable in class org.linqs.psl.config.Options
-
- SGDInference - Class in org.linqs.psl.application.inference.mpe
-
Use an SGD reasoner to perform MPE inference.
- SGDInference(List<Rule>, Database) - Constructor for class org.linqs.psl.application.inference.mpe.SGDInference
-
- 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.mpe
-
Use streaming grounding and inference with an SGD reasoner.
- SGDStreamingInference(List<Rule>, Database) - Constructor for class org.linqs.psl.application.inference.mpe.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
-
- 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.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
-
- 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.
- StandardPredicate(String, ConstantType[]) - Constructor for class org.linqs.psl.model.predicate.StandardPredicate
-
- stopCollection() - Static method in class org.linqs.psl.util.RuntimeStats
-
- STREAMING_TS_PAGE_LOCATION - Static variable in class org.linqs.psl.config.Options
-
- STREAMING_TS_PAGE_SIZE - Static variable in class org.linqs.psl.config.Options
-
- STREAMING_TS_RANDOMIZE_PAGE_ACCESS - Static variable in class org.linqs.psl.config.Options
-
- STREAMING_TS_SHUFFLE_PAGE - Static variable in class org.linqs.psl.config.Options
-
- STREAMING_TS_WARN_RULES - Static variable in class org.linqs.psl.config.Options
-
- 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
-
A term store that does not hold all the terms in memory, but instead keeps most terms on disk.
- 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
-
- 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
-
- SummationAtom(Predicate, SummationVariableOrTerm[]) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.SummationAtom
-
- SummationAtomOrAtom - Interface in org.linqs.psl.model.rule.arithmetic.expression
-
- summationMapping - Variable in class org.linqs.psl.model.rule.arithmetic.expression.ArithmeticRuleExpression
-
- SummationVariable - Class in org.linqs.psl.model.rule.arithmetic.expression
-
- SummationVariable(String) - Constructor for class org.linqs.psl.model.rule.arithmetic.expression.SummationVariable
-
- SummationVariableOrTerm - Interface in org.linqs.psl.model.rule.arithmetic.expression
-
- SupportingModel - Class in org.linqs.psl.model.predicate.model
-
A model that is used by a ModelPredicate.
- SupportingModel() - Constructor for class org.linqs.psl.model.predicate.model.SupportingModel
-
- SupportingModel.AtomIndexes - Class in org.linqs.psl.model.predicate.model
-
- 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.
- 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.
- 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.
- v - Variable in class org.linqs.psl.model.rule.arithmetic.expression.coefficient.Cardinality
-
- validate(Formula) - Static method in class org.linqs.psl.database.DatabaseQuery
-
- validateTypes(Predicate, ConstantType[]) - Static method in class org.linqs.psl.model.predicate.StandardPredicate
-
- 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() - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.ValueAndStd
-
- ValueAndStd(float, float) - Constructor for class org.linqs.psl.application.learning.weight.bayesian.GaussianProcessPrior.ValueAndStd
-
- 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.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.function.FunctionComparator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.linqs.psl.reasoner.InitialValue
-
Returns the enum constant of this type with the specified name.
- 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.function.FunctionComparator
-
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.InitialValue
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Variable - Class in org.linqs.psl.model.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
-
- 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.
- 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) - Constructor for class org.linqs.psl.application.learning.weight.VotedPerceptron
-