edu.ucla.belief.io.geneticlinkage
Class Pedigree

Object
  extended by Pedigree

public class Pedigree
extends Object

This class reads in and stores pedigrees.


Nested Class Summary
static class Pedigree.GeneticNetwork
           
static class Pedigree.PseudoLoci
           
 
Field Summary
static int ALL
           
static int LEAF_ADDITIONAL_EVID
           
static int LEAF_PRUNE
           
static int NONE
           
static int PREPROCESS
           
static int VALID_NET
           
 
Method Summary
 Pedigree.GeneticNetwork createBeliefNetwork(int scalar)
           
static Pedigree createPedigree(BeliefNetwork bn, HashMap evid)
           
static Pedigree createPedigree(File file, Loci loci)
           
static Pedigree createPedigree(String file, Loci loci)
           
 void printFamily(int childID, int locus)
           
 void printPerson(int perID, int locus)
           
 String toString()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

LEAF_PRUNE

public static final int LEAF_PRUNE
See Also:
Constant Field Values

LEAF_ADDITIONAL_EVID

public static final int LEAF_ADDITIONAL_EVID
See Also:
Constant Field Values

VALID_NET

public static final int VALID_NET
See Also:
Constant Field Values

ALL

public static final int ALL
See Also:
Constant Field Values

PREPROCESS

public static final int PREPROCESS
See Also:
Constant Field Values
Method Detail

createPedigree

public static Pedigree createPedigree(BeliefNetwork bn,
                                      HashMap evid)

createPedigree

public static Pedigree createPedigree(File file,
                                      Loci loci)
                               throws IOException
Throws:
IOException

createPedigree

public static Pedigree createPedigree(String file,
                                      Loci loci)
                               throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

createBeliefNetwork

public Pedigree.GeneticNetwork createBeliefNetwork(int scalar)

printFamily

public void printFamily(int childID,
                        int locus)

printPerson

public void printPerson(int perID,
                        int locus)


Copyright 2010 UCLA Automated Reasoning Group