8 #ifndef IMPSAXS_WEIGHTED_FIT_PARAMETERS_H
9 #define IMPSAXS_WEIGHTED_FIT_PARAMETERS_H
11 #include <IMP/saxs/saxs_config.h>
19 IMPSAXS_BEGIN_NAMESPACE
21 class IMPSAXSEXPORT WeightedFitParameters :
public FitParameters {
24 WeightedFitParameters(
float chi,
float c1,
float c2,
Floats weights):
25 FitParameters(chi, c1, c2), weights_(weights) {}
27 const Floats& get_weights()
const {
return weights_; }
29 void show(std::ostream& s)
const {
30 s <<
"Chi = " << chi_ <<
" c1 = " << c1_ <<
" c2 = " << c2_
31 <<
" default chi = " << default_chi_ << std::endl;
Import IMP/kernel/base_types.h in the namespace.
Copyright 2007-2013 IMP Inventors. All rights reserved.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
IMP::base::Vector< Float > Floats
Standard way to pass a bunch of Float values.