[01a998]: src / modules / glm / samplers / HolmesHeldB.h Maximize Restore History

Download this file

HolmesHeldB.h    26 lines (20 with data), 520 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef HOLMES_HELD_B_H_
#define HOLMES_HELD_B_H_
#include "BinaryGLM.h"
namespace glm {
/**
* Conjugate sampler for normal linear models.
*/
class HolmesHeldB : public BinaryGLM {
std::vector<double> _z1;
bool _init;
public:
HolmesHeldB(GraphView const *view,
std::vector<GraphView const *> const &sub_views,
unsigned int chain);
void updateAuxiliary(double *b, csn *N, RNG *rng);
std::string name() const;
bool update(RNG *rng);
};
}
#endif /* HOLMES_HELD_B_H_ */