GithubHelp home page GithubHelp logo

forec / course-design Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 1.0 1.7 MB

本科阶段个人相关课程设计汇总

License: ISC License

C 17.23% C++ 41.58% QMake 0.14% Python 0.33% Java 37.74% Batchfile 0.24% VHDL 2.74%

course-design's People

Contributors

forec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

configcputimer

course-design's Issues

关于数据结构课设中的A*算法的一些问题

学长您好!
很抱歉打扰您,就是看见您的数据结构课设限时最小费用搜索里面使用了A* 算法,想学习一下您是怎么实现的,但是看了很久,依旧有几个没有看懂的地方,麻烦学长能不能抽空解答一下,感激不尽。
就是学长的A* 算法的实现应该都是在limit_time_cost里面的吧。
第一个不太懂的地方是学长在函数的大循环里面维护了一个优先队列,但是这个优先队列好像学长是直接push的城市编号k,那应该pop出来的元素就是根据城市编号大小排序这样?如果是这样的话那我们如何去计算这里面的F(x)的大小呢?
另一个不太确定的地方就是学长计算h(x)是全在adjacent_Edge函数里面了吗?然后里面的minimal存的是车次这样?
不好意思麻烦学长了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.