最短路径查找器的C ++代码 [英] c++ code for shortest path finder

查看:70
本文介绍了最短路径查找器的C ++代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

plz使用文件处理功能在c ++中提供了类和继承最短路径查找器的代码

plz give the code of shortest path finder in c++ with class and inheritance with using file handaling

推荐答案

我们不做您的作业:它是为原因.在这里,您可以考虑自己被告知的内容,并尝试理解它.也可以在那里帮助您的导师识别您的弱点,并将更多的注意力放在补救措施上.

自己尝试,您可能会发现它并不像您想的那样困难!
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!


您的方法有误:
当您的导师要求编写用于查找最短路径的代码时,您只是在尝试查找用于获取代码的最短路径.
You are on the wrong way:
While your tutor asked you to write the code for finding the shortest path, you are just trying to find the shortest path to get the code.


您好,

您应该研究Edsger Dijkstra的算法以及一些后来改进的算法,例如A *.

最好的祝福,
-大卫·德劳恩(David Delaune)
Hi,

You should research the algorithm by Edsger Dijkstra and some of the later improved algorithms such as A*.

Best Wishes,
-David Delaune


这篇关于最短路径查找器的C ++代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆