Probability Selector

Executes a child node based on its chance to be selected. If the current child node returns Failure, a new child node will be picked.

Success: When the current child node returns Success

Failure: When the current child node returns Failure, or no child is picked if the failure chance is used

Running: When the selected child node returns Running.



Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
weightsarrayChildren probabilities
failChancedoubleFailure chance used as probability to return a failure status
seedintThe random generator seed
useAnimatedSeedboolUse the simulation to offset the random generator seed
useAgentIdAsSeedboolUse the agent id to offset the random generator seed

Copyright © 2017, Toolchefs LTD.