Next: , Previous: OL syntax, Up: Outputs


9.37 Output record

The output record is the result of preparing the solution for the individual output functors. A solution is a list of node records. The output record is defined as follows:

     o(usedDIDAs: DIDAs
       graphUsedDIDAs: DIDAs
       nodes: SLs
       nodeILs: ILs
       nodeOLs: OLs
       nodeOLAbbrs: OLAbbrs
       index2Pos: I2I
       printProc: PrintProc
       edges: EdgesRec)

The value of the usedDIDAs feature is a list of dimension identifiers (DIDAs) which are the used dimensions.

The value of the usedGraphDIDAs feature is a list of dimension identifiers (DIDAs) which are the used graph dimensions. A graph dimension is a dimension on which the either principle.graph or principle.graph1 is used. This is useful to distinguish graph dimensions (which can e.g. be visualized using output.dag) from special dimensions like lex (purpose: assign a word form to a lexical entry) and multi (purpose: use multi-dimensional principles) which need not be visualized like this.

The value of the nodes feature is the Solver Language (SL) version of the solution: a list of node records.

The value of the nodeILs feature is the Intermediate Language (IL) version of the solution.

The value of the nodeOLs feature is the Output Language (OL) version of the solution.

The value of the nodeOLAbbrs feature is the abbreviated Output Language (OL) version of the solution (here: top values are abbreviated with top and bottom values with bot, and features denoting top are left out from records and valencies).

The value of the index2Pos feature1 is a function from node indices (I) to the corresponding node positions (I).

The value of the printProc feature is a function from anything to nothing (X -> U), used for printing.

indices (I) to the corresponding node positions (I).

The value of the edges feature2 is the edges record EdgesRec:

     o(edges: DIDAEdgesRec
       ledges: DIDALEdgesRec
       lusedges: DIDALUSEdgesRec
       dedges: DIDADEdgesRec
       ldedges: DIDALDEdgesRec
       lusdedges: DIDALUSDEdgesRec)

The values of the features of the edges record are defined as follows:


Footnotes

[1] This feature only makes sense if you use the order principle.

[2] This feature only makes sense for dimensions using the graph principle (or the graph1 principle).