File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.2 )
1+ cmake_minimum_required (VERSION 3.10 )
22
33project (CompactNSearch)
44
@@ -60,6 +60,10 @@ if (USE_DOUBLE_PRECISION)
6060 add_definitions ( -DUSE_DOUBLE)
6161endif (USE_DOUBLE_PRECISION)
6262
63+ if (WIN32 )
64+ add_definitions ( -D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
65+ endif ()
66+
6367option (BUILD_DEMO "Build example of how to use this library."
6468 ON )
6569if (BUILD_DEMO)
Original file line number Diff line number Diff line change @@ -195,6 +195,14 @@ class NeighborhoodSearch
195195 return m_activation_table.is_active (i, j);
196196 }
197197
198+ /* *
199+ * Resets the internal state of the neighborhood search. This will force a complete reinitialization.
200+ */
201+ void reset ()
202+ {
203+ m_initialized = false ;
204+ }
205+
198206private:
199207
200208 void init ();
You can’t perform that action at this time.
0 commit comments