Questions tagged [agents-jade]

JADE - Java Agent Development framework

JADE is a software framework fully implemented in Java, that simplifies the implementation of multi-agent systems through a middle-ware that complies with the FIPA specifications.

JADE provides:

  • An environment where JADE agents are executed;
  • Class Libraries to create agents using heritage and redefinition of behaviors;
  • A graphical toolkit to monitor and manage the platform of agents.

Official website: http://jade.tilab.com/

Online documentation: http://jade.tilab.com/documentation/tutorials-guides/

Latest Version: 4.5 (released: 08/06/2017)

279 questions
0
votes
2 answers

How to delete Jade agents

I need to run my solution N times and in each iteration a set of agents is created but before passing to the next iteration (i+1), I need to shut down the platform or to delete all the agents so they can be created again in (i+1) iteration. I have…
0
votes
2 answers

Jade: how to run the same agent multiple times?

I need to run my agents multiple times. Each time all the agents should be created perform their behaviour and be removed from the platform. My problem is with the last step. How can I remove the agents from the platform or how can I shut the…
0
votes
1 answer

Sending a file line by line, in 2 seconds intervals, using ticker behaviours

My question is: How to send a line of a file to another agent every 2 seconds using ticker behaviours? More specifically, in the first iteration, the agent sends the first line. In the second, the agent sends the second line etc. My code…
0
votes
0 answers

Jade Agents: Cannot connect android device to the jade container

This is the container I'm trying to connect: And this is the code I have for binding: public void bindService() { Log.i("Bind service:", "Starting"); serviceConnection = new ServiceConnection() { @Override public void…
Aleksander Lipka
  • 354
  • 1
  • 9
  • 20
0
votes
1 answer

Java JADE - develop multiagent application sharing SQLite database

Currently I am trying to develop JADE app that would have multiple agents, each of them connected to one common database. I know how to manage SQLite application and I don't have any problems with for example displaying table in one JADE agent. The…
Marcin Zdunek
  • 1,001
  • 1
  • 10
  • 25
0
votes
1 answer

Jade - how to find agent Id and controller Id from agent name

I am currently working on a task which includes actions on jade agent like agent suspend , agent kill etc . Where i get jade agent name from web services . How will i get agent id or agent object from agent name? public class…
0
votes
1 answer

Check JSON property existence Jade Templating

I'm trying to use Jade for a simple web app for html templating. I have JSON that looks like: { "responses": [ { "fieldOne": 1, "fieldTwo": 2, "fieldThree": "Some string" }, { …
0
votes
1 answer

Creata Jade Agent with another agent

please , I need help. How to create a JADE agent in the body of another agent ? Profile p = new ProfileImpl(); p.setParameter(Profile.MAIN_HOST, "localhost"); p.setParameter(Profile.MAIN_PORT, "1099"); AgentContainer ac =…
0
votes
1 answer

Jade Agent cannot receive multi msg

I have a problem with receiving multi messages with one Agent. the following is my code. msg_r, which Agent receive is always the first message. how can I get the second message from getSender().getLocalName().equals("TeilsystemAgent") public class…
0
votes
2 answers

Running Hello Agent in JADE

This maybe is an easy thing to resolve, the thing is that I have hours trying to make it work and nothing. I'm trying to compile and run some agents in JADE, basically are the examples available in the tutorial available in the webpage (I think).…
0
votes
1 answer

Integrate java GUI with agent app

I must to program a multi-agent system and I don't know how to integrate the agent.java with the GUI, in this time I tried to create a Hello World agent interface but I couldn't integrate between them, this is my TestJADE.class package…
0
votes
2 answers

Running a jade program without a main class

I have a simple maven project with the Code below. import jade.core.Agent; public class HelloAgent extends Agent { protected void setup() { System.out.println(getLocalName()); } } How do I run this program?. When i right…
Krishna Kalyan
  • 1,672
  • 2
  • 20
  • 43
0
votes
1 answer

Jade DFAgentDescription and ServiceDescription

I'm looking to build a multi agent system for an hospital with multiple patients that ask services to the hospital. I started programing this system by construction the patient class that inherits jade's agent properties but I'm having an hard time…
0
votes
1 answer

Create n agents and calculate average number

I want to create system of n agents. All agents are generate random Integer value. My goal is calculating average of these n numbers. My simple idea of algorithm: Every Agent sends message with its number to other agents Every Agent calculates…
0
votes
1 answer

JAVA Comparator throws error (multithreaded execution)

I've been trying to get my head around the problem, but haven't managed to do so. In short, I have written a bee hive algorithm, where one of it's premutations is sorting block of points, by distance to a point preceding the block sorted. This…
Stranko
  • 3
  • 2