Package jdistlib.inference
Class MappedDrawStore
java.lang.Object
jdistlib.inference.MappedDrawStore
- All Implemented Interfaces:
AutoCloseable,DrawSink
Fixed-capacity selected-coordinate draw sink and zero-copy memory-mapped reader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(int retainedIndex, double[] state, double logDensity, IterationStats statistics) voidclose()voidforce()static ColumnarDraws
-
Constructor Details
-
MappedDrawStore
- Throws:
IOException
-
-
Method Details
-
accept
-
force
public void force() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
read
- Throws:
IOException
-