⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faultdemo.def

📁 人工智能中Agent开发包。多 Agent 系统是处理自治 Agent 之间知识层的协作问题
💻 DEF
📖 第 1 页 / 共 2 页
字号:
BEGIN_GENERATOR
  BEGIN_PREAMBLE
    :system "ZEUS-Agent-Generator"
    :version "1.02"
    :ontology ".:faultdemo.ont"
  END_PREAMBLE

  BEGIN_AGENT_NAME_INDEX
    AgentId8 WorldSimulator
    AgentId7 East
    AgentId6 West
    AgentId5 South
    AgentId0 North
  END_AGENT_NAME_INDEX

  BEGIN_AGENT_ICON_INDEX
    AgentId8 ".:gifs:view.gif"
    AgentId7 ".:gifs:agent.gif"
    AgentId6 ".:gifs:agent.gif"
    AgentId5 ".:gifs:agent.gif"
    AgentId0 ".:gifs:agent.gif"
  END_AGENT_ICON_INDEX

  BEGIN_TASK_NAME_INDEX
    AbstractTaskId5 Reactor
    AbstractTaskId4 FaultSimulator
    AbstractTaskId3 Type1Repair
    AbstractTaskId2 Type2Repair
    AbstractTaskId1 Type3Repair
    AbstractTaskId0 Type4Repair
  END_TASK_NAME_INDEX

  BEGIN_AGENT_LIST
    (:name AgentId8
     :class ZeusAgent
     :planner_width 1
     :planner_length 20
     :doublebook_fraction 0
     :tasks (AbstractTaskId4
            )
    )
    (:name AgentId7
     :class ZeusAgent
     :planner_width 2
     :planner_length 30
     :doublebook_fraction 0
     :tasks (AbstractTaskId5
             AbstractTaskId3
             AbstractTaskId2
             AbstractTaskId1
             AbstractTaskId0
            )
     :initial_facts ((:type Engineer
                      :id engineer1
                      :modifiers 0
                      :attributes ((skill 1)
                                   (unit_cost 10)
                                   (number 3)
                                  )
                     )
                     (:type Engineer
                      :id engineer2
                      :modifiers 0
                      :attributes ((skill 2)
                                   (unit_cost 15)
                                   (number 3)
                                  )
                     )
                     (:type Engineer
                      :id engineer3
                      :modifiers 0
                      :attributes ((skill 3)
                                   (unit_cost 20)
                                   (number 3)
                                  )
                     )
                    )
     :protocols ((:name "zeus.actors.graphs.ContractNetRespondent"
                  :type Respondent
                  :constraints ((:fact (:type ZeusFact
                                        :id var119
                                        :modifiers 1
                                       )
                                 :type 0
                                 :strategy "zeus.actors.graphs.LinearRespondentEvaluator"
                                 :parameters ("step.default" "2" "noquibble.range" "2" "max.percent" "120" "min.percent" "105")
                                )
                               )
                 )
                 (:name "zeus.actors.graphs.ContractNetInitiator"
                  :type Initiator
                  :constraints ((:fact (:type ZeusFact
                                        :id var118
                                        :modifiers 1
                                       )
                                 :type 0
                                 :strategy "zeus.actors.graphs.LinearInitiatorEvaluator"
                                 :parameters ("step.default" "2" "noquibble.range" "2" "max.percent" "100" "min.percent" "85")
                                )
                               )
                 )
                )
    )
    (:name AgentId6
     :class ZeusAgent
     :planner_width 2
     :planner_length 30
     :doublebook_fraction 0
     :tasks (AbstractTaskId5
             AbstractTaskId3
             AbstractTaskId1
             AbstractTaskId0
            )
     :initial_facts ((:type Engineer
                      :id engineer1
                      :modifiers 0
                      :attributes ((skill 1)
                                   (unit_cost 10)
                                   (number 2)
                                  )
                     )
                     (:type Engineer
                      :id engineer2
                      :modifiers 0
                      :attributes ((skill 2)
                                   (unit_cost 15)
                                   (number 3)
                                  )
                     )
                     (:type Engineer
                      :id engineer3
                      :modifiers 0
                      :attributes ((skill 3)
                                   (unit_cost 20)
                                   (number 2)
                                  )
                     )
                     (:type Engineer
                      :id engineer4
                      :modifiers 0
                      :attributes ((skill 4)
                                   (unit_cost 25)
                                   (number 2)
                                  )
                     )
                    )
     :protocols ((:name "zeus.actors.graphs.ContractNetRespondent"
                  :type Respondent
                  :constraints ((:fact (:type ZeusFact
                                        :id var119
                                        :modifiers 1
                                       )
                                 :type 0
                                 :strategy "zeus.actors.graphs.LinearRespondentEvaluator"
                                 :parameters ("step.default" "2" "noquibble.range" "2" "max.percent" "120" "min.percent" "105")
                                )
                               )
                 )
                 (:name "zeus.actors.graphs.ContractNetInitiator"
                  :type Initiator
                  :constraints ((:fact (:type ZeusFact
                                        :id var118
                                        :modifiers 1
                                       )
                                 :type 0
                                 :strategy "zeus.actors.graphs.LinearInitiatorEvaluator"
                                 :parameters ("step.default" "2" "noquibble.range" "2" "max.percent" "100" "min.percent" "85")
                                )
                               )
                 )
                )
    )
    (:name AgentId5
     :class ZeusAgent
     :planner_width 2
     :planner_length 30
     :doublebook_fraction 0
     :tasks (AbstractTaskId5
             AbstractTaskId3
             AbstractTaskId2
             AbstractTaskId0
            )
     :initial_facts ((:type Engineer
                      :id engineer1
                      :modifiers 0
                      :attributes ((skill 1)
                                   (unit_cost 10)
                                   (number 2)
                                  )
                     )
                     (:type Engineer
                      :id engineer2
                      :modifiers 0
                      :attributes ((skill 2)
                                   (unit_cost 15)
                                   (number 3)
                                  )
                     )
                     (:type Engineer
                      :id engineer4
                      :modifiers 0
                      :attributes ((skill 4)
                                   (unit_cost 25)
                                   (number 2)
                                  )
                     )
                    )
     :protocols ((:name "zeus.actors.graphs.ContractNetRespondent"
                  :type Respondent
                  :constraints ((:fact (:type ZeusFact
                                        :id var119
                                        :modifiers 1
                                       )
                                 :type 0
                                 :strategy "zeus.actors.graphs.LinearRespondentEvaluator"
                                 :parameters ("step.default" "2" "noquibble.range" "2" "max.percent" "120" "min.percent" "105")
                                )
                               )
                 )
                 (:name "zeus.actors.graphs.ContractNetInitiator"
                  :type Initiator
                  :constraints ((:fact (:type ZeusFact
                                        :id var118
                                        :modifiers 1
                                       )
                                 :type 0
                                 :strategy "zeus.actors.graphs.LinearInitiatorEvaluator"
                                 :parameters ("step.default" "2" "noquibble.range" "2" "max.percent" "100" "min.percent" "85")
                                )
                               )
                 )
                )
    )
    (:name AgentId0
     :class ZeusAgent
     :planner_width 2
     :planner_length 30
     :doublebook_fraction 0
     :tasks (AbstractTaskId5
             AbstractTaskId3
             AbstractTaskId2
             AbstractTaskId1
            )
     :initial_facts ((:type Engineer
                      :id engineer2
                      :modifiers 0
                      :attributes ((skill 2)
                                   (unit_cost 15)
                                   (number 3)
                                  )
                     )
                     (:type Engineer
                      :id engineer3
                      :modifiers 0
                      :attributes ((skill 3)
                                   (unit_cost 20)
                                   (number 2)
                                  )
                     )
                     (:type Engineer
                      :id engineer4
                      :modifiers 0
                      :attributes ((skill 4)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -