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
protocols
scoring
methods
pcs
GridSearchIterator.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
//////////////////////////////////////////////
11
/// @begin
12
///
13
/// @file GridSearchIterator.hh
14
///
15
/// @brief
16
///
17
/// @detailed
18
///
19
/// @param
20
///
21
/// @return
22
///
23
/// @remarks
24
///
25
/// @references
26
///
27
/// @authorsv Christophe Schmitz
28
///
29
/// @last_modified June 2009
30
////////////////////////////////////////////////
31
32
#ifndef INCLUDED_protocols_scoring_methods_pcs_GridSearchIterator_hh
33
#define INCLUDED_protocols_scoring_methods_pcs_GridSearchIterator_hh
34
35
36
// Unit headers
37
38
// Package headers
39
40
// Project headers
41
#include <
core/types.hh
>
42
43
// Utility headers
44
#include <utility/pointer/ReferenceCount.hh>
45
46
// Numeric headers
47
48
// Objexx headers
49
50
// C++ headers
51
52
53
namespace
protocols{
54
namespace
scoring{
55
namespace
methods{
56
namespace
pcs
{
57
58
class
GridSearchIterator
:
public
utility::pointer::ReferenceCount
{
59
public
:
60
GridSearchIterator
();
61
62
virtual
~GridSearchIterator
();
63
64
GridSearchIterator
(
GridSearchIterator
const
& other);
65
66
GridSearchIterator
&
67
operator=
(
GridSearchIterator
const
& other);
68
69
GridSearchIterator
(
numeric::xyzVector< core::Real >
const
coo1,
70
numeric::xyzVector< core::Real >
const
coo2,
71
core::Real
const
k,
72
core::Real
const
edge_size,
73
core::Real
const
step_size,
74
core::Real
const
small_cutoff,
75
core::Real
const
large_cutoff,
76
core::Real
const
cone_angle);
77
78
bool
79
next
(
core::Real
&x,
80
core::Real
&y,
81
core::Real
&z);
82
83
bool
84
next_center
(
core::Real
&x,
85
core::Real
&y,
86
core::Real
&z);
87
88
void
89
reset
();
90
91
private
:
92
core::Real
const
x_center_
;
93
core::Real
const
y_center_
;
94
core::Real
const
z_center_
;
95
core::Real
x_current_
;
96
core::Real
y_current_
;
97
core::Real
z_current_
;
98
core::Real
const
step_
;
99
core::Real
const
edge_
;
100
core::Real
step_x_
;
101
core::Real
step_y_
;
102
core::Real
step_z_
;
103
bool
next_to_return_
;
104
core::Real
const
delta_
;
105
core::Real
const
small_cutoff_square_
;
106
core::Real
const
large_cutoff_square_
;
107
core::Real
const
x_vector_
;
108
core::Real
const
y_vector_
;
109
core::Real
const
z_vector_
;
110
core::Real
const
norme_vector_
;
111
core::Real
const
cone_angle_cos_
;
112
};
113
114
}
//namespace pcs
115
}
//namespace methods
116
}
//namespace scoring
117
}
//namespace protocols
118
119
#endif
Generated on Sat Jun 1 2013 12:10:36 for Rosetta 3.5 by
1.8.4