/usr/include/JAGS/sampler/SampleMethodNoAdapt.h is in jags 4.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef SAMPLE_METHOD_NO_ADAPT_H_
#define SAMPLE_METHOD_NO_ADAPT_H_
#include <sampler/MutableSampleMethod.h>
namespace jags {
/**
* @short Sampling methods with no adaptive phase
*
* Provides trivial implementations of member functions concerned
* with adaptation for sample methods that have no adaptive phase.
*/
class SampleMethodNoAdapt : public MutableSampleMethod
{
public:
bool isAdaptive() const { return false; };
void adaptOff() {};
bool checkAdaptation() const { return true; };
};
} /* namespace jags */
#endif /* SAMPLE_METHOD_NON_ADAPT_H_ */
|