This file is indexed.

/usr/include/JAGS/sampler/SamplerFactory.h is in jags 4.2.0-2.

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
#ifndef SAMPLER_FACTORY_H_
#define SAMPLER_FACTORY_H_

#include <vector>
#include <list>
#include <string>

namespace jags {

class Sampler;
class StochasticNode;
class Graph;

/**
 * @short Factory for Sampler objects
 */
class SamplerFactory
{
public:
    virtual ~SamplerFactory();
    /**
     * Finds nodes in the list of stochastic nodes that can be sampled
     * within the given graph, and returns a vector of newly allocated
     * samplers for them.  If no sampler can be created, an empty
     * vector is returned.
     */
    virtual std::vector<Sampler*> 
	makeSamplers(std::list<StochasticNode*> const &nodes, 
		     Graph const &graph) const = 0;
    /**
      * Returns the name of the sampler factory
      */
    virtual std::string name() const = 0;

};

} /* namespace jags */

#endif /* SAMPLER_FACTORY_H_ */