File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ struct CDataStorageBucketList
4141 Vertex m_list_data[2 ];
4242 Vertex *m_list_head;
4343 Vertex *m_list_tail;
44- Distance m_switch_factor;
4544 Distance m_min_bucket_value;
4645 Distance m_max_bucket_value;
4746 Vertex *m_buckets[BucketCount];
@@ -52,7 +51,6 @@ struct CDataStorageBucketList
5251 virtual ~CDataStorage ();
5352 inline void init ();
5453 inline void add_best_closed ();
55- inline void set_switch_factor (const Distance _switch_factor);
5654 inline bool is_opened_empty ();
5755 inline u32 compute_bucket_id (Vertex &vertex) const ;
5856 inline void verify_buckets () const ;
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ inline CBucketList::CDataStorage(const u32 vertex_count) :
2525 Inherited(vertex_count)
2626{
2727 m_max_distance = Distance (-1 );
28- m_switch_factor = Distance (1 );
2928 m_min_bucket_value = Distance (0 );
3029 m_max_bucket_value = Distance (1000 );
3130 ZeroMemory (m_buckets, BucketCount*sizeof (Vertex*));
@@ -57,14 +56,6 @@ inline void CBucketList::add_best_closed()
5756 Inherited::add_closed (*m_buckets[m_min_bucket_id]);
5857}
5958
60- TEMPLATE_SPECIALIZATION
61- inline void CBucketList::set_switch_factor (const Distance _switch_factor)
62- {
63- if (!sorted)
64- NODEFAULT;
65- m_switch_factor = _switch_factor;
66- }
67-
6859TEMPLATE_SPECIALIZATION
6960inline bool CBucketList::is_opened_empty ()
7061{
You can’t perform that action at this time.
0 commit comments