Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ContextGraph.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file core/scoring/ContextGraph.hh
11 /// @brief Context graph class declaration
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 #ifndef INCLUDED_core_scoring_ContextGraph_hh
15 #define INCLUDED_core_scoring_ContextGraph_hh
16 
17 // Unit Headers
19 
20 // Project Headers
21 #include <core/graph/Graph.hh>
22 #include <core/pose/Pose.fwd.hh>
23 #include <core/types.hh>
24 
25 #include <utility/vector1.hh>
26 
27 
28 namespace core {
29 namespace scoring {
30 
31 class ContextGraph : public graph::Graph {
32 public:
34 
35 public:
36 
37  virtual ~ContextGraph();
38 
39  ContextGraph();
41  ContextGraph( ContextGraph const & source );
42  ContextGraph & operator = ( ContextGraph const & source );
43 
44  virtual
45  Distance
46  neighbor_cutoff() const = 0;
47 
48 
49  virtual
50  void
52  Size lower_node_id,
53  Size upper_node_id,
54  DistanceSquared dsq
55  ) = 0;
56 
57  virtual
59  clone() const = 0;
60 
61  virtual
62  void update_from_pose(
63  pose::Pose const & pose
64  ) = 0;
65 
66 protected:
67  virtual Size count_static_memory() const = 0;
68  virtual Size count_dynamic_memory() const;
69 
70 
71 };
72 
73 } // scoring
74 } // core
75 
76 #endif