| 464 | */ |
| 465 | |
| 466 | double eval( CBiteRnd& rnd, const double* const Params ) |
| 467 | { |
| 468 | int i; |
| 469 | |
| 470 | for( i = 0; i < N; i++ ) |
| 471 | { |
| 472 | NewValues[ i ] = wrapParamReal( rnd, Params[ i ], i ); |
| 473 | } |
| 474 | |
| 475 | const double NewCost = fixCostNaN( optcost( NewValues )); |
| 476 | NewCosts[ 0 ] = NewCost; |
| 477 | |
| 478 | updateBestCost( NewCost, NewValues ); |
| 479 | |
| 480 | return( NewCost ); |
| 481 | } |
| 482 | }; |
| 483 | |
| 484 | #endif // NMSOPT_INCLUDED |
nothing calls this directly
no outgoing calls
no test coverage detected