
goal.core.agent.NOPController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of runtime Show documentation
Show all versions of runtime Show documentation
A system for running GOAL multi-agent systems.
The newest version!
package goal.core.agent;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
/**
* NOP Controller. Does not implement any of the functionality of a
* {@link Controller} but can be used as a stub (e.g. in {@link AgentRegistry}).
*/
public class NOPController extends Controller {
public NOPController() {
this.running = true;
}
@Override
protected void onReset() {
// Does nothing.
}
@Override
protected Runnable getRunnable(ExecutorService executor, Callable> in) {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy