| 433 | */ |
| 434 | |
| 435 | void copy( const double* const ip, const double Cost ) |
| 436 | { |
| 437 | y[ xhi ] = Cost; |
| 438 | double* const xH = x[ xhi ]; |
| 439 | |
| 440 | copyParams( xH, ip ); |
| 441 | findhi(); |
| 442 | |
| 443 | const double* const nxH = x[ xhi ]; |
| 444 | |
| 445 | if( xH != nxH ) |
| 446 | { |
| 447 | int i; |
| 448 | |
| 449 | for( i = 0; i < N; i++ ) |
| 450 | { |
| 451 | x0[ i ] += ( xH[ i ] - nxH[ i ]) * M1i; |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | StallCount = 0; |
| 456 | } |
| 457 | |
| 458 | /** |
| 459 | * Function evaluates parameter vector and applies value range wrapping, |
nothing calls this directly
no outgoing calls
no test coverage detected