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 {
23 WeightedFitParameters(
float chi,
float c1,
float c2,
Floats weights)
24 : FitParameters(chi, c1, c2), weights_(weights) {}
26 const Floats& get_weights()
const {
return weights_; }
28 void show(std::ostream& s)
const {
29 s <<
"Chi = " << chi_ <<
" c1 = " << c1_ <<
" c2 = " << c2_
30 <<
" default chi = " << default_chi_ << std::endl;
Import IMP/kernel/base_types.h in the namespace.
Copyright 2007-2014 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.