<param> (Parameter)

The parameter element modifies the default behavior of an algorithm.

example:
<alg type="snake">
	<param type="grDir" val="tL"/>
	<param type="flowDir" val="row"/>
	<param type="contDir" val="sameDir"/>
	<param type="off" val="ctr"/>
</alg>

In this example we see the snake algorithm being utilized and four parameters being set which are associated with the snake algorithm and modify its behavior. ]

Parent Elements

<alg>5.9.2.3)

Attributes

Description

<type> (Parameter Type)

Specifies the parameter which is being modified.

The possible values for this attribute are defined by the ST_ParameterId simple type (§5.9.7.48).

<val> (Value)

Specifies the actual value to be given to the @type defined.

The possible values for this attribute are defined by the ST_ParameterVal simple type (§5.9.7.49).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Parameter">
	<attribute name="type" type="ST_ParameterId" use="required"/>
	<attribute name="val" type="ST_ParameterVal" use="required"/>
</complexType>