Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CountPairData_1_3.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/etrie/CountPairData_1_3.cc
11 /// @brief
12 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13 
14 // Unit Headers
16 
17 // Utility headers
18 #include <utility/assert.hh>
19 
20 // STL Headers
21 #include <iostream>
22 #include <cassert>
23 
24 namespace core {
25 namespace scoring {
26 namespace etable {
27 namespace etrie {
28 
30  Size entry,
31  Size ASSERT_ONLY( connpoint ),
32  Size connection_dist
33 )
34 {
35  assert( entry > 0 && entry <= 3 );
36  assert( connpoint == 1 );
37  connection_distances_[ entry - 1 ] = connection_dist;
38 }
39 
40 
41 void CountPairData_1_3::print( std::ostream & os ) const
42 {
43  os << "CountPairData_1_3" << std::endl;
44 }
45 
46 /*
47 void
48 CountPairData_1_3::set_count_pair_data_to_use(
49  Size connection_id
50 ) const
51 {
52  assert( connection_id == 1 || connection_id == 2 || connection_id == 3 );
53  connection_distance_at_hand_ = connection_distances_[ connection_id - 1 ];
54 }
55 */
56 
57 std::ostream & operator << ( std::ostream & os, CountPairData_1_3 const & cpdat )
58 {
59  cpdat.print( os );
60  return os;
61 }
62 
63 
64 } // namespace etrie
65 } // namespace etable
66 } // namespace scoring
67 } // namespace core
68