| 2102 | */ |
| 2103 | |
| 2104 | void setStartParams( const double* const InitParams ) |
| 2105 | { |
| 2106 | if( InitParams == NULL ) |
| 2107 | { |
| 2108 | return; |
| 2109 | } |
| 2110 | |
| 2111 | int i; |
| 2112 | |
| 2113 | for( i = 0; i < ParamCount; i++ ) |
| 2114 | { |
| 2115 | StartParams[ i ] = (ptype) (( InitParams[ i ] - MinValues[ i ]) / |
| 2116 | DiffValues[ i ]); |
| 2117 | } |
| 2118 | |
| 2119 | UseStartParams = true; |
| 2120 | } |
| 2121 | |
| 2122 | /** |
| 2123 | * Function generates a random initial solution with Gaussian sampling |
nothing calls this directly
no outgoing calls
no test coverage detected