This file is indexed.

/usr/include/JAGS/sampler/MutableSampler.h is in jags 4.3.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef MUTABLE_SAMPLER_H_
#define MUTABLE_SAMPLER_H_

#include <sampler/Sampler.h>

namespace jags {

    struct RNG;
    class MutableSampleMethod;

    /**
     * @short Samples multiple chains in parallel 
     *
     * A vector of MutableSampleMethod objects is used to update each
     * chain in parallel.
     */
    class MutableSampler : public Sampler
    {
	std::vector<MutableSampleMethod*> _methods;
	const std::string _name;
      public:
	/**
	 * Constructor.
	 *
	 * @param gv View of the sample graph, passed directly to the
	 * parent class Sampler, which takes ownership of it
	 *
	 * @param methods Vector of pointers to MutableSampleMethod
	 * objects, of length equal to the number of chains.  These
	 * must be dynamically allocated, as the
	 * MutableSampler will take ownership of them, and
	 * will delete them when its destructor is called
	 *
	 * @param name The name of the sampler, which will be returned
	 * by the member function name.
	 */
	MutableSampler(GraphView *gv, 
		       std::vector<MutableSampleMethod*> const &methods,
		       std::string const &name);
	~MutableSampler();
	void update(std::vector<RNG*> const &rngs);
	bool isAdaptive() const;
	void adaptOff();
	bool checkAdaptation() const;
	/**
	 * Returns the name of the sampler, as given to the constructor
	 */
	std::string name() const;
    };

} /* namespace jags */

#endif /* MUTABLE_SAMPLER_H_ */