|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.put.semintec.mining.association.PatternMiningWithoutBackgroundKnowledge
public class PatternMiningWithoutBackgroundKnowledge
Represents an algorithm for mining patterns that do not exploit KB semantics during pattern generation.
Field Summary | |
---|---|
static int |
BREADTH_FIRST_SEARCH
Breadth-first search direction for patterns. |
static int |
DEPTH_FIRST_SEARCH
Depth-first search direction for patterns. |
Constructor Summary | |
---|---|
PatternMiningWithoutBackgroundKnowledge()
|
Method Summary | |
---|---|
boolean |
addToInfrequentPatterns(Pattern p,
KnowledgeBase kb)
|
boolean |
getAnswerCaching()
Getter of the property answerCaching |
Bias |
getBias()
Getter of the property bias |
java.util.ArrayList |
getInfrequentPatterns()
Getter of the property infrequentPatterns |
KnowledgeBase |
getKb()
Getter of the property kb |
KnowledgeBase |
getKbCopy()
Getter of the property kbCopy |
int |
getMaxLength()
Getter of the property maxLength |
double |
getMinSupport()
Getter of the property minSupport |
org.semanticweb.kaon2.api.owl.elements.OWLClass |
getRefClass()
Getter of the property refClass |
org.semanticweb.kaon2.api.logic.Variable |
getRefVar()
Getter of the property refVar |
int |
getSearchDirection()
Getter of the property searchDirection |
Statistics |
getStatistics()
Getter of the property statistics |
Trie |
getTrie()
Getter of the property trie |
void |
mine()
Executes the algorithm for pattern mining. |
void |
setAnswerCaching(boolean answerCaching)
Setter of the property answerCaching |
void |
setBias(Bias bias)
Setter of the property bias |
void |
setInfrequentPatterns(java.util.ArrayList infrequentPatterns)
Setter of the property infrequentPatterns |
void |
setKb(KnowledgeBase kb)
Setter of the property kb |
void |
setKbCopy(KnowledgeBase kbCopy)
Setter of the property kbCopy |
void |
setMaxLength(int maxLength)
Setter of the property maxLength |
void |
setMinSupport(double minSupport)
Setter of the property minSupport |
void |
setRefClass(org.semanticweb.kaon2.api.owl.elements.OWLClass refClass)
Setter of the property refClass |
void |
setRefVar(org.semanticweb.kaon2.api.logic.Variable refVar)
Setter of the property refVar |
void |
setSearchDirection(int searchDirection)
Setter of the property searchDirection |
void |
setStatistics(Statistics statistics)
Setter of the property statistics |
void |
setTrie(Trie trie)
Setter of the property trie |
boolean |
subsumedByInfrequentPattern(Pattern p,
KnowledgeBase kb)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int DEPTH_FIRST_SEARCH
public static int BREADTH_FIRST_SEARCH
Constructor Detail |
---|
public PatternMiningWithoutBackgroundKnowledge()
Method Detail |
---|
public java.util.ArrayList getInfrequentPatterns()
public void setInfrequentPatterns(java.util.ArrayList infrequentPatterns)
infrequentPatterns
- The infrequentPatterns to set.public Bias getBias()
public void setBias(Bias bias)
bias
- The bias to set.public Statistics getStatistics()
public void setStatistics(Statistics statistics)
statistics
- The statistics to set.public int getSearchDirection()
public void setSearchDirection(int searchDirection)
searchDirection
- The searchDirection to set.public boolean getAnswerCaching()
public void setAnswerCaching(boolean answerCaching)
answerCaching
- The answerCaching to set.public Trie getTrie()
public void setTrie(Trie trie)
trie
- The trie to set.public KnowledgeBase getKb()
public void setKb(KnowledgeBase kb)
kb
- The kb to set.public void setKbCopy(KnowledgeBase kbCopy)
kbCopy
- The kbCopy to set.public KnowledgeBase getKbCopy()
public org.semanticweb.kaon2.api.logic.Variable getRefVar()
public void setRefVar(org.semanticweb.kaon2.api.logic.Variable refVar)
refVar
- The refVar to set.public org.semanticweb.kaon2.api.owl.elements.OWLClass getRefClass()
public void setRefClass(org.semanticweb.kaon2.api.owl.elements.OWLClass refClass)
refClass
- The refClass to set.public int getMaxLength()
public void setMaxLength(int maxLength)
maxLength
- The maxLength to set.public double getMinSupport()
public void setMinSupport(double minSupport)
minSupport
- The minSupport to set.public void mine()
public boolean subsumedByInfrequentPattern(Pattern p, KnowledgeBase kb) throws org.semanticweb.kaon2.api.KAON2Exception, java.lang.InterruptedException
p
- A pattern that is tested whether it is not subsumed by already found infrequent onekb
- A knowledge base w.r.t. pattern subsumption is tested.
java.lang.InterruptedException
org.semanticweb.kaon2.api.KAON2Exception
public boolean addToInfrequentPatterns(Pattern p, KnowledgeBase kb) throws org.semanticweb.kaon2.api.KAON2Exception, java.lang.InterruptedException
p
- A pattern to be added to infrequent patterns list.
In order to keep at the list the patterns that are maximally general, it is tested if the pattern is not
subsumed by some pattern already present in the list and if this pattern does not subsume any other pattern on the listkb
- A knowledge base w.r.t. pattern subsumption is tested.
java.lang.InterruptedException
org.semanticweb.kaon2.api.KAON2Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |