C用线条表示所有点

编程入门 行业动态 更新时间:2024-10-27 19:25:50
本文介绍了C用线条表示所有点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好, 我有积分清单 mydots [] [积分] = {{x,y,z } // // 2000点 在同一行连接最近点的最佳和最快方法是什么? 我希望你明白吗? 绿线好,红色不好。 照片[ ^ ]

解决方案

听起来你正在研究旅行推销员问题,http://en.wikipedia/wiki/Travelling_salesman_problem。如果是这样,此页面有很多关于可能解决方案的信息。如果你找到一个更好的,你会出名并且可能非常富有:-) 我已经转发了我的评论,因为没有其他解决方案被发布。

Hello, I have list of points mydots[][points] = { {"x,y,z"}} // 2000 dots what is the best and fastest way to connect nearest dots in same line? I hope you will understand? green line are good , red one not. photo[^]

解决方案

It sounds like you''re working on something like The Travelling Salesman Problem, en.wikipedia/wiki/Travelling_salesman_problem. If so this page has lots of info on possible solutions. If you find a better one you will be famous and possibly very rich :-) I''ve reposted my comment as no other solution has been posted.

更多推荐

C用线条表示所有点

本文发布于:2023-10-13 14:33:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1488221.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用线

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!