00001 #include "gnodederived.h" 00002 namespace matvec { 00003 bool MaternalPaternalAlleles::operator<(const MaternalPaternalAlleles y) const 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 } 00020 00021 } ////////// end of namespace matvec
1.2.16