Compartir a través de


BoundedExplorationConstruct

This construct is used in connection with the AcceptCompletionConstruct. Together, they can be used with or without the PointShootConstruct.

Syntax Definition

BoundedExplorationConstruct ::= construct bounded exploration
where PathDepth = Number
[, Complete = true | false ]
[, Completer = String ]
for Behavior .

Remarks

Switch defaults are equivalent to those of the Point and Shoot Construct. The value of the Completer switch must be a machine name provided as a string in quotation marks (" ").

Example

The following Cord code illustrates the syntax of the BoundedExplorationConstruct. A more detailed example of this construct’s use is found in the stand-alone Sailboat sample (see Finding the Code Samples).

machine BoundedShoot(): ConfigActions
{
    construct bounded exploration
    where PathDepth = 2, Completer = "ShootCompleterMachine"
    for ShootMachine
}

See Also

Reference

ConstructBehavior
Machine

Concepts

Cord Syntax Definition