自娱自乐
Agent JADE
//注册
DFAgentDescription dfd=new DFAgentDescription();
dfd.setName(getAID());
ServiceDescription sd=new ServiceDescription();
sd.setType("book-selling");
sd.setName("JADE-book-trading");
dfd.addServices(sd);
设定参数:

运行界面:

添加书目:

控制台:

本文介绍了一个基于AgentJADE的书交易系统实现方法。该系统通过定义服务类型为book-selling的服务描述来实现书籍交易功能。文章详细展示了如何使用DFAgentDescription进行代理注册,并设置服务类型和名称。
3511

被折叠的 条评论
为什么被折叠?



