| 138 | */ |
| 139 | |
| 140 | class CFuncStats |
| 141 | { |
| 142 | public: |
| 143 | double MinCost; ///< Minimal cost detected in all attempts. |
| 144 | double SumRjCost; ///< Summary rejects cost. |
| 145 | int ComplAttempts; ///< The number of completed attempts. |
| 146 | int SumItCompl; ///< Sum of iterations in completed attempts. |
| 147 | |
| 148 | CFuncStats() |
| 149 | { |
| 150 | clear(); |
| 151 | } |
| 152 | |
| 153 | void clear() |
| 154 | { |
| 155 | MinCost = 1e300; |
| 156 | SumRjCost = 0.0; |
| 157 | ComplAttempts = 0; |
| 158 | SumItCompl = 0; |
| 159 | } |
| 160 | }; |
| 161 | |
| 162 | /** |
| 163 | * Function optimizer class. |
nothing calls this directly
no outgoing calls
no test coverage detected