45 std::priority_queue<ElementInQueue_er, std::vector<ElementInQueue_er>,
cmp_er> er_queue;
49 int v_empty_start = 0;
50 int t_empty_start = 0;
59 int equal_buget = 100;
63 , ideal_weight(i_weight)
68 bool removeAnEdge_32(
int v1_id,
int v2_id,
const std::vector<int>& old_t_ids);
69 bool removeAnEdge_44(
int v1_id,
int v2_id,
const std::vector<int>& old_t_ids);
70 bool removeAnEdge_56(
int v1_id,
int v2_id,
const std::vector<int>& old_t_ids);
73 const std::array<int, 2>& v_ids,
74 std::vector<int>& t_ids,
75 bool is_check_conn_tet_num =
false);
76 bool isSwappable_cd1(
const std::array<int, 2>& v_ids);
78 bool isEdgeValid(
const std::array<int, 2>& v_ids);
79 void getNewTetSlots(
int n, std::vector<int>& new_conn_tets);
81 void addNewEdge(
const std::array<int, 2>& e);
84 double energy_time = 0;