Hi!I have a problem to simulation:
|------ |------
agent1 | |agent2|
|------ |------|
\ /
\--------/-
| mainagent|
----------
output of agent1 and agent2 is input of mainagent.
So is there way to solve this problem. agent1, agent2 and mainagent must have session together.
THANKS
Subject: RE: Agent output
There is no shared RAM memory between different agents – at least not that you can get at.
If you write an LSX using C or C++, then the global variables in that LSX are saved between agent runs that use the LSX.
Usually it’s easier to just store the shared information in a disk file or a Notes document.
Alternately, you could write your agents as web services and have Mainagent call the other two and receive their output as a reply.
Or, you could merge the three into a single agent.
Subject: Agent output
You can solve this problem by using parameter passing between agents. This works if your main agent calls the other agents. You can find coding examples of paramter passing in the Agent FAQ in the article called “Run and RunOnServer: passing parameters”.