Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

matvec::RTransmissionSet Class Reference

#include <gnodesetderived.h>

Inheritance diagram for matvec::RTransmissionSet:

matvec::GNodeSet List of all members.

Detailed Description

This is the "RTransmission set" class.

RTransmissionSet class has the method that returns transmission probabilities (alleles) for known parental origin. Used when we peel across pedigree and loci jointly.

Definition at line 300 of file gnodesetderived.h.

Public Methods

double getValue (void)
 ~RTransmissionSet (void)
bool incr (void)
void reset (void)
void attachMeToMyGnodes (void)
void display (void)
virtual double getTargetValue (void)
virtual double getOldValue (void)

Public Attributes

unsigned forLocus
Individualoffspring
bool paternal
unsigned connectFlag
unsigned numberOfCuts

Static Public Attributes

GeneticDistprior
unsigned currentLocus


Constructor & Destructor Documentation

matvec::RTransmissionSet::~RTransmissionSet void    [inline]
 

Definition at line 313 of file gnodesetderived.h.

00313 {;} 


Member Function Documentation

void matvec::GNodeSet::attachMeToMyGnodes void    [inherited]
 

Referenced by matvec::Population::initAlleleNodeList(), matvec::Population::initGenotypeNodeList(), and matvec::Population::initJointAlleleNodeList().

void matvec::GNodeSet::display void    [inherited]
 

virtual double matvec::GNodeSet::getOldValue void    [inline, virtual, inherited]
 

Reimplemented in matvec::CutSet.

Definition at line 125 of file gnodestuff.h.

00125                                     {
00126       throw exception("GNodeSet::getOldValue(void): call for virtual function");
00127     }; 

virtual double matvec::GNodeSet::getTargetValue void    [inline, virtual, inherited]
 

Reimplemented in matvec::TransitionSet.

Definition at line 122 of file gnodestuff.h.

00122                                        {
00123       throw exception("GNodeSet::getTargetValue(void): call for virtual function");
00124     };

double matvec::RTransmissionSet::getValue void    [inline, virtual]
 

Reimplemented from matvec::GNodeSet.

Definition at line 305 of file gnodesetderived.h.

References forLocus, matvec::Individual::getAlleleMRTransmissionProb(), and matvec::Individual::getAllelePRTransmissionProb().

00305                          {
00306       if (paternal){
00307         return offspring->getAllelePRTransmissionProb(forLocus);
00308       }
00309       else {
00310         return offspring->getAlleleMRTransmissionProb(forLocus);
00311       }
00312     }

bool matvec::GNodeSet::incr void    [inherited]
 

Referenced by matvec::CutSet::operator *=(), matvec::CutSet::operator+=(), and matvec::CutSet::operator=().

void matvec::GNodeSet::reset void    [inherited]
 

Referenced by matvec::CutSet::operator *=(), matvec::CutSet::operator+=(), and matvec::CutSet::operator=().


Member Data Documentation

unsigned matvec::GNodeSet::connectFlag [inherited]
 

Definition at line 111 of file gnodestuff.h.

Referenced by matvec::CutSet::replaceMeWith().

unsigned matvec::GNodeSet::currentLocus [static, inherited]
 

Definition at line 43 of file gnodestuff.cpp.

Referenced by matvec::GenoFounderSet::getValue(), matvec::AlleleFounderSet::getValue(), and matvec::CutSet::replaceMeWith().

unsigned matvec::RTransmissionSet::forLocus
 

Definition at line 302 of file gnodesetderived.h.

Referenced by getValue(), and matvec::Population::initJointAlleleNodeList().

unsigned matvec::GNodeSet::numberOfCuts [inherited]
 

Definition at line 112 of file gnodestuff.h.

Referenced by matvec::CutSet::replaceMeWith().

Individual* matvec::RTransmissionSet::offspring
 

Definition at line 303 of file gnodesetderived.h.

Referenced by matvec::Population::initJointAlleleNodeList().

bool matvec::RTransmissionSet::paternal
 

Definition at line 304 of file gnodesetderived.h.

Referenced by matvec::Population::initJointAlleleNodeList().

GeneticDist * matvec::GNodeSet::prior [static, inherited]
 

Definition at line 42 of file gnodestuff.cpp.

Referenced by matvec::RAlleleFounderSet::getValue(), matvec::GenoFounderSet::getValue(), matvec::AlleleFounderSet::getValue(), and matvec::CutSet::replaceMeWith().


The documentation for this class was generated from the following file:
Generated on Thu Jun 16 17:14:48 2005 for Matvec by doxygen1.2.16