-
Notifications
You must be signed in to change notification settings - Fork 3
LoadBehavior
Yannic Hock edited this page Oct 11, 2021
·
6 revisions
Loads, initializes and executes a Behavior Tree by an URI.
Further explanation on this Leaf can be found in the Ajan-Service Documentation.
Contains Leaf Base UI

- Reset Behavior - If not set the Behavior Tree will be cached and loaded from there if this Leaf gets executed again. If set the Behavior Tree will be loaded completely from scratch.
-
Select Query: ?behaviorURI - Query to load the Behavior Tree with all necessary data. Can be edited by clicking
. If you want to learn more about this Editor read more about it here
- Target Base - Dropdown Select Agent-, Execution-, Behavior-, Domain- or Service Knowledge for which Knowledgebase the result of this Event should be saved in
- Query - You can quick edit your RDF Query if you do not want to open the editor
:LoadBehavior nd:class nd:Leaf;
nd:name "Load Behavior";
nd:labelType nd:Dynamic;
rdfs:label "DefaultLoadBehavior";
nd:type bt:LoadBehavior;
nd:style [
a nd:StyleDef;
nd:color "#f46255";
nd:shape nd:Rectangle;
nd:padding "900%";
nd:paddingTo "width";
nd:icon "icons8-tree-loadbt.png";
];
nd:parameter [
a nd:Parameter;
nd:mapsTo bt:resetBehavior;
nd:input xsd:boolean;
nd:default "true"^^xsd:boolean;
nd:title "Reset Behavior";
];
nd:parameter [
a nd:Parameter;
nd:mapsTo bt:behaviorUri;
nd:title "Select Query: ?behaviorURI";
nd:input nd:Query;
bt:originBase "true";
bt:targetBase "false";
nd:type bt:BehaviorUri;
nd:type bt:SelectQuery;
]
.