|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgrounding.Grounding
public class Grounding
This class handles the grounding process of MLN inference/learning with SQL queries. See our technical report at http://tuffguy.cs.wisc.edu/tuffy/tuffy-tech-report.pdf as well as prior works: http://alchemy.cs.washington.edu/papers/singla06a/singla06a.pdf http://alchemy.cs.washington.edu/papers/pdfs/shavlik-natarajan09.pdf Alchemy implements "lazy inference" with a one-step look-ahead strategy for initial groundings; we generalize it into a closure algorithm that avoid incremental "activation" altogether.
Constructor Summary | |
---|---|
Grounding(MarkovLogicNetwork mln)
Create a grounding worker for an MLN. |
Method Summary | |
---|---|
void |
assignRandomTruth()
Assign random truth values to the atoms. |
void |
constructMRF()
Construct the MRF. |
MarkovLogicNetwork |
getMLN()
Get the MLN object used for grounding. |
int |
getNumAtoms()
Return the number of active atoms in the grounding result. |
int |
getNumClauses()
Return the number of active clauses in the grounding result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grounding(MarkovLogicNetwork mln)
Method Detail |
---|
public void assignRandomTruth()
Config.relAtoms
public void constructMRF()
public MarkovLogicNetwork getMLN()
public int getNumAtoms()
public int getNumClauses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |