#include <gnodesetderived.h>
Inheritance diagram for matvec::GenoFounderSet:

GenoFounderSet class has the method that returns founder probabilities for genotypes
Definition at line 76 of file gnodesetderived.h.
Public Methods | |
| double | getValue (void) |
| ~GenoFounderSet (void) | |
| bool | incr (void) |
| void | reset (void) |
| void | attachMeToMyGnodes (void) |
| void | display (void) |
| virtual double | getTargetValue (void) |
| virtual double | getOldValue (void) |
Public Attributes | |
| unsigned | connectFlag |
| unsigned | numberOfCuts |
Static Public Attributes | |
| GeneticDist * | prior |
| unsigned | currentLocus |
|
|
Definition at line 87 of file gnodesetderived.h.
00087 {;}
|
|
|
Referenced by matvec::Population::initAlleleNodeList(), matvec::Population::initGenotypeNodeList(), and matvec::Population::initJointAlleleNodeList(). |
|
|
|
|
|
Reimplemented in matvec::CutSet. Definition at line 125 of file gnodestuff.h.
00125 {
00126 throw exception("GNodeSet::getOldValue(void): call for virtual function");
00127 };
|
|
|
Reimplemented in matvec::TransitionSet. Definition at line 122 of file gnodestuff.h.
00122 {
00123 throw exception("GNodeSet::getTargetValue(void): call for virtual function");
00124 };
|
|
|
Reimplemented from matvec::GNodeSet. Definition at line 78 of file gnodesetderived.h. References matvec::GeneticDist::chrom(), matvec::GNodeSet::currentLocus, matvec::ChromStruct::locus, and matvec::GNodeSet::prior.
00078 {
00079 GenoFounderSet::iterator it;
00080 it = begin();
00081 unsigned mallele = (*it)->getmState();
00082 unsigned pallele = (*it)->getpState();
00083 double pm = prior->chrom()[0].locus[currentLocus].allele_freq[mallele];
00084 double pp = prior->chrom()[0].locus[currentLocus].allele_freq[pallele];
00085 return pm*pp;
00086 }
|
|
|
Referenced by matvec::CutSet::operator *=(), matvec::CutSet::operator+=(), and matvec::CutSet::operator=(). |
|
|
Referenced by matvec::CutSet::operator *=(), matvec::CutSet::operator+=(), and matvec::CutSet::operator=(). |
|
|
Definition at line 111 of file gnodestuff.h. Referenced by matvec::CutSet::replaceMeWith(). |
|
|
Definition at line 43 of file gnodestuff.cpp. Referenced by getValue(), matvec::AlleleFounderSet::getValue(), and matvec::CutSet::replaceMeWith(). |
|
|
Definition at line 112 of file gnodestuff.h. Referenced by matvec::CutSet::replaceMeWith(). |
|
|
Definition at line 42 of file gnodestuff.cpp. Referenced by matvec::RAlleleFounderSet::getValue(), getValue(), matvec::AlleleFounderSet::getValue(), and matvec::CutSet::replaceMeWith(). |
1.2.16