edu.ucla.belief.io.geneticlinkage
Class Pedigree.GeneticNetwork

Object
  extended by Pedigree.GeneticNetwork
Enclosing class:
Pedigree

public static class Pedigree.GeneticNetwork
extends Object


Field Summary
 BeliefNetwork bn
           
 Pedigree ped
           
 int scalar
           
 
Constructor Summary
Pedigree.GeneticNetwork(int scalar, Pedigree ped)
           
 
Method Summary
 void addConstant(double val, FiniteVariable fvar)
           
 void addConstant(Pedigree.NumberedConstant nc, FiniteVariable fvar)
           
 Collection changeRecomS1(double newSValMale, double newSValFemale)
          Returns the set of variables which had their cpts updated.
 Collection changeRecomS2(double newSValMale, double newSValFemale)
          Returns the set of variables which had their cpts updated.
 double constantScaled()
           
 Set[] dynamicBNOrderingVEPD()
           
 Set equivPreProcessVars()
           
 Set[] familyOrdering()
           
 ArrayList getChangingVarAL(FiniteVariable fv)
           
 boolean isChangingVar(FiniteVariable fv)
           
 Set[] locusOrdering()
           
 void mergingTwoVars_OneIsChanging(FiniteVariable saving, FiniteVariable removing)
           
 void outputChangingVariables(PrintStream out)
           
 Set[] reverseLocusOrdering()
           
 void writeEvidToFile_All(PrintStream outEvid)
           
 void writeEvidToFile(PrintStream outEvid)
          Currently only supports writing positive evidence.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bn

public final BeliefNetwork bn

scalar

public final int scalar

ped

public final Pedigree ped
Constructor Detail

Pedigree.GeneticNetwork

public Pedigree.GeneticNetwork(int scalar,
                               Pedigree ped)
Method Detail

equivPreProcessVars

public Set equivPreProcessVars()

familyOrdering

public Set[] familyOrdering()

locusOrdering

public Set[] locusOrdering()

reverseLocusOrdering

public Set[] reverseLocusOrdering()

dynamicBNOrderingVEPD

public Set[] dynamicBNOrderingVEPD()

writeEvidToFile

public void writeEvidToFile(PrintStream outEvid)
Currently only supports writing positive evidence.


writeEvidToFile_All

public void writeEvidToFile_All(PrintStream outEvid)

outputChangingVariables

public void outputChangingVariables(PrintStream out)

isChangingVar

public boolean isChangingVar(FiniteVariable fv)

mergingTwoVars_OneIsChanging

public void mergingTwoVars_OneIsChanging(FiniteVariable saving,
                                         FiniteVariable removing)

getChangingVarAL

public ArrayList getChangingVarAL(FiniteVariable fv)

addConstant

public void addConstant(double val,
                        FiniteVariable fvar)

addConstant

public void addConstant(Pedigree.NumberedConstant nc,
                        FiniteVariable fvar)

constantScaled

public double constantScaled()

changeRecomS1

public Collection changeRecomS1(double newSValMale,
                                double newSValFemale)
Returns the set of variables which had their cpts updated.


changeRecomS2

public Collection changeRecomS2(double newSValMale,
                                double newSValFemale)
Returns the set of variables which had their cpts updated.



Copyright 2010 UCLA Automated Reasoning Group