public class DistanceBasedCooccurrenceMemoryAllocatorImpl extends AbstractMemoryAllocatorImpl implements Configuration
Modifier and Type | Field and Description |
---|---|
private int |
intWordDistanceSize |
BLOCK_SIZE, BLOCKS, enableArrayCache, enableRAMHashCache, intArrayEntries, intDataSetsPerBucket, intFreeMemory, intFreqSizeOfArrayHash, intFreqSizeOfDiscHash, intFreqSizeOfRAMHash, intFrequency, intSizeOfDataSetDiscHash, intSizeOfDataSetRAMHash, intSizeOfWordNumbers, longJVMMaxSize
BOOLEAN_DEFAULT, DOUBLE_DEFAULT, FORMAT_IMPL, INT_DEFAULT, LONG_DEFAULT, objConf, objConfCategory, objFormat, strBackupConfFile, STRING_DEFAULT
ARRAY_SIZE_32_BIT, ARRAY_SIZE_64_BIT
DEFAULT_FREE_MEMORY, GB1, MAX_ARRAY_ENTRIES, MB128, MIN_ARRAY_ENTRIES, SLEEP, TOP_X_FREQUENCIES
Constructor and Description |
---|
DistanceBasedCooccurrenceMemoryAllocatorImpl()
Creates a new instance of DefaultMemoryAllocatorImpl.
|
Modifier and Type | Method and Description |
---|---|
protected int |
calcArrayHashSize() |
static void |
main(java.lang.String[] args) |
protected void |
processHashAllocation() |
protected void |
setConfigProperties()
Sets the global configuration properties for this memory allocator.
|
protected void |
showHashConfig() |
allocateHash, calcArrayHashEntries, calcBLOCKS, calcBLOCKSIZE, calcBytes, calcJVMSize, calcOutputFormat, calcRAMHashSize, checkJVMMaxSize, clearFormatDescription, init, processWordFrequencyList
config, getConfiguration, getGlobalProperty, getProperty, getProperty, getStatisticsProperty, loadFormatImpl, selfconfig, setGlobalProperty, setProperty, setProperty, setStatisticsProperty, setStatisticsProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public DistanceBasedCooccurrenceMemoryAllocatorImpl()
protected void processHashAllocation() throws ConfigurationException
processHashAllocation
in class AbstractMemoryAllocatorImpl
ConfigurationException
protected int calcArrayHashSize()
calcArrayHashSize
in class AbstractMemoryAllocatorImpl
public static void main(java.lang.String[] args)
protected void setConfigProperties()
AbstractMemoryAllocatorImpl
setConfigProperties
in class AbstractMemoryAllocatorImpl
protected void showHashConfig()
showHashConfig
in class AbstractMemoryAllocatorImpl
2005-2013 Marco Büchler, Natural Language Processing Group, University of Leipzig, Germany. 2013-2016 Marco Büchler, Georg August University Göttingen, Göttingen, Germany