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

matvec::MaternalPaternalAlleles Class Reference

#include <gnodederived.h>

List of all members.


Detailed Description

This is the building block class for the GenotypeNode class.

MaternalPaternalAlleles class defines the maternal and paternal alleles of a genotype.

Definition at line 104 of file gnodederived.h.

Public Methods

bool operator< (const MaternalPaternalAlleles y) const

Public Attributes

unsigned maternal
unsigned paternal


Member Function Documentation

bool matvec::MaternalPaternalAlleles::operator< const MaternalPaternalAlleles    y const
 

Definition at line 3 of file maternalPaternal.cpp.

References maternal, and paternal.

00004 {
00005         if (maternal < y.maternal) {
00006                 return 1;
00007         }
00008         if (maternal > y.maternal){
00009                 return 0;
00010         }
00011         else {
00012                 if(paternal < y.paternal) {
00013                         return 1;
00014                 }
00015                 else {
00016                         return 0;
00017                 }
00018         }
00019 }


Member Data Documentation

unsigned matvec::MaternalPaternalAlleles::maternal
 

Definition at line 106 of file gnodederived.h.

Referenced by matvec::NuFamily::eliminateGenotypes(), matvec::Population::finishUpAlleleStateInit(), and operator<().

unsigned matvec::MaternalPaternalAlleles::paternal
 

Definition at line 107 of file gnodederived.h.

Referenced by matvec::NuFamily::eliminateGenotypes(), matvec::Population::finishUpAlleleStateInit(), and operator<().


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