Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PcsEnergyParameter.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  //////////////////////////////////////////////
11  /// @begin
12  ///
13  /// @file protocols/scoring/methods/pcs2/PcsEnergyParameter.cc
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 
33 // Unit headers
35 
36 // Package headers
37 
38 // Project headers
39 #include <basic/Tracer.hh>
40 
41 // Utility headers
42 // AUTO-REMOVED #include <utility/exit.hh>
43 
44 // Numeric headers
45 
46 // Objexx headers
47 
48 // C++ headers
49 // AUTO-REMOVED #include <iostream>
50 
51 #include <utility/vector1.hh>
52 
53 
54 namespace protocols {
55 namespace scoring {
56 namespace methods {
57 namespace pcs2 {
58 
59 basic::Tracer TR_PcsEnergyParameter("protocols.scoring.methods.pcs.PcsEnergyParameter");
60 
62 
63 }
64 
66 }
67 
70  if ( this != &other ) {
73  n_trial_min_ = other.n_trial_min_;
74  pcs_weight_ = other.pcs_weight_;
78  }
79  return *this;
80 }
81 
83 
86  n_trial_min_ = other.n_trial_min_;
87  pcs_weight_ = other.pcs_weight_;
91 }
92 
93 void
95  utility::vector1<core::Real> const vec_individual_weight){
96 
97  vec_filename_ = vec_filename;
98  vec_individual_weight_ = vec_individual_weight;
99 }
100 
101 void
103  core::Size const include_only_start,
104  core::Size const include_only_end,
105  core::Size const n_trial_min,
106  core::Real const pcs_weight,
107  core::Real const individual_scale
108  ){
109 
110  include_only_start_ = include_only_start;
111  include_only_end_ = include_only_end;
112  n_trial_min_ = n_trial_min;
113  pcs_weight_ = pcs_weight;
114  individual_scale_ = individual_scale;
115 }
116 
117 std::ostream &
118 operator<<(std::ostream& out, const PcsEnergyParameter &me){
119 
120  out <<"include_only_start " <<
121  me.include_only_start_ << " include_only_end " <<
122  me.include_only_end_ <<" n_trial_min " <<
123  me.n_trial_min_ <<" pcs_weight " <<
124  me.pcs_weight_<< std::endl;
125  return out;
126 }
127 
128 
131  return include_only_start_;
132 }
133 
134 
137  return include_only_end_;
138 }
139 
142  return n_trial_min_;
143 }
144 
147  return pcs_weight_;
148 }
149 
150 
153  return individual_scale_;
154 }
155 
156 
159  return vec_filename_;
160 }
161 
164  return vec_individual_weight_;
165 }
166 
167 } // PCS
168 } // methods
169 } // scoring
170 } // core