Spanish Military Mods Panzer General for Real-World Pathfinding

November 12, 2009


There's few things that kill immersion more quickly than bad pathfinding. Watching your adversaries saunter in aimless loops, wander into crossfire or constantly bound off walls makes it hard to consider them the crack shock troops your supposed to be battling and quickly devolves tactical combat into a Laurel and Hardy affair. The problem gets even more complicated in situations like real-time strategy games, where groups of units not only need to be able to navigate but consider goals, obstacles and other environmental conditions.

Believe it or not, real-world militaries composed of human beings experience the same basic problem. What is the quickest, safest, most tactically sound way to move troops across a battlefield?

Researchers at the University of Granada have made some progress on this front. The team used the classic WWII strategy game Panzer General and an algorithm called ant colony optimization (ACO) to develop software that does pathfinding for real armies.

The ACO algorithm is a probabilistic method that uses principles evolved by ants to find and reinforce optimal paths between their colony and food. While they're foraging, ants wander fairly randomly. Once they find food, they head more or less straight back to the colony, leaving a trail of pheromones behind them. Other ants that pick up the scent are much more likely to follow the already traveled path, laying down pheromone tracks of their own, which reinforce the path. Over time, the pheromones evaporate, so paths that aren't reinforced die off. Since more ants will end up traveling a shorter path rather than a longer one during the same period of time, the shorter paths are continually reinforced while the longer ones become weaker. The result is that though each individual ant is fairly stupid, the colony itself is rather smart, finding optimal routes through the collective intelligence of the group.

The researchers at the University of Granada applied the algorithm to unit movement in a Panzer General mod. Each 'ant' in the simulation represented a company of troops. The ants were then tasked with finding the fastest path across a hostile map while sustaining as few casualties as possible, leaving behind digital pheromones based on their success. Using this information to build on their successes and avoid their failures, the colony was able to find optimal paths across the simulated battlefields.

The Spanish Ministry of Defense was so impressed by the research that it is considering using the simulator to plan real military strategies.

For their part, the researchers say their Panzer General mod could be tweaked to solve other real-world problems such as distributing aid relief. Variations of the ACO algorithm have already been used to tackle problems of protein folding and digital network routing.

We just want to know when they'll solve these problems...

[AGR via PopSci]

Buzz It

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Re: Spanish Military Mods Panzer General for Real-World ...

I don't think this is very promising in the age of satellites.

commercial HEPA vacuum | HEPA filter vacuumdust collector bag



       


GameCulture Shout Box

Posted 07/03/10 at 12:44pm
ZippyDSMlee: lets see dragon age,bioshock fallout 3....mmmmmmm I need another 7 games :P
Posted 06/30/10 at 10:14pm
JulieGray: @SimonBob - Lol yup, very easy to think of the top 10 games that sucked :P
Posted 06/30/10 at 11:15am
SimonBob: I doubt I could do a "top 10 top 10 lists list" but I could certainly conjure up a bottom 10 of the worst.
Posted 06/24/10 at 08:18am
ZippyDSMlee: oh wait report it in the forums right? LOL
Posted 06/24/10 at 07:44am
ZippyDSMlee: spam in ze used game article.
Posted 06/23/10 at 11:15pm
ZippyDSMlee: be nice but I guess thats for the next huge site overhaul.
Posted 06/23/10 at 11:14pm
ZippyDSMlee: <p>Kay, so back to no links but my page url is not blocked...but I can do links on GPs site 0-o consistency in the sites would</p>
Posted 06/23/10 at 10:01pm
JulieGray: I deleted that old profile. @Simonbob and Zippy - try commenting now please. Thanks
Posted 06/23/10 at 09:38pm
ZippyDSM: Is its to much work to whitelist I understand but just saying it should not be hard to white list peeps.
Posted 06/23/10 at 09:36pm
ZippyDSM: Bug the forums for this issue as well?
Posted 06/23/10 at 09:35pm
ZippyDSM: Yes I know I got 2 frikkin logins I forgot...who do I bug to get this one deleted?
Posted 06/23/10 at 09:34pm
ZippyDSM: just saying you need to tweak the spam filter by letting staff/editors/writers,ect whitelist people that are flaged as spam
Posted 06/23/10 at 09:30pm
JulieGray: <p>Alot of spam these days uses links to obscure and sometimes virus infested websites so that's why the filter blocks links. If you want to discuss please refer to the forum, thanks!</p> <br />
Posted 06/23/10 at 09:29pm
JulieGray: @ Zippy - yes I know that Zippy, I was explaining what the spam module does dude not pointing fingers... :/
Posted 06/23/10 at 09:27pm
ZippyDSMlee: Just havign a link in your sig dose not eman you are spam, trying to force advert something off topic is spam.
Posted 06/23/10 at 05:28pm
JulieGray: Ok so I looked at the spam module filters and if you add links or have links in your sig you 're spam lol
Posted 06/23/10 at 04:44pm
JulieGray: So yeah it def wasn't intentional to stop you guys from posting links or w/eva :P
Posted 06/23/10 at 04:41pm
JulieGray: Please read this thread on the spam thing http://forums.theeca.com/showthread.php?p=126678#post126678
Posted 06/23/10 at 11:58am
ZippyDSMlee: Why not que the post for modertion then add users by name so their posts are let threw without having to ok it manaully?
Posted 06/23/10 at 11:57am
ZippyDSMlee: Ya the spam filter just taged me as well 0-o
Login or register to post shouts