Курсовая работа: Разработка интеллектуального агента глоссария с набором терминов по тематическим вопросам
<plan name="coordinator">
<body>new GlossaryPlanSendMessageTermNotFound()</body>
<trigger><messageevent ref="request_inform"/></trigger>
</plan>
<--External plan. Description of interaction with an agent by a chat.-->
<plan name="chat">
<body>new GlossaryPlanSendMessageNoTerm() </body>
<trigger><messageevent ref="request_failure"/></trigger>
</plan>
<-- Plan show message to student-->
<plan name="student">
<body>new GlossaryPlanSendMessageNoReference() </body>
<trigger><messageevent ref="request_reference"/></trigger>
</plan>
<!-- Plan sleep mode agent-->
<plan name="sleep">
<body>new GlossaryPlanSleep()</body>
</plan>
</plans>
Рисунок 2.6 – Исполняемые планы агента
<events>
<messageevent name="request_inform" direction="receive" type="fipa">
<parameter name="performative" class="String" direction="fixed">
<value>SFipa.INFORM</value>
</parameter>
<parameter name="content-start" class="String" direction="fixed">
<value>"Error! Reference of the term is not found."</value>
</parameter>
</messageevent>