PLearn 0.1
|
#include <limits.h>
#include <string>
#include <vector>
#include <iostream>
#include <stdexcept>
#include <typeinfo>
#include <assert.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <cstdlib>
#include <plearn/base/stringutils.h>
#include <plearn/base/PDate.h>
#include <plearn/math/Hash.h>
#include <plearn/base/TinyVector.h>
Go to the source code of this file.
Classes | |
struct | PLearn::Field |
class | PLearn::FieldPtr |
class | PLearn::FieldValue |
struct | PLearn::FieldValue::DateVal_t |
class | PLearn::Schema |
class | PLearn::SimpleDBIndexKey< KeyType > |
class | PLearn::SimpleDB< KeyType, QueryResult > |
class | PLearn::RowIterator |
class | PLearn::FieldRowRef |
class | PLearn::Row |
Namespaces | |
namespace | PLearn |
< for swap | |
Typedefs | |
typedef SimpleDB | PLearn::SDB |
A utility typedef for the common case. | |
Enumerations | |
enum | PLearn::FieldType { PLearn::Unknown = 0, PLearn::StringType, PLearn::CharacterType, PLearn::SignedCharType, PLearn::ShortType, PLearn::IntType, PLearn::FloatType, PLearn::DoubleType, PLearn::DateType } |
Functions | |
ostream & | PLearn::operator<< (ostream &os, const FieldValue &ft) |
double | PLearn::todouble (const Row::iterator &it) |
Generic conversions from an iterator. | |
string | PLearn::tostring (const RowIterator &it) |
ostream & | PLearn::operator<< (ostream &o, const Row::iterator &field) |
outputs a single field flushed right in a cell of apropriate width (as given by field.char_width()) | |
ostream & | PLearn::operator<< (ostream &, const Row &row) |
outputs all fields in a row, separated by " | " | |
void | PLearn::printFieldName (ostream &o, const Row::iterator &field) |
outputs the given field name in a cell of apropriate size | |
void | PLearn::printFieldNames (ostream &o, const Row &row) |
outputs all field names, separated by " | " | |
void | PLearn::randomShuffleRows (SDB &sdb) |
Performs a random permutation of all the rows of the SDB (same algorithm as Mat::shuffle) | |
void | PLearn::halfShuffleRows (SDB &sdb) |
not quite a random shuffle (see implementation) but more efficient use of disk cache |
Definition in file SimpleDB.h.