We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Help with Design Pattern
Page Index Toggle Pages: 1
Help with Design Pattern (Read 417 times)
Help with Design Pattern
Feb 11th, 2008, 4:56pm
 
Ok i'm not sure if there's a design pattern for this:

Let's say i have 5 autonomous agents. I can use a command pattern to control them, but is there a pattern i can apply when i want them to act for a common goal, though each agent might be doing something different.

i;m sure i read this somewhere out there, but for the life of me can't remember which paper that was.
Re: Help with Design Pattern
Reply #1 - Feb 13th, 2008, 8:44am
 
I'll answer this myself: Basically i'll use a decorator pattern on a command pattern to add an overall objective functionality and stick that into an event based scheduler.
Page Index Toggle Pages: 1