Skip to content

Commit

Permalink
2.1 already complete, fix biconnected bugs. waiting for dynamic DL / …
Browse files Browse the repository at this point in the history
…stitch redundancy removal by LU
  • Loading branch information
wadmes committed Feb 21, 2020
1 parent e0b2601 commit 2b76cac
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/SimpleMPL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,15 @@ void SimpleMPL::lg_simplification(std::vector<uint32_t>::const_iterator itBgn, s
if (m_db->simplify_level() > 1)
simplify_strategy |= graph_simplification_type::HIDE_SMALL_DEGREE;

if (m_db->simplify_level() > 2)
simplify_strategy |= graph_simplification_type::BICONNECTED_COMPONENT;
//uint32_t simplify_strategy = graph_simplification_type::HIDE_SMALL_DEGREE;
// NOTE: After experiments, I noticed that BICONNECTED_COMPONENT cannot be used in the first simplification phase
// since some valid stitches may be introduced in the arti_point! if we use BICONNECTED_COMPONENT.
// Currently, biconnected point recovery does not fit into stitch case!
// by WEI 21/02/2020

// if (m_db->simplify_level() > 2)
// simplify_strategy |= graph_simplification_type::BICONNECTED_COMPONENT;

// uint32_t simplify_strategy = graph_simplification_type::HIDE_SMALL_DEGREE;
//simplify_strategy |= graph_simplification_type::BICONNECTED_COMPONENT;
graph_simplification_type gs(dg, m_db->color_num());

Expand Down Expand Up @@ -971,8 +977,8 @@ void SimpleMPL::projection()
uint32_t end_idx = Poly_Rect_end[pid];

std::vector<uint32_t>& nei_vec = m_mAdjVertex[pid];
//if (m_in_DG[pid] && m_isVDDGND[pid] == false)
if (m_in_DG[pid] && m_articulation_vec[pid] == false && m_isVDDGND[pid] == false)
if (m_in_DG[pid] && m_isVDDGND[pid] == false)
// if (m_in_DG[pid] && m_articulation_vec[pid] == false && m_isVDDGND[pid] == false)
{
std::vector<rectangle_pointer_type> poss_nei_vec;
for (std::vector<uint32_t>::iterator it = nei_vec.begin(); it != nei_vec.end(); it++)
Expand Down

0 comments on commit 2b76cac

Please sign in to comment.