Package main
Class MainHelper
- java.lang.Object
-
- main.MainHelper
-
public class MainHelper extends java.lang.ObjectClass
MainHelperis an auxiliary class with methods called by themain.Mainclass.Instances of class
MainHelperare not thread-safe.
-
-
Constructor Summary
Constructors Constructor Description MainHelper(Par par, RunStats runStats, long seed)Constructs a newMainHelperinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GTphase(FixedPhaseData fpd)Phases the current window of genotype data.
-
-
-
Constructor Detail
-
MainHelper
public MainHelper(Par par, RunStats runStats, long seed)
Constructs a newMainHelperinstance.- Parameters:
par- the command line parametersrunStats- the class for collecting and printing run-time statisticsseed- random number seed- Throws:
java.lang.NullPointerException- ifrunStarts == null
-
-
Method Detail
-
phase
public GT phase(FixedPhaseData fpd)
Phases the current window of genotype data.- Parameters:
fpd- the input data for the current window- Returns:
- the phased genotype data
- Throws:
java.lang.IllegalArgumentException- iffpd.par()!=this.par()java.lang.NullPointerException- iffpd == null
-
-