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

Method getMaxValues

constr.cpp:42–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 virtual void getMaxValues( double* const p ) const
43 {
44 p[ 0 ] = 1.0;
45 p[ 1 ] = 1.0;
46 p[ 2 ] = 1.0;
47 p[ 3 ] = 1.0;
48 p[ 4 ] = 1.0;
49 p[ 5 ] = 1.0;
50 p[ 6 ] = 1.0;
51 p[ 7 ] = 1.0;
52 p[ 8 ] = 1.0;
53 p[ 9 ] = 100.0;
54 p[ 10 ] = 100.0;
55 p[ 11 ] = 100.0;
56 p[ 12 ] = 1.0;
57 }
58
59 double penalty( double v )
60 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected