User Activity

  • Posted a comment on discussion Open Discussion on Jadex BDI Agent System

    Hi, could you describe what your Problem with publicIFuture<map\<string, object="">> killComponent();</map\<string,> is? You can call it anytime. On 9/29/23 14:34, mrbrovki wrote: Hello, I want to ask if there is any way to kill an agent programmatically. I didn't understand how to use killAgent(), so I would be able to kill an agent even if it's active. Best Regards, Mahkam Killing Agents https://sourceforge.net/p/jadex/discussion/274111/thread/fdd3f7467f/?limit=25#53be Sent from sourceforge.net...

  • Posted a comment on discussion Help on Jadex BDI Agent System

    Hi Kevin, that is just an info message. It means that a step is not executed due to a changed context. Nothing to worry about. Best, Lars

  • Posted a comment on discussion Help on Jadex BDI Agent System

    You need to use Void instead of void. Best, Lars On 24.02.2023 21:09, PAULO ROBERTO CORDOVA wrote: |@Agent(type=BDIAgentFactory.TYPE) public class TranslationBDIRecur { //Fields @AgentFeature protected IBDIAgentFeature bdiFeature; @AgentFeature protected IExecutionFeature execFeature; protected Map<string, string=""> wordtable; @Belief protected String eWord; @OnInit public void init() { this.wordtable = new HashMap<string, string="">(); this.wordtable.put("coffee", "Café"); this.wordtable.put("milk",...

  • Posted a comment on discussion Help on Jadex BDI Agent System

    Hi, could you please provide the complete agent code so that I can test it? What data type is AgentActiveList? The list implementation will be changed by Jadex in order to track to the changes automatically via different wrapper classes. So this works only, if the typical List/Set/Map interfaces are used. Best, Lars On 24.02.2023 17:30, Thu Pham Dieu Anh wrote: Hi i am creating an example that Agent 1 has a @Belief List <string> AgentActiveList. Agent2, Agent3, Agent 4 add their names into that list...

  • Posted a comment on discussion Help on Jadex BDI Agent System

    Hi, the problem is that you can't use both at the same time: @OnStart and @AgentBody. The former replaces the latter. Just replace @OnStart at your init method with @OnInit and it will translate cat to gato. (So I also learned something new ;-) Alternatively, you could just copy the init copy in the body and delete that method completely. Best regards, Lars On 16.02.2023 02:48, PAULO ROBERTO CORDOVA wrote: |@Agent(type=BDIAgentFactory.TYPE) public class TranslationBDI { //Fields @AgentFeature protected...

  • Posted a comment on discussion Help on Jadex BDI Agent System

    Hi, please use @Agent(type=BDIAgentFactory.TYPE) to indicate that it is a BDI agent. Kind regards, Lars On 14.07.2022 01:08, PAULO ROBERTO CORDOVA wrote: Hi everybody! I'm starting to study Jadex and following a simple tutorial I came across an exception that I couldn't resolve by myself. The tutorial I'm working on is here https://download.actoron.com/docs/releases/latest/jadex-mkdocs/tutorials/bdiv3/03%20Using%20Plans/ and the exception is this: /No such feature: interface jadex.bdiv3.features.IBDIAgentFeature/...

  • Posted a comment on discussion Help on Jadex BDI Agent System

    Hi Marcel, you could do several things: a) let the agent itself implement the service b) let the service call a method on message arrival via IPojoComponentFeature and getPojoAgent() Kind regards Lars On 08.07.2022 18:06, Marcel wrote: Hi, I would like to access the content of the message that is sent by the ChatD1Agent.java from the tutorial. When accessing the result within resultAvailable i am only able to get the identifiers of the senders of the messages. I see that there is a method called...

  • Posted a comment on discussion Help on Jadex BDI Agent System

    Hi Kevin, this is just a logger info message. You can use @GoalResult on a field or method on a goal class. After goal is finished this field or method will be used to deliver the result to the caller. Alternatively, you can of course also just call goal.getBla() to access the method/field by yourself. SellGoal sell = new SellGoal(item, price); ItemInfo result = agent.getFeature(IBDIAgentFeature.class).dispatchTopLevelGoal(sell).get(); Kind regards, Lars On 27.06.2022 14:51, Kevin wrote: Hi, I'm...

View All

Personal Data

Username:
zthree
Joined:
2001-10-30 16:13:45

Projects

This is a list of open source software projects that Lars Braubach is associated with:

Personal Tools