This file is indexed.

/usr/include/BALL/DOCKING/GENETICDOCK/dockProblem.h is in libball1.4-dev 1.4.3~beta1-3.

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
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// ----------------------------------------------------
// $Maintainer: Marcel Schumann $
// $Authors: Jan Fuhrmann, Marcel Schumann $
// ----------------------------------------------------

#ifndef BALL_DOCKING_GENETICDOCK_DOCKPROBLEM_H
#define BALL_DOCKING_GENETICDOCK_DOCKPROBLEM_H

#include <vector>
#include <string>

#include <BALL/MATHS/vector3.h>
#include <BALL/KERNEL/system.h>
#include <BALL/KERNEL/molecule.h>
#include <BALL/KERNEL/protein.h>
#include <BALL/MATHS/vector3.h>

#include <BALL/DOCKING/GENETICDOCK/rotateBonds.h>
#include <BALL/DOCKING/GENETICDOCK/geneticAlgorithm.h>
#include <BALL/DOCKING/GENETICDOCK/evolutionaryDocking.h>

#include <BALL/DOCKING/GENETICDOCK/parameter.h>
#include <BALL/SCORING/COMMON/scoringFunction.h>

#include <BALL/MATHS/matrix44.h>
#include <BALL/MATHS/quaternion.h>

#ifndef BALL_DOCKING_COMMON_CONFORMATIONSET_H
# include <BALL/DOCKING/COMMON/conformationSet.h>
#endif // BALL_DOCKING_COMMON_CONFORMATIONSET_H

namespace BALL
{

  class BALL_EXPORT DockProblem
    {
    public:
      /** constructor
       */
      DockProblem();

      /** constructor
       */
      DockProblem(AtomContainer& sys_lig, BALL::ScoringFunction* sf,
		  EvolutionaryDocking* docker, bool post_dock_optimization);


      /** destructor
       */
      virtual ~DockProblem();


      virtual void setup(AtomContainer& sys_lig);


      /** calculate fitness score for one individual
       */
      virtual double calculate();

      /** move molecule according to vectors double_parameter_ and quaternion_parameter_, which are set by GeneticAlgorithm::calculate() */
      void move();

      /** true if best solution has changed
       */
      bool redraw();

      AtomContainer* getLigand();


      void connectTo(GeneticAlgorithm* opt);


    protected:

      EvolutionaryDocking* docker_;

      DoubleParameter double_parameter_;

      QuaternionParameter quaternion_parameter_;

      /** pointer to ligand molecule
       */
      AtomContainer* ligand_, *draw_ligand_;

      /** variables to store position and extentions of ligand and receptor
       */
      Vector3 t_origin_, t_extension_;

      Vector3 binding_pocket_center_;

      /**  calculate conformation score
       */
      BALL::ScoringFunction* scoring_function_;

      /** Vector to restore the position values of the ligand
       */
      std::vector<Vector3 > ligand_positions_;

      /** rotate bonds class
       */
      RotateBonds* rb_;



      /** set all rotable molecules to original positions
       */
      void restore();

      /** amber options
       */
      Options opt_;

      bool redraw_;

		bool post_dock_optimization_;

    };
}

#endif /* BALL_DOCKING_GENETICDOCK_DOCKPROBLEM_H */