Vector type
* @param Projection result type
*/
public interface LocalProjectionIndex, P extends ProjectionResult> extends Index {
/**
* Get the precomputed local projection for a particular object ID.
*
* @param objid Object ID
* @return local projection
*/
public P getLocalProjection(DBID objid);
/**
* Factory
*
* @author Erich Schubert
*
* @apiviz.stereotype factory
* @apiviz.uses LocalProjectionIndex oneway - - «create»
*
* @param Vector type
* @param Index type
*/
public static interface Factory, I extends LocalProjectionIndex> extends IndexFactory {
/**
* Instantiate the index for a given database.
*
* @param relation Relation to use
*
* @return Index
*/
@Override
public I instantiate(Relation relation);
}
}