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

matvec::TransitionSet Class Reference

#include <gnodesetderived.h>

Inheritance diagram for matvec::TransitionSet:

matvec::GNodeSet List of all members.

Detailed Description

This is the "Transition set" class.

TransitionSet class has the methods that return transition probabilities (genotypes) for the proposal (the cascading origin trick of Matthias Schelling) and for the target

Definition at line 117 of file gnodesetderived.h.

Public Methods

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

Public Attributes

Individualoffspring
unsigned connectFlag
unsigned numberOfCuts

Static Public Attributes

int transmissionType = 1
GeneticDistprior
unsigned currentLocus


Constructor & Destructor Documentation

matvec::TransitionSet::~TransitionSet void    [inline]
 

Definition at line 137 of file gnodesetderived.h.

00137 {;}


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     }; 

double matvec::TransitionSet::getTargetValue void    [inline, virtual]
 

Reimplemented from matvec::GNodeSet.

Definition at line 134 of file gnodesetderived.h.

References matvec::Individual::getTransitionProb().

00134                                {
00135       return offspring->getTransitionProb();
00136     }

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

Reimplemented from matvec::GNodeSet.

Definition at line 121 of file gnodesetderived.h.

References matvec::Individual::getMatthiasTransitionProb(), and matvec::Individual::getTransitionProb().

00121                          {
00122       switch(transmissionType){
00123       case 1:
00124         return offspring->getTransitionProb();
00125         break;
00126       case 2:
00127         return offspring->getMatthiasTransitionProb();
00128         break;
00129       default:
00130         cerr << "Proposal type in TransitionSet getValue(void) is non-existent" << endl;
00131         break;
00132       }
00133     }

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::GNodeSet::numberOfCuts [inherited]
 

Definition at line 112 of file gnodestuff.h.

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

Individual* matvec::TransitionSet::offspring
 

Definition at line 120 of file gnodesetderived.h.

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

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().

int matvec::TransitionSet::transmissionType = 1 [static]
 

Definition at line 48 of file gnodestuff.cpp.


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