开发者

JADE (Java) - Changing Agent Container

Is there a way to reassign agents to a different co开发者_C百科ntainer or will I have to create a new container and then create all new instances of the agents within the new container?

I have done a lot of searching and can't seem to find anything on container reassignment.

Thanks in advance for any info!


Hey I think the code you need is

myAgent.doMove( dest );

with dest being the location name of the new container as registered with the main container.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜