noparama  v0.0.1
Nonparametric Bayesian models
Typedefs | Enumerations
np_data.h File Reference
#include <vector>
#include <set>
Include dependency graph for np_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::vector< double > data_t
 
typedef std::vector< data_t * > dataset_t
 
typedef int data_id_t
 
typedef std::vector< data_id_tdata_ids_t
 
typedef std::vector< variable_typedata_variable_type_t
 

Enumerations

enum  variable_type { vt_independent_variable, vt_dependent_variable }
 

Typedef Documentation

◆ data_id_t

typedef int data_id_t

The data items can be uniquely identified by an integer assuming the data set is not too big.

◆ data_ids_t

A set of data ids, not the data itself.

◆ data_t

typedef std::vector<double> data_t

Data is represented by a vector of doubles, data_t.

◆ data_variable_type_t

The vector can exists out of dependent and independent variables. Preferably, information about the structure of the data vector should however be separate from that of the data itself. This is hence stored in a

◆ dataset_t

A dataset is a container of data items. It is not an actual set, but a vector, so the order can be used in iterators.

Enumeration Type Documentation

◆ variable_type

The data item exists of multiple variables, each of which can be dependent or independent.

Enumerator
vt_independent_variable 
vt_dependent_variable