MCPcopy Create free account
hub / github.com/davisking/dlib / set_seed

Method set_seed

dlib/global_optimization/global_function_search.cpp:725–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723// ----------------------------------------------------------------------------------------
724
725 void global_function_search::
726 set_seed (
727 time_t seed
728 )
729 {
730 rnd = dlib::rand(seed);
731 }
732
733// ----------------------------------------------------------------------------------------
734

Callers

nothing calls this directly

Calls 1

randClass · 0.50

Tested by

no test coverage detected