00001 // Copyright (C) 1999-2003 Paul O. Lewis 00002 // 00003 // This file is part of NCL (Nexus Class Library) version 2.0. 00004 // 00005 // NCL is free software; you can redistribute it and/or modify 00006 // it under the terms of the GNU General Public License as published by 00007 // the Free Software Foundation; either version 2 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // NCL is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU General Public License 00016 // along with NCL; if not, write to the Free Software Foundation, Inc., 00017 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 // 00019 00020 #ifndef NCL_NXSDISTANCEDATUM_H 00021 #define NCL_NXSDISTANCEDATUM_H 00022 00027 class NxsDistanceDatum 00028 { 00029 public: 00030 00031 NxsDistanceDatum() 00032 :value(0.0), 00033 missing(true) 00034 {} 00035 00036 double value; /* the pairwise distance value stored */ 00037 bool missing; /* true if there is missing data for this pair */ 00038 }; 00039 00040 typedef NxsDistanceDatum DistanceDatum; 00041 00042 #endif