- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
圆排列问题(Circle permutation problem)
圆排列问题(Circle permutation problem)
Data worth having
From the usual study, accumulation and summary
Where there is a problem, there must be some
Please also criticize and correct me!
Circle permutation problem
I. problem description
Given the size of the circle N C1
C2
...
Now put the N circles in a rectangular box
And ask the circle to be tangent to the bottom of the rectangle
The circular permutation problem requires all rows from the N circles
Two, algorithm design
The solution space of the round permutation problem is a permutation tree
Algorithm framework for searching permutation trees based on Backtracking
Set a=[r1 at the start
R2
...
Rn] is the radius of the given N circle
The corresponding permutation tree is made up of all the permutations of a=[1:n]
The backtracking algorithm for solving the permutation of a circle circlePerm (n
A) returns the minimum circle length found
Initial time
The input a of the array N is the radius of the circle
At the end of the calculation, the circle arrangement corresponding to the optimal solution is returned
Center is used to calculate the abscissa of the center of the circle in the current arrangement of the currently selected circle
Compute is used to calculate the length of the current circle arrangement
The variable min is used to record the minimum length of the current round array; the array R represents the current circle arrangement; the array x records the central coordinate of the circles in the current round arrangement
In the algorithm, the circle is arranged in the current round arrangement, and the abscissa of the first circle is 0
In recursive algorithms, bracktrack
When I n
Algorithm search to leaf node
New round scheme is obtained
At this point, the algorithm calls compute to calculate the length of the current circle
Update the current best value in time
When in
The current extension node is in layer I-1 of the alignment tree
At this point, the algorithm selects the next circle to be arranged
And the corre
您可能关注的文档
- 古惑仔人物(Crash girl).doc
- 古希腊奥运会起源传说(Ancient Greece Olympic Games origin fable).doc
- 古代一两银子值现在多少钱(How much is the value of one or two silver in ancient times).doc
- 古文奇才自译绿色生活(Translated Title classical Wizard from green life).doc
- 古诗词应用(Ancient poetry application).doc
- 只要开始,永远不晚——图尔库水龙头公司案例读后(As long as it starts, it's never too late - a case study of the Turku faucet company).doc
- 可怕坏习惯 毁坏孩子的未来(Terrible bad habits destroy the child's future).doc
- 可编程序控制器发展和应用(Development and application of programmable logic controller).doc
- 可口可乐从办公室营销转向走动营销(Coca-Cola from office marketing to mobile marketing).doc
- 可编程序控制器的五种标准编程语言(Five standard programming languages for programmable controllers).doc
- 图的最小生成树(Minimum spanning tree of a graph).doc
- 图书馆馆藏借阅情况的数据分析(Data analysis of Library Collection).doc
- 圆明园的论文(Old Summer Palace papers).doc
- 圆的整理复习(Circular collation review).doc
- 圆的复习(Round review).doc
- 圆的认识 习题精选(Circle of knowledge, exercises, selections).doc
- 圆的认识教案(Round cognition lesson plan).doc
- 圆的认识教学设计张彩(Circle of understanding, teaching design, Cai Cai).doc
- 圆锥曲线统一定义的教学设计(Teaching design of unified definition of conic).doc
- 圆锥曲线高考题(Conic section college entrance examination questions).doc
文档评论(0)