alun.mcld
Class Haplotypes

java.lang.Object
  extended by alun.mcld.PerfectHaplotypes
      extended by alun.mcld.ImperfectHaplotypes
          extended by alun.mcld.Haplotypes
All Implemented Interfaces:
DataHaplotypeSource, HaplotypeSource

public class Haplotypes
extends ImperfectHaplotypes


Constructor Summary
Haplotypes(InputFormatter f, double errprob)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 boolean maximize(LDModel m)
           
 boolean startup(boolean sample)
           
 java.lang.String toString()
           
 boolean update(LDModel m)
           
 boolean update(LDModel m, boolean sample)
           
 
Methods inherited from class alun.mcld.PerfectHaplotypes
getAllele, getHaplotype, getLoci, nAlleles, nHaplotypes, nLoci
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Haplotypes

public Haplotypes(InputFormatter f,
                  double errprob)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

update

public boolean update(LDModel m)
Specified by:
update in interface HaplotypeSource
Overrides:
update in class PerfectHaplotypes

maximize

public boolean maximize(LDModel m)
Specified by:
maximize in interface HaplotypeSource
Overrides:
maximize in class PerfectHaplotypes

update

public boolean update(LDModel m,
                      boolean sample)

startup

public boolean startup(boolean sample)

toString

public java.lang.String toString()
Overrides:
toString in class PerfectHaplotypes

main

public static void main(java.lang.String[] args)