internal IndexMultiDCList()
 {
     // Same as Index_multi_dc_list(true).
     m_list_nodes = new com.epl.geometry.StridedIndexTypeCollection(3);
     m_lists      = new com.epl.geometry.StridedIndexTypeCollection(6);
     m_b_store_list_index_with_node = false;
     m_list_of_lists = NullNode();
 }
Esempio n. 2
0
 internal IndexMultiList()
 {
     // Same as Index_multi_list(true);
     m_listNodes     = new com.epl.geometry.StridedIndexTypeCollection(2);
     m_lists         = new com.epl.geometry.StridedIndexTypeCollection(4);
     m_list_of_lists = NullNode();
     m_b_allow_navigation_between_lists = true;
 }
Esempio n. 3
0
 public Treap()
 {
     m_random       = 124234251;
     m_b_balancing  = true;
     m_touchFlag    = 0;
     m_defaultTreap = NullNode();
     m_treapData    = new com.epl.geometry.StridedIndexTypeCollection(7);
     m_comparator   = null;
 }
 internal IndexMultiDCList(bool b_store_list_index_with_node)
 {
     // When bStoreListIndexWithNode is true, the each node stores a pointer to
     // the list. Otherwise it does not.
     // The get_list() method cannot be used if bStoreListIndexWithNode is false.
     m_list_nodes = new com.epl.geometry.StridedIndexTypeCollection(3);
     m_lists      = new com.epl.geometry.StridedIndexTypeCollection(6);
     m_b_store_list_index_with_node = false;
     m_list_of_lists = NullNode();
 }
Esempio n. 5
0
 internal IndexMultiList(bool b_allow_navigation_between_lists)
 {
     // When b_allow_navigation_between_lists is False, the get_first_list and
     // get_next_list do not work.
     // There will be two Index_type elements per list and two Index_type
     // elements per list element
     // When b_allow_navigation_between_lists is True, the get_first_list and
     // get_next_list will work.
     // There will be four Index_type elements per list and two Index_type
     // elements per list element
     m_listNodes     = new com.epl.geometry.StridedIndexTypeCollection(2);
     m_lists         = new com.epl.geometry.StridedIndexTypeCollection(b_allow_navigation_between_lists ? 4 : 2);
     m_list_of_lists = NullNode();
     m_b_allow_navigation_between_lists = b_allow_navigation_between_lists;
 }