Created
April 6, 2016 12:30
-
-
Save ArtemyB/61c4359a86147a4060562d09cf09f5f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Объявляем sc-агент поисковой операции | |
sc_agent_of_search_operation | |
// Указываем множество идентификаторов агента | |
=>nrel_main_idtf: | |
// lang_ru – атрибут идентификатора на русском языке | |
[sc-агентпоиска] (* <- lang_ru;; *); | |
// lang_en – атрибут идентификатора на английском языке | |
[sc-agent of search] (* <- lang_en;; *); | |
// Указываем, что наш агент принадлежит классу абстрактныхsc-агентов | |
<- abstract_sc_agent; | |
// Указываем начальное условие для нашей операции | |
=>nrel_primary_initiation_condition: (sc_event_add_output_arc =>question_initiated); | |
// Указываем начальное условие и результат для нашей операции | |
=>nrel_initiation_condition_and_result: (..sc_agent_of_search_operation_initiation_condition => ..sc_agent_of_search_operation_result); | |
<= nrel_sc_agent_key_sc_elements: | |
{ | |
question_initiated; | |
question; | |
question_search_operation | |
};// Описание деятельности sc-агента | |
<- key_sc_element: | |
... | |
(* | |
<- sc_description_of_sc_agent_behavior;; | |
<= nrel_sc_text_translation: | |
... | |
(* | |
->rrel_example: | |
[Задачей sc-агента поиска является поиск.];; | |
*);; | |
*);// описание первичного условия инициирования sc-агента | |
=>nrel_inclusion: ... | |
(* | |
<- platform_independent_abstract_sc_agent;; | |
<= nrel_sc_agent_program: | |
{ | |
agent_proc_search_operation; | |
proc_search_operation | |
};; | |
->sc_agent_of_search_operation_scp (* <- active_sc_agent;; *);; | |
*);; | |
// условияинициированияагента | |
..sc_agent_of_search_operation_initiation_condition | |
= [* | |
question_search_operation _-> .._question;; | |
question_initiated _-> .._question;; | |
question _-> .._question;; | |
.._question _-> .._parameter;; | |
*];; | |
// описаниерезультатоввыполненияsc-агента | |
..sc_agent_of_search_operation_result | |
= [* | |
question_search_operation _-> .._question;; | |
question_finished _-> .._question;; | |
question _-> .._question;; | |
.._question _=>nrel_answer:: .._answer;; | |
.._question _-> .._parameter;; | |
*];; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment