Browse Source

exampleconfig

Thomas Knoll 11 months ago
parent
commit
f2a909dd05
  1. 30
      exampleConfig.yaml

30
exampleConfig.yaml

@ -1,7 +1,9 @@
--- ---
labels:
- label: "AgentIsInGoal"
text: "AgentIsInGoal"
# labels:
# - label: "AgentIsInGoal"
# text: "AgentIsInGoal"
# - label: "Hallo"
# text: "AgentIsInGoal"
# constants: # constants:
# - constant: "prop_slippery_turn" # - constant: "prop_slippery_turn"
@ -9,25 +11,33 @@ labels:
# value: "9/9" # value: "9/9"
# overwrite: True # overwrite: True
probabilities:
- probability: "FaultProbability"
properties:
- property: "FaultProbability"
value: 0.2 value: 0.2
- probability: "ProbForwardIntended"
- property: "ProbForwardIntended"
value: 0.1 value: 0.1
- probability: "ProbTurnIntended"
- property: "ProbTurnIntended"
value: 0.1 value: 0.1
# - property: "modeltype"
# value: "smg"
modules: modules:
- module: "Agent" - module: "Agent"
# overwrite: True
# module_text: "NewModule\n\
# "
commands: commands:
- action: "[Agent_turn_left]" - action: "[Agent_turn_left]"
guard: "AgentIsOnSlippery"
update: "True"
guard: "viewAgent=3"
overwrite: True
index: 1
- action: "[Agent_turn_left]"
update: "(viewAgent'=3)"
overwrite: True overwrite: True
index: 3 index: 3
- action: "[Agent_turn_right]" - action: "[Agent_turn_right]"
guard: "AgentIsOnSlippery" guard: "AgentIsOnSlippery"
update: "True"
update: "(viewAgent'=3)"
overwrite: True overwrite: True
index: [0,1] index: [0,1]
... ...
Loading…
Cancel
Save