Commit 6bb8f7c2 authored by niels's avatar niels
Browse files

New Agents from the paper

parent 8067f843
import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour;
public class BatteryAgent extends Agent {
@Override
protected void setup() {
super.setup();
System.out.println("Battery Agent initialized");
addBehaviour(new OneShotBehaviour() {
@Override
public void action() {
}
});
}
}
import jade.core.Agent;
public class CoordinationAgent extends Agent {
@Override
protected void setup() {
super.setup();
System.out.println("Coordination Agent initialized");
}
}
import jade.core.Agent;
public class DemandAgent extends Agent {
@Override
protected void setup() {
super.setup();
System.out.println("Demand Agent initialized");
}
}
import jade.core.Agent;
public class DistributedGenerator extends Agent {
@Override
protected void setup() {
super.setup();
System.out.println("Distributed Generator initialized");
}
}
import jade.core.Agent;
public class MarketClearingEngine extends Agent {
@Override
protected void setup() {
super.setup();
System.out.println("Market Clearing Engine initialized");
}
}
import jade.core.Agent;
public class UtilityGrid extends Agent {
@Override
protected void setup() {
super.setup();
System.out.println("Utility Grid initialized");
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment