std::set<NxsDiscreteStateCell> NxsCharactersBlock::GetObsStates ( unsigned  columnIndex,
bool  countMissingStates = true 
) const [inline]

Returns the set of "fundamental" states seen in a column (possibly including the gap "state").

If `countMissingStates` is true then missing data is treated as an observation of each state. If it is false then missing codes do not contribute to the count. Partially ambiguous states result in all states in the cell being counted as observed.

columnIndex should be in [0, nchar)

Warning:
{If countMissingStates is true then it a gap as a state, if countMissingStates is false a gap will count as a state if the gapmode is GAP_MODE_NEWSTATE}

Definition at line 769 of file nxscharactersblock.h.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:12 2010 for NCL by  doxygen 1.6.3