JADE (Java) - Change the agent container

Is there a way to reassign agents to another container, or will I need to create a new container and then create all new agent instances in the new container?

I searched many times and cannot find anything in the reassignment of the container.

Thanks in advance for any information!

+3
source share
1 answer

Hey i think you need code

myAgent.doMove( dest );

where dest is the name of the location of the new container registered in the main container.

+4
source

Source: https://habr.com/ru/post/1746616/


All Articles