Option pass

Parameters of that option:
ParameterTypeMeasureRangeDescription
pass.senderbooleantrue/ false

State Machine

This browser can't display the SVG file svg/option_pass.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html

State prepare_receiver

If that state is active,
 >  The option prepare_receive_pass is executed.
 >  This boolean output symbol is set:
    passing_challenge.enable_sound  = 
false
 
The decision tree:
  This browser can't display the SVG file svg/option_pass_state_prepare_receiver.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
/** */
if ( @pass.sender)
{
  
goto prepare_sender;
}
else
{
  
/** */
if (
(action_done)
&& 
(state_time > 2000)
)
{
  
goto align_exactly;
}
else
{
  
stay;
}
}

State prepare_sender

If that state is active,
 >  This boolean output symbol is set:
    passing_challenge.enable_sound  = 
false
 >  The option prepare_send_pass is executed.
 
The decision tree:
  This browser can't display the SVG file svg/option_pass_state_prepare_sender.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
/** */
if (
!(@pass.sender)
)
{
  
goto prepare_receiver;
}
else
{
  
/** */
if ( action_done)
{
  
goto align_exactly;
}
else
{
  
stay;
}
}

State align_exactly

This state is synchronized. All cooperating agents that are executing this option will enter it at once. Minimum number of agents required to enter the state is 2.



If that state is active,
 >  This boolean output symbol is set:
    passing_challenge.enable_sound  = 
!( @pass.sender )
 >  The option align_pass is executed. Parameters:
    align_pass.sender  =  @pass.sender ;
 
The decision tree:
  This browser can't display the SVG file svg/option_pass_state_align_exactly.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
/** */
if ( action_done)
{
  
goto execute;
}
else
{
  
stay;
}

State execute

This state is synchronized. All cooperating agents that are executing this option will enter it at once. Minimum number of agents required to enter the state is 2.



If that state is active,
 >  This boolean output symbol is set:
    passing_challenge.enable_sound  = 
false
 >  The option execute_pass is executed. Parameters:
    execute_pass.sender  =  @pass.sender ;
 
The decision tree:
  This browser can't display the SVG file svg/option_pass_state_execute.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
/** */
if ( action_done)
{
  
/** */
if ( @pass.sender)
{
  
goto prepare_sender;
}
else
{
  
goto prepare_receiver;
}
}
else
{
  
stay;
}