PELE Tasks

From Jacobson Lab Wiki

Jump to: navigation, search

Conditional Paramters

    if [metric] [ > < = ] [value] then [set these parameters] else [ set these other parameters] endif

Sets paramters based on the values of certain metrics. Note that if a metric requires additional input this must be included as well. Examples:

    if modulos 2 = 0 then tr_range 0.5 else tr_range 1.0 endif
    ! Alternates between a translation range of 0.5 and a translation range of 1.0

Exiting a task

    exit [metric] [ > < = ] [value]

Terminates this task when a certain metric has been reached. Example:

    exit steps gt 100
    ! This will exit the task after 100 steps

Spawning Paramters

    spawn [all] [metric] [ > < = proc_gt proc_lt targ_gt targ_lt within beyond ] [value]

Spawn from a stored geometry if this criteria is met. Spawning is generally done based on a comparison of each saved geometry and the current geometry However "spawn all [metric] ... " instead of "spawn [metric] ..." causes all processors to spawn to the given geometry whenever one geometry meets the given criteria.

    > (or gt ) : Looks at the difference between the current value and the stored geometrie(s).
               : If any stored geometry is [value] higher than the current it will spawn to that geometry.
    < (or lt ) : Looks at the difference between the current value and the stored geometrie(s).
               : If any stored geometry is [value] lower than the current it will spawn geometry.
    proc_gt    : Looks only at the current geometry.  It will spawn to any stored geometry if the current chosen
               : metric (not a difference) is greater than this value.  (Should always be combined with another metric)
    proc_lt    : Looks only at the current geometry.  It will spawn to any stored geometry if the current chosen
               : metric (not a difference) is less than this value.  (Should always be combined with another metric)
    targ_gt    : Looks only at the stored geometries.  It will spawn to a stored geometry if the current chosen
               : metric (not a difference) is greater than this value in that stored geometry.  
               : (Should always be combined with another metric)
    targ_lt    : Looks only at the stored geometries.  It will spawn to a stored geometry if the current chosen
               : metric (not a difference) is less than this value in that stored geometry.  
               : (Should always be combined with another metric)
    within     : Keeps a metric lower than a given value by spawning values greater than [value] to a stored geometry
               : with a value for the metric that is less than [value] 
    beyond     : Keeps a metric higher than a given value by spawning values less than [value] to a stored geometry
               : with a value for the metric that is higher than [value]
Personal tools