MCPcopy Create free account
hub / github.com/avaneev/biteopt / CFuncStats

Class CFuncStats

tests/tester.h:140–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 */
139
140class CFuncStats
141{
142public:
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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected