This file is indexed.

/usr/include/JAGS/sampler/ParallelSampler.h is in jags 3.4.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
#ifndef PARALLEL_SAMPLER_H_
#define PARALLEL_SAMPLER_H_

#include <sampler/Sampler.h>

class RNG;
class SampleMethod;

/**
 * @short Samples multiple chains in parallel 
 *
 * A ParallelSampler uses a vector of SampleMethod objects to update
 * each chain independently.
 */
class ParallelSampler : public Sampler
{
    std::vector<SampleMethod*> _methods;
public:
    /**
     * Constructor.
     *
     * @param methods Vector of pointers to SampleMethod objects,
     * These must be dynamically allocated, as the ParallelSampler
     * will take ownership of them, and will delete them when its
     * destructor is called
     */
    ParallelSampler(GraphView *gv, std::vector<SampleMethod*> const &methods);
    ~ParallelSampler();
    void update(std::vector<RNG*> const &rngs);
    bool isAdaptive() const;
    void adaptOff();
    bool checkAdaptation() const;
    std::string name() const;
};

#endif /* PARALLEL_SAMPLER_H_ */