8-numbered ring
2017-03-11 16:58:20 0 举报
zeolite
作者其他创作
大纲/内容
bonds labels completed?
append the information of node2 to node1 and empty node2
assign node1 and node2
swap Node
closeRingCount = 0
initialize
node1 == node 2 ?
node1 = path[7].toNodenode2 = path[8].toNode
YES
bond1 = bond668(bond of node which labeled 668)bond2 = bond446(bond of node which labeled 446)path = {}
begin
If four bonds labels of node are completed.
NO
closeRingCount
end
path.length = 8 ?
closeRingCount++
find the right path
收藏
收藏
0 条评论
下一页