Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练指南p332 #29

Open
GoogleCodeExporter opened this issue Aug 7, 2015 · 2 comments
Open

训练指南p332 #29

GoogleCodeExporter opened this issue Aug 7, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by pengfeit...@gmail.com on 22 Aug 2013 at 1:45

@GoogleCodeExporter
Copy link
Author

不好意思,不小心按了一下回车,还没写完就发表上去了。
p332页的negtiveCycle函数的第4行有问题吧,这里用队列实现bellma
n-ford,好像又叫spfa吧,应该把inq[0]改为inq[i],然后把后面的'
}'放到后面,不该在这里结束

Original comment by pengfeit...@gmail.com on 22 Aug 2013 at 1:48

@GoogleCodeExporter
Copy link
Author

sorry,这不是spfa,是另外一种方式的队列实现,但是inq[0]还��
�应该改为inq[1]

Original comment by pengfeit...@gmail.com on 23 Aug 2013 at 2:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant