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
pcs2
TensorsOptimizerSvd.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 protocols/scoring/methods/pcs2/TensorsOptimizerSvd.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 February 2010
30
////////////////////////////////////////////////
31
32
#ifndef INCLUDED_protocols_scoring_methods_pcs2_TensorsOptimizerSvd_hh
33
#define INCLUDED_protocols_scoring_methods_pcs2_TensorsOptimizerSvd_hh
34
35
// Package headers
36
#include <
protocols/scoring/methods/pcs2/PcsDataCenter.fwd.hh
>
37
// AUTO-REMOVED #include <protocols/scoring/methods/pcs2/TensorsOptimizer.hh>
38
39
// Project headers
40
#include <
core/optimization/Multifunc.hh
>
41
42
// Utility headers
43
44
// Numeric headers
45
// AUTO-REMOVED #include <numeric/constants.hh>
46
47
#include <utility/vector1.hh>
48
49
50
// Objexx headers
51
52
// C++ headers
53
54
55
namespace
protocols{
56
namespace
scoring{
57
namespace
methods{
58
namespace
pcs2
{
59
60
class
TensorsOptimizerSvd
:
public
core::optimization::Multifunc
{
61
62
public
:
63
//PcsDataCenter const & pcs_d_c_;
64
PcsDataCenter
&
pcs_d_c_
;
65
66
//TensorsOptimizerSvd();
67
68
TensorsOptimizerSvd
(
PcsDataCenter
/*const*/
& pcs_d_c);
69
70
virtual
71
~TensorsOptimizerSvd
();
72
73
// @brief OptE func
74
virtual
75
core::Real
76
operator ()
(
core::optimization::Multivec
const
& vars )
const
;
77
78
core::Real
79
func
(
core::optimization::Multivec
const
& vars )
const
;
80
81
82
/// @brief OptE dfunc
83
virtual
84
void
85
dfunc
(
core::optimization::Multivec
const
& vars,
86
core::optimization::Multivec
& dE_dvars
87
)
const
;
88
89
virtual
90
bool
91
abort_min
(
core::optimization::Multivec
const
& vars )
const
;
92
93
/// @brief exact derivative (fast)
94
void
95
dfunc_exact
(
core::optimization::Multivec
const
& vars,
96
core::optimization::Multivec
& dE_dvars
97
)
const
;
98
99
/// @brief numeric derivative (slow)
100
void
101
dfunc_numeric
(
core::optimization::Multivec
const
& vars,
102
core::optimization::Multivec
& dE_dvars
103
)
const
;
104
105
private
:
106
107
108
};
109
110
}
//namespace pcs2
111
}
//namespace methods
112
}
//namespace scoring
113
}
//namespace protocols
114
/*
115
static const core::Real FACT_USI_PRECALC_FOR_A_3( (10000.0/12.0/ core::Real( numeric::constants::d::pi ) ) * 3.0 );
116
117
static const core::Real FACT_20_PI_OVER_10000(20 * numeric::constants::d::pi / 10000.0);
118
static const core::Real FACT_10000_OVER_4PI(10000.0/(4 * numeric::constants::d::pi));
119
*/
120
#endif
Generated on Sat Jun 1 2013 12:11:46 for Rosetta 3.5 by
1.8.4