Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairFunction.cc
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/etable/count_pair/CountPairFunction.cc
11 /// @brief Count pair base class implementation
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 // Unit headers
16 
17 // STL Headers
18 #include <iostream>
19 
20 // Utility Headers
21 #include <utility/exit.hh>
22 
23 namespace core {
24 namespace scoring {
25 namespace etable {
26 namespace count_pair {
27 
28 Real const CountPairFunction::cp_half( 0.2f );
29 
30 bool
32  int const /*at1*/,
33  int const /*at2*/,
34  Real & /*weight*/,
35  Size & /*path_dist*/
36 ) const
37 {
38  std::cerr << "Count pair ERROR: base class invocation of operator().";
39  std::cerr << "Should have been overridden by derived class";
40  utility_exit();
41  return true;
42 }
43 
44 
45 } // namespace count_pair
46 } // namespace etable
47 } // namespace scoring
48 } // namespace core