This file is indexed.

/usr/include/JAGS/graph/MixTab.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
#ifndef MIX_MAP_H_
#define MIX_MAP_H_

#include <sarray/SimpleRange.h>

#include <vector>
#include <map>

namespace jags {

    class Node;

    /**
     * @short Helper class for MixtureNode
     *
     * Evaluation of a MixtureNode uses a MixTab, which takes the
     * current map value (a vector of integers) and returns a
     * pointer to the parent node from which the MixtureNode takes its
     * current value.
     */
    class MixTab {
	const SimpleRange _range;
	std::vector<Node const *> _nodes;
      public:
	/**
	 * Constructs a MixTab from a MixMap
	 */
	MixTab(std::map<std::vector<int>, Node const *> const &mixmap);
	/** 
	 * Returns a pointer to the node corresponding to the given
	 * index.  If there is no node matching the index, a NULL
	 * pointer is returned.
	 */
	Node const * getNode(std::vector<int> const &index) const;
	/**
	 * Returns the range covered by the indices
	 */
	Range const &range() const;
    };

} /* namespace jags */

#endif /* MIX_MAP_H_ */