| Prev | Next | Start of Chapter | End of Chapter | Contents | Index | (2 out of 16)

Introduction

NeurOn-Line provides you with Action blocks, which let you create loops, evaluate conditions, perform actions on other blocks, and execute rules.

You can find the Action Utilities under the Action & Other submenu of the Palettes menu:


You connect Action blocks together with Control Paths, which carry control signals. A block receives a control signal, performs its action, passes the control signal to the next block, and so on. A control signal does not have a value, but it makes sure that an action block is evaluated only after the previous one is done.

Unlike other blocks, an Action block's paths are on the top and bottom: the input path is on top and the output path is on the bottom, as in the figure below.


Some Action blocks also have an Action Link, which you connect to another NeurOn-Line block. It is shown in the figure above. When the Action block is evaluated, it performs its action on any block connected to its Action Link. For example, the Block Erase erases the data stored in the block connected to its Action Link.

Looping

These blocks let you create loops:

Stopping Paths

These blocks let you stop the flow of data:

Outputting Data

These blocks let you pass an inference value or a count of control signals:

Branching

The Control Switch block lets an inference path choose on which path to send a control signal.

Performing Actions on Blocks

These blocks perform actions on other blocks. Most of these actions are similar to the menu choices available in a block's menu. Notice that there can be some small but important differences in how these blocks and the menu choices operate.

Invoking a Rule

The Rule Action block can invoke a G2 rule you have written when it receives a control signal.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Index | (2 out of 16)

Copyright © 1996, Gensym Corporation, Inc.