#include <FeatureStats.h>

Public Member Functions | |
| FeatureStats () | |
| FeatureStats (const std::size_t size) | |
| FeatureStats (std::string &theString) | |
| ~FeatureStats () | |
| FeatureStats (const FeatureStats &stats) | |
| FeatureStats & | operator= (const FeatureStats &stats) |
| void | Copy (const FeatureStats &stats) |
| bool | isfull () const |
| void | expand () |
| void | add (FeatureStatsType v) |
| void | addSparse (const std::string &name, FeatureStatsType v) |
| void | clear () |
| void | reset () |
| FeatureStatsType | get (std::size_t i) |
| FeatureStatsType | get (std::size_t i) const |
| featstats_t | getArray () const |
| const SparseVector & | getSparse () const |
| void | set (std::string &theString) |
| std::size_t | bytes () const |
| std::size_t | GetArraySizeWithBytes () const |
| std::size_t | size () const |
| std::size_t | available () const |
| void | savetxt (const std::string &file) |
| void | savetxt (std::ostream *os) |
| void | savebin (std::ostream *os) |
| void | savetxt () |
| void | loadtxt (const std::string &file) |
| void | loadtxt (std::istream *is) |
| void | loadbin (std::istream *is) |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const FeatureStats &e) |
Definition at line 52 of file FeatureStats.h.
| FeatureStats::FeatureStats | ( | ) |
Definition at line 123 of file FeatureStats.cpp.
| FeatureStats::FeatureStats | ( | const std::size_t | size | ) | [explicit] |
| FeatureStats::FeatureStats | ( | std::string & | theString | ) | [explicit] |
| FeatureStats::~FeatureStats | ( | ) |
| FeatureStats::FeatureStats | ( | const FeatureStats & | stats | ) |
Definition at line 157 of file FeatureStats.cpp.
References Copy().

| void FeatureStats::add | ( | FeatureStatsType | v | ) |
Definition at line 178 of file FeatureStats.cpp.
References expand(), and isfull().

| void FeatureStats::addSparse | ( | const std::string & | name, | |
| FeatureStatsType | v | |||
| ) |
| std::size_t FeatureStats::available | ( | ) | const [inline] |
Definition at line 106 of file FeatureStats.h.
Referenced by Copy().

| std::size_t FeatureStats::bytes | ( | ) | const [inline] |
Definition at line 98 of file FeatureStats.h.
References GetArraySizeWithBytes().

| void FeatureStats::clear | ( | ) | [inline] |
Definition at line 80 of file FeatureStats.h.
References SparseVector::clear(), and GetArraySizeWithBytes().
Referenced by reset().


| void FeatureStats::Copy | ( | const FeatureStats & | stats | ) |
Definition at line 148 of file FeatureStats.cpp.
References available(), getArray(), GetArraySizeWithBytes(), getSparse(), and size().
Referenced by FeatureStats(), and operator=().


| void FeatureStats::expand | ( | ) |
Definition at line 169 of file FeatureStats.cpp.
References GetArraySizeWithBytes().
Referenced by add().


| FeatureStatsType FeatureStats::get | ( | std::size_t | i | ) | const [inline] |
Definition at line 91 of file FeatureStats.h.
| FeatureStatsType FeatureStats::get | ( | std::size_t | i | ) | [inline] |
Definition at line 90 of file FeatureStats.h.
Referenced by Point::operator*(), operator<<(), operator==(), and Data::removeDuplicates().

| featstats_t FeatureStats::getArray | ( | ) | const [inline] |
Definition at line 92 of file FeatureStats.h.
Referenced by Copy().

| std::size_t FeatureStats::GetArraySizeWithBytes | ( | ) | const [inline] |
| const SparseVector& FeatureStats::getSparse | ( | ) | const [inline] |
Definition at line 94 of file FeatureStats.h.
Referenced by Copy(), and operator<<().

| bool FeatureStats::isfull | ( | ) | const [inline] |
Definition at line 75 of file FeatureStats.h.
Referenced by add().

| void FeatureStats::loadbin | ( | std::istream * | is | ) |
| void FeatureStats::loadtxt | ( | std::istream * | is | ) |
| void FeatureStats::loadtxt | ( | const std::string & | file | ) |
| FeatureStats & FeatureStats::operator= | ( | const FeatureStats & | stats | ) |
Definition at line 162 of file FeatureStats.cpp.
References Copy().

| void FeatureStats::reset | ( | ) | [inline] |
Definition at line 85 of file FeatureStats.h.
References clear().

| void FeatureStats::savebin | ( | std::ostream * | os | ) |
| void FeatureStats::savetxt | ( | ) |
Definition at line 244 of file FeatureStats.cpp.
| void FeatureStats::savetxt | ( | std::ostream * | os | ) |
| void FeatureStats::savetxt | ( | const std::string & | file | ) |
| void FeatureStats::set | ( | std::string & | theString | ) |
| std::size_t FeatureStats::size | ( | ) | const [inline] |
Definition at line 104 of file FeatureStats.h.
Referenced by Copy(), operator<<(), operator==(), and Data::removeDuplicates().

| std::ostream& operator<< | ( | std::ostream & | o, | |
| const FeatureStats & | e | |||
| ) | [friend] |
Write the whole object to a stream.
1.5.9