public class TagsByTaxaByteFileMap
extends AbstractTagsByTaxa
A byte implementation of TagByTaxa, maximum depth of tags is 127. This version works directly from a RandomAccessFile, which is slow but can work with very large files. It will need to be transitioned nio2, when Java 7 comes out. If possible, it holds the current row cached in memory, so try to work with the files sequentially.
public TagsByTaxaByteFileMap(java.lang.String infile)
public TagsByTaxaByteFileMap(java.lang.String outFile,
java.lang.String[] taxaNames,
Tags theTags)
Creates an empty Byte File Map
outFile - taxaNames - theTags - public void readDistFile(java.io.File inFile,
net.maizegenetics.dna.tag.TagsByTaxa.FilePacking binary)
public void setReadCountForTagTaxon(int tagIndex,
int taxaIndex,
int value)
public void setFastPointReadCountForTagTaxon(int tagIndex,
int taxaIndex,
int value)
public void setFastReadCountForAdjacentTagTaxonSet(int tagIndex,
int firstTaxaIndex,
kotlin.Array[] values)
public void setMethodByRows(boolean rowSetMethod)
public void getFileReadyForClosing()
public int getReadCountForTagTaxon(int tagIndex,
int taxaIndex)
public void initMatrices(int taxaNum,
int tagNum)
public void addTaxa(java.lang.String[] addTaxaNames)
public static void main(java.lang.String[] args)