The Complete SPRLIB & ANNLIB

check_ff_net

- check whether a net is a correctly configured feed forward network (LOCAL)

SYNOPSIS

int check_ff_net (net)

ARGUMENTS

NET *net A pointer to a NET structure.

RETURNS

TRUE if net is not correctly constructed, FALSE if not.

FUNCTION

The function first checks if the units in the linked list of units (the NET field FirstUnit) are correctly ordered by traversing the list and checking if the UNIT fields UnitId and LayerId increase. After that, the function check_order_ids is called.

NOTE

This function is used by check_all_network. The function may be quite time-consuming for large networks, since all paths from an input unit to an output unit and vice versa are checked by check_order_ids.

SEE ALSO

check_net, check_units, check_links, check_conn_to_input, check_conn_to_output , check_incr_ids, check_decr_ids, check_order_ids , check_all_network

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