
public static class ExtendedNeighborhood.Factory<O> extends AbstractPrecomputedNeighborhood.Factory<O>
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedNeighborhood.Factory.Parameterizer<O>
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
private NeighborSetPredicate.Factory<O> |
inner
Inner neighbor set predicate
|
private int |
steps
Number of steps to do
|
| Constructor and Description |
|---|
ExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner,
int steps)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private DataStore<DBIDs> |
extendNeighborhood(Relation<? extends O> database)
Method to load the external neighbors.
|
TypeInformation |
getInputTypeRestriction()
Get the input type information
|
NeighborSetPredicate |
instantiate(Relation<? extends O> database)
Instantiation method.
|
private NeighborSetPredicate.Factory<O> inner
private int steps
public ExtendedNeighborhood.Factory(NeighborSetPredicate.Factory<O> inner, int steps)
inner - Inner neighbor set predicatesteps - Number of steps to dopublic NeighborSetPredicate instantiate(Relation<? extends O> database)
NeighborSetPredicate.Factorydatabase - Relation to instantiate for.public TypeInformation getInputTypeRestriction()
NeighborSetPredicate.Factory