This file is indexed.

/usr/include/JAGS/model/MonitorControl.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef MONITOR_CONTROL_H_
#define MONITOR_CONTROL_H_

#include <sarray/Range.h>

class Monitor;

/**
 * @short Control a monitor 
 */
class MonitorControl {
    Monitor * _monitor;
    unsigned int _start;
    unsigned int _thin;
    unsigned int _niter;
public:
    /** 
     * Constructor
     * @param monitor Monitor that will be under control
     * @param start   First iteration to be monitored
     * @param thin    Thinning interval for monitor
     */
    MonitorControl(Monitor *monitor, unsigned int start, unsigned int thin);
    /**
     * Updates the monitor. If the iteration number coincides with
     * the thinning interval, then the update function of the Monitor
     * is called function is called.
     *
     * @param iteration The current iteration number.
     */
    void update(unsigned int iteration);
    /**
     * Reserves enough memory for a further niter iterations, taking
     * account of the thinning interval of the monitor.
     * @see Monitor#reserve
     */
    void reserve(unsigned int niter);
    /**
     * Returns the monitor under control.
     */
    Monitor const *monitor() const;
    /**
     * First iteration monitored
     */
    unsigned int start() const;
    /**
     * Last iteration monitored
     */
    unsigned int end() const;
    /**
     * Thinning interval of monitor
     */
    unsigned int thin() const;
    /**
     * Number of iterations
     */
    unsigned int niter() const;
    /**
     * Equality operator
     */
    bool operator==(MonitorControl const &rhs) const;
};

#endif /* MONITOR_CONTROL_H_ */