next up previous contents index
Next: Domains Up: Domains Previous: Domains   Contents   Index


Element names

The element name / type can only consist of the specification of a fixed element or a fixed element and a parameter.


The first bit (counting begins at 1) of the fixed element determines its length:


The second and third bits determine the length of the parameter:

00
ther is no parameter
01
parameter with a total length of 8 bits follows
10
parameter with a total length of 64 bits follows
11
After the element name field follows an 16 bit natural number, wich specifies the parameter length in bytes. The 16 bits for the length of the parameters are not included in the evaluation for the parameter length.

Table 10: Names of fixed 8-bit elements for domains
name value bit 4 till 8 description
     
dim 0000 1 The domain is for position vectors (see section 9.2 on page [*] and section 21.3.2 on page [*]) respectively dimensions. The length of the parameter list is variable. The second and third bit is thus $11$ and after bit 8 follows a 16 bit natural number $L$, which specifies the length in bytes of the parameter list. The first parameter following is a 16 bit natural number and specifies the number of dimension $Dim$. Then $Dim$ more parameters $Dimmap_1$ till $Dimmap_{Dim}$ follow up, they are a natural numbers with each of them of the length $L_{Dimmap}=\lfloor((L-2) * 8)/Dim\rfloor$ (per parameter the still remaining bits of the parameter $L$ divided by the number of dimensions and the result is rounded to an integer). The values that can be taken by the $Dimmap_i$ parameters are described in table 7 on page [*]. The length of the parameter list $L$ is to be determined in such a way, that it is just enough room for all parameters.
subfunction 0001 0 domain for the elements of subfunctions (see section 9.7 on page [*] and section 21.3.7 on page [*])
property 0010 0 This is the domain of a property element with the given name (see section 9.3 on page [*] and section 21.3.3 on page [*]). The value for the name respectively the property type is passed in the parameter. Possible values are listed in table 2 on page [*]. The value that is specified as a parameter, is a natural number. The parameter is only so long (e.g. 8 bits), as for the representation of the value as a natural number from table 2 is required.
inVar 0010 1 This is the domain for the i'th input variable (see section 9.14 on page [*] and section 21.2.5 on page [*]). The following parameter is an integer and specifies the number $i$ of the input variable. (The count of the input variables of a root-element starts with 1.)
Names for elements of domains, which are created (if needed)
when storing a Fib object
area 0001 1 This type is for domains for the area element (see section 9.6 on page [*] and section 21.3.6 on page [*]). The corresponding domain is a vector domain with 2 elements / subdomains. The first element or the first subdomain is used for the number ($n$) of subareas / vectors, it is part of the domain of the natural numbers. The second element is the domain for the subareas ($B_{1}$), it is a vector domain with two elements or subdomains, each of which come from the domain of integers.
variable 1000 1 Values that are needed to encode variables. The domain should include the natural numbers from 0 to maximum number of variables defined in the Fib leafs in the main-Fib object. The Fib tree-leaf in the main-Fib-object above which the most variables are defined respectively the branch with the most defined variables, thus determins the domain. This entry is created when saving.
comments 1001 0 Values that are needed to encode comments (see section 9.5 on page [*], section 21.2.9 on page [*] and section 21.3.5 on page [*]). The domain should include the natural numbers from 0 to the number of comments in the main-Fib-object. This entry is created when saving.
externObject 1100 0 This is the domain type for external objects (see section 9.9 on page [*] and section 21.3.9 on page [*]) in the main-Fib-object. The domain is a vector with 4 elements. The vector elements are in ther the order for the identifier, the number of input values, the number of subobjects and the number of output variables. All vector element domains, except for the identifier, are part of the natural numbers. The vector element domain for the identifier is part of the integers. This domain is usually created when saving.
externObjectInput 1110 0 This domain is for the input values for external objects (see section 9.9 on page [*] and section 21.3.9 on page [*]) . The domain is an vector domain and is usually created when saving. The following parameter is an integer and determines the identifier of the external object, for which elements the domain is.
externSubobject 1100 1 This domain type is for the input values for external subobjects (see section 9.10 on page [*] and section 21.3.10 on page [*]). The domain is an vector domain and is usually created when saving. The following parameter is a natural number and determines the number of the external subobject, for which elements the domain is.
setElement 1101 0 This type is for the domain for the set-element (see section 9.12 on page [*] and section 21.3.12 on page [*]). The corresponding domain is a vector domain with 3 elements / subdomains. The first element or the first subdomain is used for the number ($n$) of variables and number of values to be set per set, it is part of the domain of the natural numbers. The second element or the second subdomain is used for the number ($k$) of the sets of values to be set. It is also part of the domain of the natural numbers. The third and final element is the domain for the vectors for the values to be set ($W_{i.g}$) and is a domain for vectors, which element- or subdomains are domains for numbers (scalar). Further as parameter a natural number can be specified for the domain number $DomainNr$. If the parameter is missing, the domain number $DomainNr$ is $0$ .
matrixElement 1101 1 This type is for the domain for the matrix element (see section 9.13 on page [*] and section 21.3.13 on page [*]). The corresponding domain is a vector domain with 4 elements / subdomains. The first element or the first subdomain is used for the number ($d$) of dimension variables, the number $i$ of value variables and number of values $i$ to be set per set, it is part of the domain of the natural numbers. The second element or the second subdomain is used for the number ($k$) of the sets of values to be set. It is also part of the domain of the natural numbers. The third element is the domain for the areas respectively for the start and end values for the different dimension variables, it is a vector domain with two elements or subdomains, each of which come from the domain of integers. The fourth and final element is the domain for the vectors for the values to be set ($W_{a.b}$) and is a domain for vectors, which element- or subdomains are domains for numbers (scalar). Further as parameter a natural number can be specified for the domain number $DomainNr$. If the parameter is missing, the domain number $DomainNr$ is $0$ .
   


next up previous contents index
Next: Domains Up: Domains Previous: Domains   Contents   Index
Betti Österholz 2013-02-13