public class LinearInclusionDependencies<P extends AtomPredicate> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LinearInclusionDependencies.Builder<P extends AtomPredicate> |
static class |
LinearInclusionDependencies.LinearInclusionDependency<P extends AtomPredicate> |
| Modifier and Type | Field and Description |
|---|---|
protected AtomFactory |
atomFactory |
protected com.google.common.collect.ImmutableList<LinearInclusionDependencies.LinearInclusionDependency<P>> |
dependencies |
| Modifier | Constructor and Description |
|---|---|
protected |
LinearInclusionDependencies(CoreUtilsFactory coreUtilsFactory,
AtomFactory atomFactory,
com.google.common.collect.ImmutableList<LinearInclusionDependencies.LinearInclusionDependency<P>> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
static <P extends AtomPredicate> |
builder(CoreUtilsFactory coreUtilsFactory,
AtomFactory atomFactory) |
com.google.common.collect.ImmutableSet<DataAtom<P>> |
chaseAllAtoms(com.google.common.collect.ImmutableCollection<DataAtom<P>> atoms)
Chases given atoms with the linear inclusions dependencies
IMPORTANT: each dependency is applied only ONCE to each atom
|
com.google.common.collect.ImmutableSet<DataAtom<P>> |
chaseAtom(DataAtom<P> atom)
Chases a given atom with the linear inclusions dependencies
IMPORTANT: each dependency is applied only ONCE to the atom
|
protected ImmutableHomomorphism |
extendWithLabelledNulls(LinearInclusionDependencies.LinearInclusionDependency<P> id,
ImmutableHomomorphism h) |
protected void |
registerVariables(DataAtom<P> atom) |
protected void |
registerVariables(com.google.common.collect.ImmutableCollection<DataAtom<P>> atoms) |
String |
toString() |
protected final AtomFactory atomFactory
protected final com.google.common.collect.ImmutableList<LinearInclusionDependencies.LinearInclusionDependency<P extends AtomPredicate>> dependencies
protected LinearInclusionDependencies(CoreUtilsFactory coreUtilsFactory, AtomFactory atomFactory, com.google.common.collect.ImmutableList<LinearInclusionDependencies.LinearInclusionDependency<P>> dependencies)
public static <P extends AtomPredicate> LinearInclusionDependencies.Builder<P> builder(CoreUtilsFactory coreUtilsFactory, AtomFactory atomFactory)
public com.google.common.collect.ImmutableSet<DataAtom<P>> chaseAtom(DataAtom<P> atom)
atom - to be chasedpublic com.google.common.collect.ImmutableSet<DataAtom<P>> chaseAllAtoms(com.google.common.collect.ImmutableCollection<DataAtom<P>> atoms)
atoms - to be chasedprotected void registerVariables(com.google.common.collect.ImmutableCollection<DataAtom<P>> atoms)
protected ImmutableHomomorphism extendWithLabelledNulls(LinearInclusionDependencies.LinearInclusionDependency<P> id, ImmutableHomomorphism h)
Copyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.