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
multistate_design
SingleStateFitnessFunction.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 SingleStateFitnessFunction.cc
11
/// @brief
12
/// @author Colin A. Smith
13
14
#include <
protocols/multistate_design/SingleStateFitnessFunction.hh
>
15
16
#include <
core/pose/Pose.hh
>
17
#include <
core/scoring/Energies.hh
>
18
19
#include <utility/vector1.hh>
20
21
22
namespace
protocols {
23
namespace
multistate_design {
24
25
core::Real
26
SingleStateFitnessFunction::evaluate
(
27
core::pose::Pose
const
& pose
28
)
const
29
{
30
// the base class fitness is just the pose score
31
runtime_assert(pose.
energies
().
energies_updated
());
32
return
pose.
energies
().
total_energy
();
33
}
34
35
}
// namespace multistate_design
36
}
// namespace protocols
Generated on Sat Jun 1 2013 12:00:46 for Rosetta 3.5 by
1.8.4