24 #ifndef _STATE_COUNTER_H_ 25 #define _STATE_COUNTER_H_ 39 class __attribute__ ((deprecated))stateCounter :
public std::unary_function<char,void>
42 typedef unsigned size_type;
43 size_type a,g,c,t,zero,one,gap,n;
48 stateCounter(
char gapchar =
'-');
49 stateCounter(stateCounter &&) =
default;
50 stateCounter(
const stateCounter &) =
default;
51 stateCounter & operator=(
const stateCounter &)=
default;
52 stateCounter & operator=( stateCounter &&)=
default;
54 size_type nStates(
void)
const;
bool operator()(const std::pair< key, value > &l, const std::pair< key, value > &r) const
The namespace in which this library resides.
class __attribute__((deprecated)) FST
Functor to count the number of states, excluding gaps and missing data, in a range of characters...