The usage of each Lens command is described using a particular format. For example:
connectGroups <group-list1> (<group-list>)* [-projection <proj-type> | -strength <strength> | -mean <mean> | -range <range> | -type <link-type> | -bidirectional] changeGroupType <group> [<group-type> | +<group-type> | -<group-type>]*
The bracketing and punctuation marks used in the specification have particular meanings. Here is a summary of the various elements:
<...>
[...|...|...]
[...|...|...]*
*
, you may
repeat elements from the set as many times are you like, including
none. Normally only one element will appear in such sets, as in:
groupType [<group> [<group-type>]*]
(...|...|...)
copyUnitValues <group1> -<field1> (<group2> | -<field2> | <group2> -<field2>)
(...|...|...)*
*
follows the parentheses, you must repeat
one of the elements one or more times.
<group-list>
,
<unit-list>
,
<network-list>
hidden1
, a list of names, such as {input "hidden 2"
output}
, or a *
. A list of names should
be enclosed in curly braces, quotes, or parentheses. The
*
will match all objects of the appropriate type, such as
all groups in the network. A <group-list>
, in
restricted form, can be thought of as:
(* | <group> | (<group>)*})
Any text that does not fall into one of those classes should actually be
written literally as it appears. However, option names, such as
-bidirectional
, may always be shortened to the first
character after the dash, -b
.