![]() |
atlas
0.6
|
#include <tally.h>
Public Types | |
| typedef unsigned long long int | Index |
| typedef unsigned long long int | ullong |
Public Member Functions | |
| TallyVec (size_t limit) | |
| TallyVec (std::istream &file) | |
| TallyVec (std::istream &file, size_t w_key, size_t w_val) | |
| bool | tally (Index i) |
| bool | tally (Index i, ullong multiplicity) |
| Index | size () const |
| ullong | multiplicity (Index i) const |
| ullong | sum () const |
| template<typename MuCount > | |
| TallyVec< MuCount > | derived (size_t limit) const |
| void | advance (Index &i) const |
| bool | lower (Index &i) const |
| void | write_to (std::ostream &out) const |
Private Types | |
| typedef std::map< Index, ullong > | map_type |
Private Attributes | |
| std::vector< Count > | count |
| map_type | overflow |
| Index | max |
| ullong | total |
Static Private Attributes | |
| static const Count | maxCount = std::numeric_limits<Count>::max() |
| typedef unsigned long long int atlas::tally::TallyVec< Count >::Index |
|
private |
| typedef unsigned long long int atlas::tally::TallyVec< Count >::ullong |
|
inline |
| atlas::tally::TallyVec< Count >::TallyVec | ( | std::istream & | file | ) |
| atlas::tally::TallyVec< Count >::TallyVec | ( | std::istream & | file, |
| size_t | w_key, | ||
| size_t | w_val | ||
| ) |
| void atlas::tally::TallyVec< Count >::advance | ( | Index & | i | ) | const |
| TallyVec< MuCount > atlas::tally::TallyVec< Count >::derived | ( | size_t | limit | ) | const |
| bool atlas::tally::TallyVec< Count >::lower | ( | Index & | i | ) | const |
|
inline |
|
inline |
|
inline |
| bool atlas::tally::TallyVec< Count >::tally | ( | Index | i | ) |
| bool atlas::tally::TallyVec< Count >::tally | ( | Index | i, |
| ullong | multiplicity | ||
| ) |
| void atlas::tally::TallyVec< Count >::write_to | ( | std::ostream & | out | ) | const |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
1.8.11