- 浏览: 135103 次
- 性别:
- 来自: 福建省莆田市
文章分类
最新评论
-
houruiming:
tks for your info which helps m ...
setcontent和setcontentobject用的是同一片内存 -
turingfellow:
in.tftpd -l -s /home/tmp -u ro ...
commands -
turingfellow:
LINUX下的网络设置 ifconfig ,routeLINU ...
commands -
turingfellow:
安装 linux loopbackyum install um ...
commands
<html><head><title>
jadex.examples.booktrading.manager
</title></head><body>
This package contains the manager agent used to start the booktrading scenario.
</body></html>
<!--
<H3>The manager agent for starting the application.</H3>
Can be used to start the booktrading example with different
initial configurations of buyer and seller agents.
-->
<agent xmlns="http://jadex.sourceforge.net/jadex"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jadex.sourceforge.net/jadex
http://jadex.sourceforge.net/jadex-0.96.xsd"
name="Manager"
package="jadex.examples.booktrading.manager">
<imports>
<import>jadex.*</import>
<import>jadex.planlib.*</import>
<import>java.util.*</import>
<import>jadex.examples.booktrading.common.*</import>
</imports>
<capabilities>
<capability name="startcap" file="StartAgents"/>
<capability name="amscap" file="jadex.planlib.AMS"/>
</capabilities>
<goals>
<achievegoalref name="start_agents">
<concrete ref="startcap.start_agents"/>
<deliberation>
<!-- Wait for all agents being started before destroying the manager. -->
<inhibits ref="ams_destroy_agent"/>
</deliberation>
</achievegoalref>
<!-- Goal used to kill manager after startup. -->
<achievegoalref name="ams_destroy_agent">
<concrete ref="amscap.ams_destroy_agent"/>
</achievegoalref>
</goals>
<properties>
<!-- <property name="debugging">true</property>-->
</properties>
<configurations>
<configuration name="One buyer / one seller">
<goals>
<initialgoal ref="start_agents">
<parameterset ref="agentinfos">
<value>
new StartAgentInfo("jadex.examples.booktrading.buyer.Buyer", "Alex", 0, new String[]{"initial_orders"},
new Object[]{new Order[]
{
new Order("All about agents", new Date(System.currentTimeMillis()+60000), 100, 120, true),
new Order("All about web services", new Date(System.currentTimeMillis()+60000), 40, 60, true),
new Order("Harry Potter", new Date(System.currentTimeMillis()+60000), 5, 10, true),
new Order("Agents in the real world", new Date(System.currentTimeMillis()+60000), 30, 65, true)
}})
</value>
<value>
new StartAgentInfo("jadex.examples.booktrading.seller.Seller", "Lars", 0, new String[]{"initial_orders"},
new Object[]{new Order[]
{
new Order("All about agents", new Date(System.currentTimeMillis()+60000), 130, 110, false),
new Order("All about web services", new Date(System.currentTimeMillis()+60000), 50, 30, false),
new Order("Harry Potter", new Date(System.currentTimeMillis()+60000), 15, 9, false),
new Order("Agents in the real world", new Date(System.currentTimeMillis()+60000), 100, 60, false)
}})
</value>
</parameterset>
</initialgoal>
<initialgoal ref="ams_destroy_agent">
<parameter ref="agentidentifier">
<value>$agent.getAgentIdentifier()</value>
</parameter>
</initialgoal>
</goals>
</configuration>
<configuration name="One buyer / two sellers">
<goals>
<initialgoal ref="start_agents">
<parameterset ref="agentinfos">
<value>
new StartAgentInfo("jadex.examples.booktrading.buyer.Buyer", "Alex", 0, new String[]{"initial_orders"},
new Object[]{new Order[]
{
new Order("All about agents", new Date(System.currentTimeMillis()+60000), 100, 120, true),
new Order("All about web services", new Date(System.currentTimeMillis()+60000), 40, 60, true),
new Order("Harry Potter", new Date(System.currentTimeMillis()+60000), 5, 10, true),
new Order("Agents in the real world", new Date(System.currentTimeMillis()+60000), 30, 65, true)
}})
</value>
<value>
new StartAgentInfo("jadex.examples.booktrading.seller.Seller", "Lars", 0, new String[]{"initial_orders"},
new Object[]{new Order[]
{
new Order("All about agents", new Date(System.currentTimeMillis()+60000), 130, 110, false),
new Order("All about web services", new Date(System.currentTimeMillis()+60000), 50, 30, false),
new Order("Harry Potter", new Date(System.currentTimeMillis()+60000), 12, 6, false),
new Order("Agents in the real world", new Date(System.currentTimeMillis()+60000), 100, 60, false)
}})
</value>
<value>
new StartAgentInfo("jadex.examples.booktrading.seller.Seller", "Dirk", 0, new String[]{"initial_orders"},
new Object[]{new Order[]
{
new Order("All about agents", new Date(System.currentTimeMillis()+60000), 120, 100, false),
new Order("All about web services", new Date(System.currentTimeMillis()+60000), 40, 20, false),
new Order("Harry Potter", new Date(System.currentTimeMillis()+60000), 16, 12, false),
new Order("Agents in the real world", new Date(System.currentTimeMillis()+60000), 100, 60, false)
}})
</value>
</parameterset>
</initialgoal>
<initialgoal ref="ams_destroy_agent">
<parameter ref="agentidentifier">
<value>$agent.getAgentIdentifier()</value>
</parameter>
</initialgoal>
</goals>
</configuration>
</configurations>
</agent>
发表评论
-
protocols
2011-04-03 19:22 924<!-- The protocols capabilit ... -
dfcap
2011-04-03 19:15 875<!-- The df capability has a ... -
booktrading /seller
2011-03-29 23:19 927<html><head><tit ... -
booktrading / common
2011-03-29 23:17 986<html><head><tit ... -
booktrading / buyer
2011-03-29 23:13 844<!-- <H3>The buyer age ... -
tomcat的context说明书
2011-03-20 17:39 803http://tomcat.apache.org/tomcat ... -
msyql的select语法
2010-09-13 22:52 107513.2.7. SELECT语法 13.2.7.1. ... -
zotero与word集成
2010-09-11 08:50 1765Manually Installing the Zotero ... -
university 2/n
2010-08-24 07:54 897Chapter 1.Introduction of regis ... -
university 1/n
2010-08-24 07:53 939chapter? Introduction ?.?The st ... -
Sun Java Bugs that affect lucene
2010-08-23 08:59 735Sometimes Lucene runs amok of b ... -
Snowball分词
2010-08-22 13:07 1222using System; using Lucene.Net. ... -
penn tree bank 6/6
2010-08-20 07:09 91811 This use of 12 Contact the - ... -
penn tree bank 5/n
2010-08-19 07:40 921always errs on the side of caut ... -
penn tree bank 4/n
2010-08-19 07:39 8174. Bracketing 4.1 Basic Methodo ... -
penn tree bank 3/n
2010-08-15 23:31 8182.3.1 Automated Stage. During t ... -
penn tree bank 2/n
2010-08-15 23:30 1504Mitchell P Marcus et al. Buildi ... -
capabilities 3/3
2010-08-11 22:58 77401<capability xmlns="ht ... -
capabilities 2/3
2010-08-11 22:57 737Fig.3.Element creation cases:a) ... -
capabilities 1/3
2010-08-11 22:56 947Extending the Capability Concep ...
相关推荐
使用imp system/manager file=seapark log=seapark fromuser=seapark命令可以将用户seapark所属的全部表、索引和其他对象导入到文件seapark中。 4. 将一个用户所属的数据导入另一个用户:imp system/manager file=...
1、编辑接口控制校验文件,参考testApi.xml. 2、将testApi.xml放在应用服务器某个目录下,该目录下只放置接口校验模板控制文件。 3、启动CloudCheck应用。 4、系统启动动态加载模板目录下的所有api模板,注入内存...
ArcGIS Server Manager 无法登陆问题解决方案 ArcGIS Server Manager 无法登陆问题是 ArcGIS Server 应用程序中一个常见的问题。该问题的症状是无法登陆 ArcGIS Server Manager,尽管在安装时没有问题,post ...
exp system/manager@orcl file=d:\daochu.dmp full=y 2、将数据库中system用户与sys用户的表导出 1 exp system/manager@orcl file=d:\daochu.dmp owner=(system,sys) 3、将数据库中的表table1 、table2导出 1 exp ...
4. 获取session统计信息:`curl -u myName_script:myPwd http://localhost:8080/manager/text/sessions?path=/test` 此外,我们还可以设置session失效策略,例如,将超过特定分钟数未活动的session失效,以优化应用...
- 示例:`expsystem/manager@TEST tables=(table1) query="where filed1 like '00%'" file=d:\daochu.dmp` - **ROWS**:控制是否导出行数据,默认为Y(导出)。 - 示例:`expsystem/manager@TEST rows=n file=d:\...
英伟达AI套件开发板刷机工具,安装sudo apt install ./sdkmanager-[version].[build#].deb
exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=" where filed1 like '00%'" 5. 将 dmp 文件导入到数据库中: imp system/manager@TEST file=d:\daochu.dmp 6. 将特定表从 dmp 文件中导入: ...
2. 增量导出:`exp system/manager@mycon full=y inctype=incremental file=inc1.dmp` 3. 累积导出:`exp system/manager@mycon full=y inctype=cumulative file=cum1.dmp` `imp` 命令则用于导入数据,其语法与`exp...
一、源码介绍 是个可做课程设计或是毕业设计的项目。 二、主要功能 ...http://localhost:8080/ClothesOrderSystem/manager/manager.jsp 4. 包含SQL文件 三、注意事项 开发环境为jdk1.6,数据库为mysql
- 运行 `imp userid=system/manager full=y file=*.dmp` 或者 `imp userid=system/manager full=y file=filename.dmp` 进行导入操作。 #### 其他注意事项 - 在实际操作中,可能会遇到各种问题,比如权限不足、...
- 同样地,打开`tomcat9/webapps/host-manager/META-INF/host-manager.xml`并进行相同的修改。 3. **重启Tomcat服务:** - 使用命令行工具停止正在运行的Tomcat进程。可以通过执行`ps -ef | grep tomcat`来查找...
exp system/manager file=seapark log=seapark owner=(seapark,amy,amyc,harold) ``` 例如: ``` exp system/system@xc file=c:/hehe owner=uep ``` 3. **特定表导出**: ``` exp system/manager file=tank...
本文将深入探讨"Undo/Redo Manager"这一主题,包括其基本原理、实现方式以及在实际应用中的具体运用。 撤销/重做管理器(Undo/Redo Manager)是一种用于跟踪和管理用户操作序列的系统,以便在需要时能够执行逆操作...
### 火狐浏览器安装SQLite Manager插件指南 在当今数字化时代,数据库管理变得尤为重要,尤其是在Web开发领域。SQLite作为一种轻量级的数据库管理系统,在众多应用场景中被广泛采用。为了更好地管理和操作SQLite...
- 条件导出:`exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\"where filed1 like '00%'\"` 2. **导入数据** - 全库导入:`imp system/manager@TEST file=d:\daochu.dmp` - 忽略已存在表...
- 打开 `apache-tomcat-8.5.5/webapps/manager/META-INF/context.xml` 文件。 - 注释掉 `|::1|0:0:0:0:0:0:0:1" />` 这段代码,以允许任意 IP 地址访问 Manager App。 - 重启 Tomcat 服务器使更改生效。 以上步骤...
curl -T myapp.war http://localhost:8080/manager/text/deploy?path=/myapp ``` 五、实战应用 在持续集成和部署流程中,Catalina Manager扮演着重要角色。开发者可以通过自动化脚本,利用Catalina Manager部署新...
- 新版命令格式为:`expdp system/manager@TEST directory=DATA_PUMP_DIR dumpfile=daochu.dmp tables=table1 query=table1:"where filed1 like '00%'"` #### 数据导入 1. **将整个数据库导入:** - 示例:`imp ...
在命令行中,切换到.dmp文件所在的目录,然后执行`imp userid=system/manager full=y file=*.dmp`或`imp userid=system/manager full=y file=filename.dmp`,例如`F:WorkOracle_Databackup>imp userid=test/test ...