47 #ifndef G4ConvergenceTester
48 #define G4ConvergenceTester_h 1
75 {
return slope_fitting_function( x ); }
84 void CheckIsUpdated() {
if(!statsAreUpdated) { calStat(); } }
103 void calc_grid_point_of_history();
104 void calc_stat_history();
105 void check_stat_history(std::ostream& out =
G4cout);
107 std::vector<G4double> );
108 G4bool is_monotonically_decrease( std::vector<G4double> );
109 void calc_slope_fit( std::vector< G4double > );
110 G4double slope_fitting_function( std::vector< G4double > );
115 std::map< G4int , G4double > nonzero_histories;
122 std::vector<G4double> cpu_time;
136 G4int largest_score_happened;
146 G4int noBinOfHistory;
147 std::vector< G4int > history_grid;
148 std::vector< G4double > mean_history;
149 std::vector< G4double > var_history;
150 std::vector< G4double > sd_history;
151 std::vector< G4double > r_history;
152 std::vector< G4double > vov_history;
153 std::vector< G4double > fom_history;
154 std::vector< G4double > shift_history;
155 std::vector< G4double > e_history;
156 std::vector< G4double > r2eff_history;
157 std::vector< G4double > r2int_history;
160 std::vector< G4double > largest_scores;
161 std::vector< G4double > f_xi;
162 std::vector< G4double > f_yi;
G4GLOB_DLL std::ostream G4cout
G4double GetStandardDeviation()
void ShowHistory(std::ostream &out=G4cout)
G4double GetValueOfMinimizingFunction(std::vector< G4double > x)
void ShowResult(std::ostream &out=G4cout)
G4ConvergenceTester(G4String theName="NONAME")