This file is indexed.

/usr/include/polybori/groebner/RelatedTerms.h is in libpolybori-groebner-dev 0.8.3-3+b2.

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
// -*- c++ -*-
//*****************************************************************************
/** @file RelatedTerms.h 
 *
 * @author Michael Brickenstein (original) and Alexander Dreyer (refactored)
 * @date 2012-01-27
 *
 * This file includes the definition of the class @c RelatedTerms.
 *
 * @par Copyright:
 *   (c) 2006-2012 by The PolyBoRi Team
 *
**/
//*****************************************************************************

#ifndef polybori_groebner_RelatedTerms_h_
#define polybori_groebner_RelatedTerms_h_

#include "RelatedTermsBase.h"
#include <polybori/common/TransformedSequence.h>

// include basic definitions
#include "groebner_defs.h"

BEGIN_NAMESPACE_PBORIGB

/** @class RelatedTerms
 * @brief This class finds those terms in a given set which are related to
 * given terms
 *
 *  Get interesting terms (active ones owning some of @c lead's variables)
 **/
class RelatedTerms:
  protected RelatedTermsBase {
  typedef RelatedTermsBase base;

public:
  typedef TransformedSequence<MonomialSet, BoundedDivisorsOf>
  divisors_sequence_type;

  /// Empty set of terms
  RelatedTerms(const BoolePolyRing& ring): base(ring) { }

  /// Constructor   
  RelatedTerms(const Monomial& lead, const MonomialSet& monomials,
               const MonomialSet& ignorable):
    base(lead, monomials, ignorable, monomials.diff(ignorable))  { }
  
  /// Access actual monomial set
  const MonomialSet& terms() const { return related_terms(); }

  /// Get sequence of corresponding divisors (in the given monomial set)
  divisors_sequence_type divisors(const MonomialSet& monomials) const { 
    return divisors_sequence_type(factors(monomials), divisors_of());
  };
};


END_NAMESPACE_PBORIGB

#endif /* polybori_groebner_RelatedTerms_h_ */