edu.stanford.rsl.konrad.utils
Class KONRAD
java.lang.Object
edu.stanford.rsl.konrad.utils.KONRAD
public abstract class KONRAD
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionString
public static final java.lang.String VersionString
- See Also:
- Constant Field Values
KONRADBibtex
public static final java.lang.String KONRADBibtex
- See Also:
- Constant Field Values
KONRADMedline
public static final java.lang.String KONRADMedline
- See Also:
- Constant Field Values
KONRADDefinition
public static final java.lang.String KONRADDefinition
- See Also:
- Constant Field Values
SMALL_VALUE
public static final double SMALL_VALUE
- See Also:
- Constant Field Values
DOUBLE_EPSILON
public static final double DOUBLE_EPSILON
FLOAT_EPSILON
public static final double FLOAT_EPSILON
INVERSE_SPEEDUP
public static final int INVERSE_SPEEDUP
- See Also:
- Constant Field Values
useGarbageCollection
public static boolean useGarbageCollection
EOL
public static final java.lang.String EOL
INPUT_QUEUE_DELAY
public static final long INPUT_QUEUE_DELAY
- See Also:
- Constant Field Values
KONRAD
public KONRAD()
setup
public static void setup()
gc
public static void gc()
isUseGarbageCollection
public static boolean isUseGarbageCollection()
setUseGarbageCollection
public static void setUseGarbageCollection(boolean useGarbageCollection)
getNumberOfThreads
public static int getNumberOfThreads()
- Returns the number of processors which should be used by KONRAD. Equals Runtime.getRuntime().availableProcessors() if "MAX_THREADS" is not set in KONRAD registry.
Otherwise "MAX_THREADS" is the upper bound for availableProcessors().
- Returns:
- the maximal number of threads