47#ifndef G4ConvergenceTester
48#define G4ConvergenceTester_h 1
74 {
return slope_fitting_function( x ); }
81 G4double GetStandardDeviation() {
return sd; }
82 G4double GetVariance() {
return var; }
84 G4double GetEfficiency() {
return efficiency; }
85 G4double GetR2eff() {
return r2eff; }
86 G4double GetR2int() {
return r2int; }
87 G4double GetShift() {
return shift; }
91 void calc_grid_point_of_history();
92 void calc_stat_history();
93 void check_stat_history();
95 std::vector<G4double> );
96 G4bool is_monotonically_decrease( std::vector<G4double> );
97 void calc_slope_fit( std::vector< G4double > );
98 G4double slope_fitting_function( std::vector< G4double > );
102 std::map< G4int , G4double > nonzero_histories;
109 std::vector<G4double> cpu_time;
123 G4int largest_score_happened;
133 G4int noBinOfHistory;
134 std::vector< G4int > history_grid;
135 std::vector< G4double > mean_history;
136 std::vector< G4double > var_history;
137 std::vector< G4double > sd_history;
138 std::vector< G4double > r_history;
139 std::vector< G4double > vov_history;
140 std::vector< G4double > fom_history;
141 std::vector< G4double > shift_history;
142 std::vector< G4double > e_history;
143 std::vector< G4double > r2eff_history;
144 std::vector< G4double > r2int_history;
147 std::vector< G4double > largest_scores;
148 std::vector< G4double > f_xi;
149 std::vector< G4double > f_yi;
G4double GetValueOfMinimizingFunction(std::vector< G4double > x)
G4ConvergenceTester(G4double)