public abstract class AbstractLGGGenerator extends Object implements LGGGenerator, StoppableOperation, TimeoutableOperation
Modifier and Type | Class and Description |
---|---|
static class |
AbstractLGGGenerator.BlankNodeScope |
Constructor and Description |
---|
AbstractLGGGenerator() |
Modifier and Type | Method and Description |
---|---|
RDFResourceTree |
getLGG(RDFResourceTree tree1,
RDFResourceTree tree2,
boolean learnFilters)
Returns the Least General Generalization of two RDF resource trees.
|
boolean |
isComplete() |
void |
setBlankNodeScope(AbstractLGGGenerator.BlankNodeScope blankNodeScope) |
void |
setTimeout(long timeout,
TimeUnit timeoutUnits) |
void |
stop() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLGG, getLGG, getLGG
public AbstractLGGGenerator()
public RDFResourceTree getLGG(RDFResourceTree tree1, RDFResourceTree tree2, boolean learnFilters)
LGGGenerator
getLGG
in interface LGGGenerator
tree1
- the first treetree2
- the second treelearnFilters
- whether to learn filters on literal valuespublic void setTimeout(long timeout, TimeUnit timeoutUnits)
setTimeout
in interface TimeoutableOperation
public void stop()
stop
in interface StoppableOperation
public boolean isComplete()
public void setBlankNodeScope(AbstractLGGGenerator.BlankNodeScope blankNodeScope)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann