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

Method initBuffers

biteaux.h:1889–1902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1887 ///< optimize() function call.
1888
1889 virtual void initBuffers( const int aParamCount, const int aPopSize,
1890 const int aCnsCount = 0, const int aObjCount = 1 )
1891 {
1892 CBiteParPops< ptype > :: initBuffers( aParamCount, aPopSize,
1893 aCnsCount, aObjCount );
1894
1895 MinValues = new double[ ParamCount ];
1896 MaxValues = new double[ ParamCount ];
1897 DiffValues = new double[ ParamCount ];
1898 DiffValuesI = new double[ ParamCount ];
1899 StartParams = new ptype[ ParamCount ];
1900 BestValues = new double[ ParamCount ];
1901 NewValues = new double[ ParamCount ];
1902 }
1903
1904 virtual void deleteBuffers()
1905 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected