ConnectorSeq

From OpenCog
Jump to: navigation, search

The ConnectorSeq is an ordered Link type that holds an ordered list of Connectors. The ConnectorSet does the same, but it is an unordered Link. The ConnectorSeq provides a base class for VariableList, and for ArrowLink. The ConnectorSet is a base class for VariableSet.

The collection of connectors are understood to be conjoined: that is, to obtain a complete linkage, all of the connectors must be satisfied. This is in contrast to ConnectorChoice, wherein only one bond need be made for the connection to be considered valid.

Many of the important link types in Atomese are Sections; this includes QueryLink, PutLink and LambdaLink. All of these require that the Connectors (always variable declarations, in this case) to be grouped into a ConnectorSeq (always a VariableList or VariableSet, in these cases) that appears at the start of the Section. The PrenexLink is intimately involved in re-arranging Connectors so that they do appear at the start (i.e. in prenex normal form).

See Connectors and Sections for details.

See also