Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
scoring
etable
etrie
CountPairData_1_1.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/trie/trie_vs_trie.hh
11
/// @brief
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
#ifndef INCLUDED_core_scoring_etable_etrie_CountPairData_1_1_hh
15
#define INCLUDED_core_scoring_etable_etrie_CountPairData_1_1_hh
16
17
// Unit Headers
18
#include <
core/scoring/etable/etrie/CountPairData_1_1.fwd.hh
>
19
20
// Project Headers
21
#include <
core/types.hh
>
22
23
// STL Headers
24
#include <iosfwd>
25
#include <cassert>
26
27
// Utility headers
28
#include <utility/assert.hh>
29
30
namespace
core {
31
namespace
scoring {
32
namespace
etable {
33
namespace
etrie {
34
35
class
CountPairData_1_1
36
{
37
public
:
38
39
CountPairData_1_1
() :
connection_distance_
( 0 ) {}
40
41
void
set_dist_to_connect_point
(
Size
entry,
Size
connpoint,
Size
connection_dist );
42
43
inline
44
bool
operator <
(
CountPairData_1_1
const
& other )
const
45
{
46
return
connection_distance_
< other.
connection_distance_
;
47
}
48
49
inline
50
bool
operator ==
(
CountPairData_1_1
const
& other )
const
51
{
52
return
connection_distance_
== other.
connection_distance_
;
53
}
54
55
56
void
print
( std::ostream & os )
const
;
57
58
//void
59
//set_count_pair_data_to_use( Size connection_id ) const;
60
61
inline
62
Size
63
conn_dist
(
Size
ASSERT_ONLY( which_connection) )
const
64
{
65
assert( which_connection == 0 );
66
return
connection_distance_
;
67
}
68
69
private
:
70
Size
connection_distance_
;
71
72
};
73
74
std::ostream &
operator <<
( std::ostream & os,
CountPairData_1_1
const
& cpdat );
75
76
}
// namespace etrie
77
}
// namespace etable
78
}
// namespace scoring
79
}
// namespace core
80
81
#endif
Generated on Sat Jun 1 2013 11:36:49 for Rosetta 3.5 by
1.8.4