public class MaskSiteMatrix implements MaskMatrix
public boolean get(int taxon,
int site)
public boolean isTaxonMaskedHint(int taxon)
Returns false if specified taxon is definitely not masked. Otherwise returns true. A true returned doesn't necessarily mean this taxon is masked. This can be used to optimize performance of masked genotype table components. If false returned, checking for masking can be skipped.
taxon - taxonpublic BitSet maskForTaxon(int taxon)
Mask for specified taxon
taxon - taxonpublic boolean isSiteMaskedHint(int site)
Returns false if specified site is definitely not masked. Otherwise returns true. A true returned doesn't necessarily mean this site is masked. This can be used to optimize performance of masked genotype table components. If false returned, checking for masking can be skipped.
site - sitepublic BitSet maskForSite(int site)
Mask for specified site
site - sitepublic int numTaxa()
public int numSites()
public boolean isSiteOptimized()