swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Brain protocol


From: Juan J. Merelo
Subject: Brain protocol
Date: Wed, 19 Feb 1997 11:18:51 -0700

Hi all:
        During SwarmFest, and some days before, I suggested the
creation of a Brain protocol for Swarm. As far-fetched as this might
seem, I think it would be really interesting to come up with a common
interface for all possible "brains" a swarm creature could have. As
you know, a protocolo is nothing more than an interface, but at the
same time makes all the classes that follow it to be plug-compatible.

        Then, basically what we should agree on is on the messages
this protocol should have and its names and parameters. This might
prove eventually impossible, but let's at least try.

        When the protocol is done, obviously it would be desirable
that whenever somebody comes up with a brain-like object, he or she
would follow it, so that that object can be interchanged with any
other "brain-like" object.

        Then, let's think of it. I would, for starters, propose a
single function,
-(float*) feel: (float*);

        This would be the basic function, to feed an information
vector to the brain, and return an "action" vector.

        Probably this one would also be needed:
-(char*) getBrainID;
        That would return the brain type and maybe an unique ID.

        Comments, ideas, criticism anyone?

                                JJ
-- 
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]