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
pack
scmin
SidechainStateAssignment.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/pack/scmin/SidechainStateAssignment.hh
11
/// @brief Declaration for the class that holds a state assignment for an entire system under continuous sidechain optimization
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
#ifndef INCLUDED_core_pack_scmin_SidechainStateAssignment_HH
15
#define INCLUDED_core_pack_scmin_SidechainStateAssignment_HH
16
17
// Package Headers
18
// AUTO-REMOVED #include <core/pack/scmin/AtomTreeCollection.hh>
19
20
// utility
21
#include <utility/vector1.hh>
22
23
#include <
core/types.hh
>
24
#include <
core/pack/scmin/AtomTreeCollection.fwd.hh
>
25
26
27
namespace
core {
28
namespace
pack {
29
namespace
scmin {
30
31
32
/// A simple class for tracking a network state and its energy where
33
/// each sidechain's state is described by a series of chi angles.
34
class
SidechainStateAssignment
{
35
public
:
36
SidechainStateAssignment
(
Size
nmoltenres );
37
SidechainStateAssignment
(
SidechainStateAssignment
const
& );
38
SidechainStateAssignment
const
&
39
operator =
(
SidechainStateAssignment
const
& );
40
41
scmin::ResidueAtomTreeCollectionMomento
&
state_momento
(
Size
moltenresid );
42
void
assign_state
(
Size
moltenresid,
Size
orig_rotid );
43
void
assign_energy
(
Real
energy
);
44
45
scmin::ResidueAtomTreeCollectionMomento
const
&
momento_for_moltenres
(
Size
moltenresid )
const
;
46
Size
orig_rotamer_id_for_moltenres
(
Size
moltenres )
const
;
47
Real
energy
()
const
{
return
energy_
; }
48
bool
any_unassigned
()
const
;
49
Size
n_unassigned
()
const
{
return
n_unassigned_
; }
50
51
private
:
52
Size
nmoltenres_
;
53
utility::vector1< scmin::ResidueAtomTreeCollectionMomento >
state_assignments_
;
54
utility::vector1< Size >
original_rotamer_id_
;
55
Real
energy_
;
56
Size
n_unassigned_
;
57
};
58
59
60
}
// namespace scmin
61
}
// namespace pack
62
}
// namespace core
63
64
#endif
Generated on Sat Jun 1 2013 11:33:49 for Rosetta 3.5 by
1.8.4