问题描述
通过多线程(很多人)决定模拟运动逃逸的算法是什么.
谢谢
[我希望这是对问题的准确表述]
我想构建一个应用程序来模拟人们在大火中的反应.想象一下,我们有一幢人满为患的建筑物,并且我们要模拟火灾警报器.我们需要为每个人创建一个不同的线程,并有一个算法来确定该人应该去哪里逃跑并以某种方式模拟运动.
用来模拟这种情况的最佳算法是什么?
what algorithm for decision about simulation''s movement escape from on fire by multi thread(many people).
Thank,
[I hope this is an accuracte rephrasing of the question]
I want to build an application to simulate how people respond during a fire. Imagine we have a building full of people and we want to simulate a fire alarm. We need to create a different thread for each person and have an algorithm figure out where the person should go to escape and simulate the movement in some way.
What is the best algorithm to use to simulate this?
推荐答案
这篇关于如何使用算法来决定多线程运动模拟.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!