The Complete SPRLIB & ANNLIB

LINK

- link (unit connection) datatype

SYNOPSIS

typedef struct link

{

long LinkId; Link identification number.

long LinkFlag; Link flag - see LINK-flags.

struct unit *Unit; Pointer to connected unit.

struct weight *Weight; Pointer to weight description.

union system_data SystemData; Union of data used by algorithms.

union system_data UserData; Union of data for library user.

struct link *Next; Pointer to next link data.

} LINK;

DESCRIPTION

This type is used to connect two units. The originating UNIT contains a pointer to a LINK structure (in the InLinks or OutLinks list); this LINK structure in turn contains a pointer to the target UNIT. In effect, a connection between two UNITs is represented by two links, both from one UNIT 's InLinks to the other's OutLinks. Usually, both LINKs point to the same weight.

SEE ALSO

UNIT, WEIGHT, system_data

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998