public final class NeighborProviderIndex extends java.lang.Object implements KnowledgeIndex
Constructor and Description |
---|
NeighborProviderIndex(Model model) |
Modifier and Type | Method and Description |
---|---|
NeighborProvider |
getProvider()
Gets the precomputed neighbor provider.
|
NeighborProvider |
getProviderWithTraitRelationships()
Gets the neighbor provider that includes trait relationships.
|
NeighborProvider |
getReverseProvider()
Gets a reversed, bottom up neighbor provider.
|
NeighborProvider |
getReverseProviderWithTraitRelationships()
Gets a reversed, bottom up neighbor provider that includes reverse traits.
|
static NeighborProviderIndex |
of(Model model) |
public NeighborProviderIndex(Model model)
public static NeighborProviderIndex of(Model model)
public NeighborProvider getProvider()
public NeighborProvider getProviderWithTraitRelationships()
public NeighborProvider getReverseProvider()
public NeighborProvider getReverseProviderWithTraitRelationships()