swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] model


From: yuefengch
Subject: [Swarm-Support] model
Date: Mon, 3 Sep 2007 15:30:18 +0800 (CST)

 
hello,
   In my model I want to develop a 3 dimension continous space(don't consider display). Then put many cubes into it and let agent move into it like discrete2d.I hope this space reach double precision and can hold cube and locate agent. I meet trouble in this problem and want to get help. Meanwhile I think my job is a supplement to swarm space.
   Now I suppose my program such as:
@interface agent:SwarmObject  //define agent
{int worldXSize,worldYSize,worldZSize;
double xPos,yPos,zPos;
id <world> aWorld;
}
-step(); //move along line and location into world
@end
 
@interface world:SwarmObject
{int worldXSize,worldYSize,worldZSize;
}
-putObjectatX:(double)xPos Y:(double)yPos Z:(double)zPos;
   
problem:

1.  I want to know whether my program realize?
2.  In my model I want to develop a 3 dimension space(don't consider display), which may hold cube object in some double coordinate and record agent location. Would you mind give me some help in world library.
    thank you
                       yuefengch



独有“帐号保险柜”,保护网银网游密码,瑞星2008版免费
reply via email to

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