Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Z
_
G
GAtom
- Class in
tuffy.infer.ds
A ground atom.
GAtom(int)
- Constructor for class tuffy.infer.ds.
GAtom
Constructor for GAtom.
gatom2key
- Variable in class tuffy.infer.ds.
KeyBlock
GAtomTest
- Class in
tuffy.test
Testing class for
GAtom
object.
GAtomTest()
- Constructor for class tuffy.test.
GAtomTest
gauss_seidel_infer_rounds
- Static variable in class tuffy.util.
Config
gc
- Static variable in class tuffy.test.
GClauseTest
GClause
- Class in
tuffy.infer.ds
A ground clause.
GClause()
- Constructor for class tuffy.infer.ds.
GClause
GClauseTest
- Class in
tuffy.test
Testing class for
GClause
object.
GClauseTest()
- Constructor for class tuffy.test.
GClauseTest
generateSQL()
- Method in class tuffy.mln.
Clause
Generate the SQL command for grounding this clause.
Generic
- Static variable in class tuffy.mln.
Type
Built-in types
get(int)
- Method in class tuffy.mln.
Tuple
Return the i-th element.
get(String)
- Method in class tuffy.util.
Settings
getAllDatalogRules()
- Method in class tuffy.mln.
MarkovLogicNetwork
getAllFreeBinding()
- Method in class tuffy.ra.
ConjunctiveQuery
getAllNormalizedClauses()
- Method in class tuffy.mln.
MarkovLogicNetwork
Return all normalized clauses.
getAllPred()
- Method in class tuffy.mln.
MarkovLogicNetwork
Return the set of all predicates.
getAllPredOrderByName()
- Method in class tuffy.mln.
MarkovLogicNetwork
getAllUnnormalizedClauses()
- Method in class tuffy.mln.
MarkovLogicNetwork
Return all unnormalized clauses as read from the input file.
getArgPositionByName(String)
- Method in class tuffy.mln.
Predicate
Return the position of the given argument name.
getArgs()
- Method in class tuffy.mln.
Predicate
Return argument names of this predicate.
getArgs()
- Method in class tuffy.ra.
Expression
getArgTypes()
- Method in class tuffy.ra.
Function
getArguments()
- Method in class tuffy.ra.
AtomEx
getAtomNeighbors(int)
- Method in class tuffy.infer.
MRF
For research experiments! Get all neighboring atoms of one atom.
getBaseMem()
- Static method in class tuffy.util.
DebugMan
getBlockMates(GAtom)
- Method in class tuffy.infer.ds.
KeyBlock
getBool(String)
- Method in class tuffy.util.
Settings
getBoundedSQL(HashSet<String>)
- Method in class tuffy.ra.
ConjunctiveQuery
getBufferedReaderMaybeGZ(String)
- Static method in class tuffy.util.
FileMan
getBufferedWriterMaybeGZ(String)
- Static method in class tuffy.util.
FileMan
getBuiltInFunctionByName(String)
- Static method in class tuffy.ra.
Function
getBuiltInPredByName(String)
- Static method in class tuffy.mln.
Predicate
Return the predicate object with the name as the argument string.
getClauseById(int)
- Method in class tuffy.mln.
MarkovLogicNetwork
Get the clause object by integer ID.
getCompByID(int)
- Method in class tuffy.ground.partition.
PartitionScheme
getCompByPartID(int)
- Method in class tuffy.ground.partition.
PartitionScheme
getComponent()
- Method in class tuffy.infer.
InferComponent
getComponents()
- Method in class tuffy.ground.partition.
Bucket
getConnection()
- Method in class tuffy.db.
RDB
Return the database connection.
getConstaintStringAsLits()
- Method in class tuffy.mln.
Clause
getConstraint()
- Method in class tuffy.ra.
ConjunctiveQuery
getConstraint(HashSet<String>)
- Method in class tuffy.ra.
ConjunctiveQuery
getConstraints()
- Method in class tuffy.mln.
Clause
getCoreAtoms()
- Method in class tuffy.infer.
MRF
getCost()
- Method in class tuffy.infer.
InferBucket
Get the cost after inference.
getCost()
- Method in class tuffy.infer.
InferComponent
getCost()
- Method in class tuffy.infer.
MRF
getCqById(int)
- Static method in class tuffy.ra.
ConjunctiveQuery
getDateTime()
- Static method in class tuffy.util.
Timer
getDB()
- Method in class tuffy.mln.
MarkovLogicNetwork
getDependentAttrPositions()
- Method in class tuffy.mln.
Predicate
getDependentAttrs()
- Method in class tuffy.mln.
Predicate
Get attributes whose value depend on other attributes in any possible world.
getDescription()
- Method in class tuffy.parse.
MLNLexer.DFA21
getDescription()
- Method in class tuffy.parse.
MLNLexer.DFA23
getDescription()
- Method in class tuffy.parse.
MLNLexer.DFA8
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA1
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA11
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA18
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA22
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA26
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA29
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA30
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA40
getDescription()
- Method in class tuffy.parse.
MLNParser.DFA45
getDouble(String)
- Method in class tuffy.util.
Settings
getFileSize(String)
- Static method in class tuffy.util.
FileMan
getFlipRate()
- Method in class tuffy.util.
Timer.RunStat
getFlipSequence(GAtom)
- Method in class tuffy.infer.
MRF
getFunction()
- Method in class tuffy.ra.
Expression
getFunctionByName(String)
- Method in class tuffy.mln.
MarkovLogicNetwork
Get a function by its name; can be built-in.
getGradientAndD(MRF)
- Method in class tuffy.learn.
DNLearner
Calculate the gradient and H^(-1)g by filling in
DNLearner.currentD
and
DNLearner.currentGradient
.
getGrammarFileName()
- Method in class tuffy.parse.
ConfigLexer
getGrammarFileName()
- Method in class tuffy.parse.
ConfigParser
getGrammarFileName()
- Method in class tuffy.parse.
MLNLexer
getGrammarFileName()
- Method in class tuffy.parse.
MLNParser
getGroundTime()
- Method in class tuffy.util.
Timer.RunStat
getGZIPVariant(String)
- Static method in class tuffy.util.
FileMan
getId()
- Method in class tuffy.mln.
Clause
Get clause ID.
getID()
- Method in class tuffy.mln.
MarkovLogicNetwork
getID()
- Method in class tuffy.mln.
Predicate
Return the assigned ID of this predicate in its parent MLN.
getID()
- Method in class tuffy.ra.
ConjunctiveQuery
getIdx()
- Method in class tuffy.mln.
Literal
Return the assigned index of this literal in its parent clause.
getInitStrategy()
- Method in class tuffy.infer.
MRF
getInt(String)
- Method in class tuffy.util.
Settings
getJoinSQL(HashSet<String>)
- Method in class tuffy.ra.
ConjunctiveQuery
getKeyAttrPositions()
- Method in class tuffy.mln.
Predicate
getKeyAttrs()
- Method in class tuffy.mln.
Predicate
Get attributes that form a possible world key.
getLastUpdateRowCount()
- Method in class tuffy.db.
RDB
Return the number of affected tuples from last update.
getLines(String)
- Static method in class tuffy.util.
FileMan
Reads lines from a text file.
getList()
- Method in class tuffy.util.
HashArray
getLiteralsOfPredicate(Predicate)
- Method in class tuffy.mln.
Clause
Return the member literals of a particular predicate.
getLoadingDir()
- Static method in class tuffy.util.
Config
getLog()
- Static method in class tuffy.util.
DebugMan
getLogOddsWeight(double)
- Static method in class tuffy.util.
MathMan
getMLN()
- Method in class tuffy.ground.
Grounding
Get the MLN object used for grounding.
getMLN()
- Method in class tuffy.infer.
MRF
getMRFByPartID(int)
- Method in class tuffy.ground.partition.
PartitionScheme
getName()
- Method in class tuffy.mln.
Clause
Return the assigned name of this clause.
getName()
- Method in class tuffy.mln.
Predicate
Return the name of this predicate.
getName()
- Method in class tuffy.ra.
Function
getName()
- Method in class tuffy.util.
UnionFind.Record
getNetTuplePrior()
- Method in class tuffy.ra.
ConjunctiveQuery
getNonSymbolicType()
- Method in class tuffy.mln.
Type
getNonSymbolicTypeInSQL()
- Method in class tuffy.mln.
Type
getNumAtoms()
- Method in class tuffy.ground.
Grounding
Return the number of active atoms in the grounding result.
getNumAtoms()
- Method in class tuffy.ground.partition.
PartitionScheme
getNumBuckets()
- Method in class tuffy.infer.
InferPartitioned
getNumClauses()
- Method in class tuffy.ground.
Grounding
Return the number of active clauses in the grounding result.
getNumClusters()
- Method in class tuffy.util.
UnionFind
getNumThreads()
- Method in class tuffy.infer.
InferBucket
getNumThreads()
- Static method in class tuffy.util.
Config
getOrCreateTypeByName(String)
- Method in class tuffy.mln.
MarkovLogicNetwork
Return the type of a given name; create if this type does not exist.
getParent()
- Method in class tuffy.util.
UnionFind.Record
getParentDir(String)
- Static method in class tuffy.util.
FileMan
getPartitionByID(int)
- Method in class tuffy.ground.partition.
PartitionScheme
getPartitionMap()
- Method in class tuffy.util.
UnionFind
getPartitions()
- Method in class tuffy.ground.partition.
Bucket
getPartitionScheme()
- Method in class tuffy.infer.
InferPartitioned
getPeakMem()
- Static method in class tuffy.util.
DebugMan
getPgFunction()
- Method in class tuffy.ra.
Function
Get the corresponding function name inside PgSQL.
getPred()
- Method in class tuffy.mln.
Literal
Return the predicate of this literal.
getPred()
- Method in class tuffy.ra.
AtomEx
Returns the predicate of this literal.
getPredByName(String)
- Method in class tuffy.mln.
MarkovLogicNetwork
Return the predicate of the given name; null if such predicate does not exist.
getPrepareStatement(String)
- Method in class tuffy.db.
RDB
Return a prepared statement of the given SQL statement.
getQueryAtoms()
- Method in class tuffy.mln.
Predicate
Return query atoms of this predicate.
getRandomElement()
- Method in class tuffy.util.
HashArray
getRDB()
- Method in class tuffy.mln.
MarkovLogicNetwork
Returns the RDB used by this MLN.
getRDBbyConfig()
- Static method in class tuffy.db.
RDB
Attempt to establish the connection as specified in the (deault) configuration.
getRDBbyConfig(String)
- Static method in class tuffy.db.
RDB
getRecords()
- Method in class tuffy.util.
UnionFind
getReferencedPredicates()
- Method in class tuffy.mln.
Clause
Return the set of predicates referenced by this clause.
getRegLiterals()
- Method in class tuffy.mln.
Clause
Return the list of non-built-in literals (i.e., regular literals).
getRelAct()
- Method in class tuffy.mln.
Predicate
Return the name of relational table containing the ID of active atoms associated with this predicate.
getRelatedClauses()
- Method in class tuffy.mln.
Predicate
Return clauses referencing this predicate.
getRelevantClauses()
- Method in class tuffy.mln.
MarkovLogicNetwork
Returns the set of relevant clauses.
getRelName()
- Method in class tuffy.mln.
Predicate
Return the relational table name of this predicate..
getRelName()
- Method in class tuffy.mln.
Type
Return the name of the DB relational table of this type.
getRetType()
- Method in class tuffy.ra.
Function
Get return type
getRoot(E)
- Method in class tuffy.util.
UnionFind
getRoots()
- Method in class tuffy.util.
UnionFind
getSense()
- Method in class tuffy.mln.
Literal
Return true if this is a positive literal.
getSequenceCurValue(String)
- Method in class tuffy.db.
RDB
Read the current value of a sequence.
getSignature()
- Method in class tuffy.mln.
Clause
Return the "signature" of this clause.
getSimpleInferenceResult()
- Method in class tuffy.test.
GroundingTest
getSimpleInferenceResult()
- Method in class tuffy.test.
InferenceTest
getSize()
- Method in class tuffy.util.
UnionFind.Record
getSpecText()
- Method in class tuffy.mln.
Clause
getSpecTextFlat()
- Method in class tuffy.mln.
Clause
getStats()
- Method in class tuffy.ground.partition.
PartitionScheme
Show stats about this partitioning scheme.
getString(String)
- Method in class tuffy.util.
Settings
getStringForm(boolean)
- Method in class tuffy.ra.
Expression
Compute the SQL representation of this expression.
getSymbolID(String, Type)
- Method in class tuffy.mln.
MarkovLogicNetwork
Return assigned ID of a constant symbol.
getTask()
- Method in class tuffy.infer.
InferBucket
Get the next unprocessed component in the queue
getTerms()
- Method in class tuffy.mln.
Literal
Return the list of terms in this literal.
getTextContent(String)
- Static method in class tuffy.util.
FileMan
Reads content from a text file.
getTokenNames()
- Method in class tuffy.parse.
ConfigParser
getTokenNames()
- Method in class tuffy.parse.
MLNParser
getTokens(String)
- Method in class tuffy.parse.
InputParser
getTree()
- Method in class tuffy.parse.
ConfigParser.config_return
getTree()
- Method in class tuffy.parse.
ConfigParser.state_return
getTree()
- Method in class tuffy.parse.
MLNParser.atom_return
getTree()
- Method in class tuffy.parse.
MLNParser.atomicExpression_return
getTree()
- Method in class tuffy.parse.
MLNParser.boolConjunction_return
getTree()
- Method in class tuffy.parse.
MLNParser.boolConjunctionElement_return
getTree()
- Method in class tuffy.parse.
MLNParser.boolExpression_return
getTree()
- Method in class tuffy.parse.
MLNParser.datalogRule_return
getTree()
- Method in class tuffy.parse.
MLNParser.definitions_return
getTree()
- Method in class tuffy.parse.
MLNParser.evidence_return
getTree()
- Method in class tuffy.parse.
MLNParser.evidenceList_return
getTree()
- Method in class tuffy.parse.
MLNParser.existQuan_return
getTree()
- Method in class tuffy.parse.
MLNParser.expression_return
getTree()
- Method in class tuffy.parse.
MLNParser.foclause_return
getTree()
- Method in class tuffy.parse.
MLNParser.funcArgument_return
getTree()
- Method in class tuffy.parse.
MLNParser.funcExpression_return
getTree()
- Method in class tuffy.parse.
MLNParser.functionalAtom_return
getTree()
- Method in class tuffy.parse.
MLNParser.functionalDependency_return
getTree()
- Method in class tuffy.parse.
MLNParser.functionalDependencyItem_return
getTree()
- Method in class tuffy.parse.
MLNParser.hardRule_return
getTree()
- Method in class tuffy.parse.
MLNParser.literal_return
getTree()
- Method in class tuffy.parse.
MLNParser.mathComparison_return
getTree()
- Method in class tuffy.parse.
MLNParser.mathExpression_return
getTree()
- Method in class tuffy.parse.
MLNParser.mathFactor_return
getTree()
- Method in class tuffy.parse.
MLNParser.mathTerm_return
getTree()
- Method in class tuffy.parse.
MLNParser.mlnRule_return
getTree()
- Method in class tuffy.parse.
MLNParser.predArg_return
getTree()
- Method in class tuffy.parse.
MLNParser.query_return
getTree()
- Method in class tuffy.parse.
MLNParser.queryCommaList_return
getTree()
- Method in class tuffy.parse.
MLNParser.queryList_return
getTree()
- Method in class tuffy.parse.
MLNParser.ruleList_return
getTree()
- Method in class tuffy.parse.
MLNParser.schema_return
getTree()
- Method in class tuffy.parse.
MLNParser.schemaConstraint_return
getTree()
- Method in class tuffy.parse.
MLNParser.schemaList_return
getTree()
- Method in class tuffy.parse.
MLNParser.scopingRule_return
getTree()
- Method in class tuffy.parse.
MLNParser.softRule_return
getTree()
- Method in class tuffy.parse.
MLNParser.term_return
getTreeAdaptor()
- Method in class tuffy.parse.
ConfigParser
getTreeAdaptor()
- Method in class tuffy.parse.
MLNParser
getTypeAt(int)
- Method in class tuffy.mln.
Predicate
Return the type of the k-th argument.
getUniqueFileName()
- Static method in class tuffy.util.
FileMan
getUniqueFileNameAbsolute()
- Static method in class tuffy.util.
FileMan
getUniqVarName()
- Static method in class tuffy.util.
StringMan
getVars()
- Method in class tuffy.mln.
Literal
Return the set of variable names in this literal.
getVars()
- Method in class tuffy.ra.
AtomEx
Returns the set of variable names in this literal.
getVars()
- Method in class tuffy.ra.
Expression
Get the variables referenced by this expression.
getVarWeight()
- Method in class tuffy.mln.
Clause
Get the variable in this clause that is used as clause weights
getWeight()
- Method in class tuffy.mln.
Clause
Return the weight of this clause.
getWeight()
- Method in class tuffy.ra.
ConjunctiveQuery
getWeight()
- Method in class tuffy.util.
UnionFind.Record
getWeightExp()
- Method in class tuffy.mln.
Clause
Return the expression of clause weights to be used in SQL.
getWorkingDir()
- Static method in class tuffy.util.
Config
GreaterThan
- Static variable in class tuffy.ra.
Function
GreaterThanEq
- Static variable in class tuffy.ra.
Function
ground()
- Method in class tuffy.main.
Infer
Ground the MLN into an MRF.
groundAndStoreAtom(Atom)
- Method in class tuffy.mln.
Predicate
Ground an atom and store the result in the database.
Grounding
- Class in
tuffy.ground
This class handles the grounding process of MLN inference/learning with SQL queries.
Grounding(MarkovLogicNetwork)
- Constructor for class tuffy.ground.
Grounding
Create a grounding worker for an MLN.
grounding
- Variable in class tuffy.infer.
InferPartitioned
grounding
- Variable in class tuffy.infer.
PGInfer
Deprecated.
grounding
- Variable in class tuffy.main.
Infer
Grounding worker.
GroundingTest
- Class in
tuffy.test
Testing class for grounding.
GroundingTest()
- Constructor for class tuffy.test.
GroundingTest
groundSec
- Variable in class tuffy.util.
Timer.RunStat
groundSize()
- Method in class tuffy.mln.
Atom
Return the number of grounded atoms when grounding this atom.
groupPartitionsIntoBuckets()
- Method in class tuffy.infer.
InferPartitioned
Group components/partitions to enable efficient batch loading and parallel inference.
guid
- Static variable in class tuffy.ground.partition.
Bucket
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Z
_