public class ConditionalKeyMiningAssistant extends KeyMinerMiningAssistant
hardQueriesallowConstants, avoidUnboundTypeAtoms, bodyExcludedRelations, bodyTargetRelations, confidenceMetric, countAlwaysOnSubject, enabledConfidenceUpperBounds, enabledFunctionalityHeuristic, enablePerfectRules, enableQueryRewriting, enforceConstants, exploitMaxLengthOption, headCardinalities, headExcludedRelations, kb, kbSchema, maxDepth, minPcaConfidence, minStdConfidence, recursivityLimit, subPropertyString, totalObjectCount, totalSubjectCount, typeString, verbose| Constructor and Description |
|---|
ConditionalKeyMiningAssistant(KB dataSource,
java.lang.String nonKeysFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
getClosingAtoms(Rule query,
double minSupportThreshold,
java.util.Collection<Rule> output)
Returns all candidates obtained by adding a composite closing edge of the form
r(x, z), r(y, z) where x, y are the head variables of the rule sent as argument.
|
void |
getDanglingAtoms(Rule query,
double minCardinality,
java.util.Collection<Rule> output)
Returns all candidates obtained by adding a new triple pattern to the query
|
java.lang.String |
getDescription()
Brief description of the MiningAssistant capabilities.
|
void |
getInstantiatedAtoms(Rule query,
double minCardinality,
java.util.Collection<Rule> temporalSomething,
java.util.Collection<Rule> output)
Returns all candidates obtained by instantiating the dangling variable of the last added
triple pattern in the rule
|
getInitialAtomsFromSeedscalculateConfidenceMetrics, computeBodySize, computeCardinality, computePcaBodySize, computePCAConfidence, computeStandardConfidence, containsHardCase, getDanglingAtoms, getInitialAtoms, getInstantiatedAtoms, getTotalCount, main, rewriteProjectionQuerybuildInitialQueries, calculateConfidenceApproximationFor3Atoms, calculateConfidenceApproximationForGeneralCase, calculateConfidenceBoundsAndApproximations, canAddInstantiatedAtoms, findCountingVariable, getBodyExcludedRelations, getBodyTargetRelations, getConfidenceMetric, getFactsCount, getHeadCardinality, getHeadExcludedRelations, getKb, getKbSchema, getMaxDepth, getMinConfidence, getPcaConfidenceThreshold, getRecursivityLimit, getRelationCardinality, getRelationCardinality, getSubClasses, getTotalCount, getTotalObjectCount, getTotalSubjectCount, isAvoidUnboundTypeAtoms, isEnabledConfidenceUpperBounds, isEnabledFunctionalityHeuristic, isEnablePerfectRules, isEnableQueryRewriting, isEnforceConstants, isExploitMaxLengthOption, isVerbose, registerHeadRelation, setAllowConstants, setAvoidUnboundTypeAtoms, setBodyExcludedRelations, setConfidenceMetric, setCountAlwaysOnSubject, setEnabledConfidenceUpperBounds, setEnabledFunctionalityHeuristic, setEnablePerfectRules, setEnableQueryRewriting, setEnforceConstants, setExploitMaxLengthOption, setHeadExcludedRelations, setKbSchema, setMaxDepth, setPcaConfidenceThreshold, setRecursivityLimit, setStdConfidenceThreshold, setTargetBodyRelations, setVerbose, testConfidenceThresholds, testLengthpublic ConditionalKeyMiningAssistant(KB dataSource, java.lang.String nonKeysFile) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOExceptionpublic java.lang.String getDescription()
MiningAssistantgetDescription in class KeyMinerMiningAssistantpublic void getClosingAtoms(Rule query, double minSupportThreshold, java.util.Collection<Rule> output)
KeyMinerMiningAssistantgetClosingAtoms in class KeyMinerMiningAssistantminSupportThreshold - Only candidates with support above or equal this value are returned.public void getDanglingAtoms(Rule query, double minCardinality, java.util.Collection<Rule> output)
DefaultMiningAssistantgetDanglingAtoms in class KeyMinerMiningAssistantpublic void getInstantiatedAtoms(Rule query, double minCardinality, java.util.Collection<Rule> temporalSomething, java.util.Collection<Rule> output)
MiningAssistantgetInstantiatedAtoms in class MiningAssistant