Package main
Class MainHelper
- java.lang.Object
-
- main.MainHelper
-
public class MainHelper extends java.lang.Object
Class
MainHelper
is an auxiliary class with methods called by themain.Main
class.Instances of class
MainHelper
are not thread-safe.
-
-
Constructor Summary
Constructors Constructor Description MainHelper(Par par, RunStats runStats, long seed)
Constructs a newMainHelper
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GT
phase(FixedPhaseData fpd)
Phases the current window of genotype data.
-
-
-
Constructor Detail
-
MainHelper
public MainHelper(Par par, RunStats runStats, long seed)
Constructs a newMainHelper
instance.- 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
-
-