[1d7c18]: src / modules / glm / samplers / HolmesHeldBlockFactory.h Maximize Restore History

Download this file

HolmesHeldBlockFactory.h    35 lines (29 with data), 743 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
26
27
28
29
30
31
32
33
34
#ifndef HOLMES_HELD_BLOCK_FACTORY_H_
#define HOLMES_HELD_BLOCK_FACTORY_H_
#include "BinaryFactory.h"
namespace glm {
/**
* @short Factory object for the Holmes-Held Block sampling method
*/
class HolmesHeldBlockFactory : public BinaryFactory
{
public:
HolmesHeldBlockFactory();
/**
* Returns a newly allocated object of class HolmesHeldBlock for
* sampling binary GLMs with probit or logistic link.
*/
BinaryGLM *newBinary(GraphView const *view,
std::vector<GraphView const *> const &sub_views,
unsigned int chain) const;
/**
* Returns false.
*/
bool fixedOutcome() const;
/**
* Returns false
*/
bool fixedDesign() const;
};
}
#endif /* HOLMES_HELD_BLOCK_FACTORY_H_ */