public class AbstractAdditiveSite implements AdditiveSite
This class holds data for a variant site to provide an object to hold data used and returned by a stepwise model fitter. That makes it convenient to use in a parallel stream for processing.
protected int siteIndex
protected java.lang.String chrName
protected int position
protected java.lang.String name
protected double criterionValue
protected net.maizegenetics.analysis.modelfitter.AdditiveSite.CRITERION selectionCriterion
protected int direction
public AbstractAdditiveSite(int site,
java.lang.String chromosomeName,
int pos,
java.lang.String id,
net.maizegenetics.analysis.modelfitter.AdditiveSite.CRITERION selectionCriterion)
site - a zero based index of siteschromosomeName - a chromosome name (String)pos - the integer position in the chromosomeid - a name for this siteselectionCriterion - the selection criterion to be use to pick a sitepublic int siteNumber()
public java.lang.String chromosomeName()
public int position()
public java.lang.String siteName()
public double criterionValue()
public void criterionValue(double value)
public net.maizegenetics.analysis.modelfitter.AdditiveSite.CRITERION selectionCriterion()
public int compareTo(AdditiveSite other)