This file is indexed.

/usr/include/polybori/groebner/PolyEntryBase.h is in libbrial-groebner-dev 1.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
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
65
66
67
68
69
70
71
72
// -*- c++ -*-
//*****************************************************************************
/** @file PolyEntryBase.h 
 *
 * @author Michael Brickenstein (original) and Alexander Dreyer (refactored)
 * @date 2012-01-31 
 *
 * This file includes the definition of the class @c PolyEntryBase.
 *
 * @par Copyright:
 *   (c) 2006-2012 by The PolyBoRi Team
 *
**/
//*****************************************************************************

#ifndef polybori_groebner_PolyEntryBase_h_
#define polybori_groebner_PolyEntryBase_h_

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

BEGIN_NAMESPACE_PBORIGB

/** @class PolyEntryBase
 * @brief This class defines the base of @c PolyEntry.
 *
 **/

class PolyEntryBase {
public:
  PolyEntryBase(const Polynomial &poly):
    literal_factors(poly),
    p(poly), lead(poly.ring()), weightedLength(), 
    length(poly.length()), deg(poly.deg()), 
    // empty/zero default values to be filled below (TODO: use inheritance here)
    leadDeg(), leadExp(), gcdOfTerms(poly.ring()), 
    usedVariables(poly.usedVariablesExp()),
    tailVariables(), tail(poly.ring()),  minimal(true), vPairCalculated() {
    
    lead = p.boundedLead(deg);
    leadExp = lead.exp();
    leadDeg = leadExp.deg();
    
    if (leadDeg == deg)
      weightedLength = length;
    else
      weightedLength = poly.eliminationLengthWithDegBound(deg);
    
    tail = poly-lead;
    tailVariables = tail.usedVariablesExp();
  }

  LiteralFactorization literal_factors;
  Polynomial p;
  Monomial lead;
  wlen_type weightedLength;
  len_type length;
  deg_type deg;
  deg_type leadDeg;
  Exponent leadExp;
  Monomial gcdOfTerms;
  Exponent usedVariables;
  Exponent tailVariables;
  Polynomial tail;
  bool minimal;
  ///set of variables with which pair was calculated
  std::set<idx_type> vPairCalculated; 
};

END_NAMESPACE_PBORIGB

#endif /* polybori_groebner_PolyEntryBase_h_ */