6-numbered ring
2017-03-11 20:33:13 0 举报
6-numbered ring
作者其他创作
大纲/内容
YES
Find bonds using labels layer by layer and store them in path446 —— 668 —— 446 ——...
bond1.inHexRing && bond2.inHexRing
Begin
return closeRingCount
NO
node1 == node2
store 6-numbered ring not closed in path
bond668: bond of node which labeled 668bond446_1: the first bond of node which labeled 446bond446_2: the second bond of node which labeled 446
node1 = path[4].nodenode2 = path[5].node
i = 2
If four bonds labels of node are completed.
bond1 = bonds[0]bond2 = bonds[i]
End
mark all bonds in path in 6-numbered ring
merge node1 and node2closeRingCount++i++
bonds labels completed?
收藏
收藏
0 条评论
下一页