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
swa
StepWiseDoNothingSampleGenerator.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 StepWiseDoNothingSampleGenerator
11
/// @brief Subclass of StepWisePoseSampleGenerator
12
/// @detailed
13
/// @author Rhiju Das
14
15
16
//////////////////////////////////
17
#include <
protocols/swa/StepWiseDoNothingSampleGenerator.hh
>
18
#include <
core/types.hh
>
19
// AUTO-REMOVED #include <core/pose/Pose.hh>
20
// AUTO-REMOVED #include <utility/exit.hh>
21
// AUTO-REMOVED #include <ObjexxFCL/string.functions.hh>
22
23
//Auto Headers
24
#include <utility/vector1.hh>
25
26
using namespace
core;
27
28
// Fires once. Doesn't actually do anything to the pose.
29
namespace
protocols {
30
namespace
swa {
31
32
//////////////////////////////////////////////////////////////////////////
33
//constructor!
34
StepWiseDoNothingSampleGenerator::StepWiseDoNothingSampleGenerator():
35
ready_to_go_( 1 )
36
{
37
reset
();
38
}
39
40
41
//////////////////////////////////////////////////////////////////////////
42
void
43
StepWiseDoNothingSampleGenerator::reset
(){
44
ready_to_go_
= 1;
45
}
46
47
//////////////////////////////////////////////////////////////////////////
48
bool
49
StepWiseDoNothingSampleGenerator::has_another_sample
(){
50
return
ready_to_go_
;
51
}
52
53
//////////////////////////////////////////////////////////////////////////
54
void
55
StepWiseDoNothingSampleGenerator::get_next_sample
(
core::pose::Pose
& )
56
{
57
ready_to_go_
= 0;
58
}
59
60
///////////////////////////////////////////////////////
61
Size
62
StepWiseDoNothingSampleGenerator::size
()
const
{
63
return
1;
64
}
65
66
67
}
68
}
Generated on Sat Jun 1 2013 12:20:14 for Rosetta 3.5 by
1.8.4