net.obsearch.index.aesa
Class AbstractAESA<O extends OB>
java.lang.Object
net.obsearch.index.aesa.AbstractAESA<O>
- Type Parameters:
O
-
- Direct Known Subclasses:
- AesaFloat
public abstract class AbstractAESA<O extends OB>
- extends Object
In-memory AESA class
- Author:
- amuller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objects
protected List<O extends OB> objects
stats
protected Statistics stats
AbstractAESA
public AbstractAESA(Class<O> type,
int expectedSize)
resetStats
public void resetStats()
get
protected O get(int i)
insert
public OperationStatus insert(O object)
size
public int size()
freeze
public void freeze()
throws OBException
- Throws:
OBException
loadObject
public void loadObject(long i,
O object)
throws OBException
- Throws:
OBException
databaseSize
public long databaseSize()
throws OBStorageException
- Throws:
OBStorageException
getType
public Class<O> getType()
getStatistics
public Statistics getStatistics()
prepare
protected abstract void prepare()
throws OBException
- compute all the distances
- Throws:
OBException
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.