Page 321 -
P. 321

3 10   Appendix B. CD Tools


                             with grey colour. The program also shows the number of line segments obtained
                             and lists the length (number of samples), accumulated length and slope of each
                             line segment in a "results" list box.
                           3.  Perform  signal  labelling by  specifying  two  slope thresholds,  s,  and  s2.  Line
                             segments with  absolute slope values below  s, are labelled h  (horizontal) and
                             displayed green. Above s, are labelled u (up) or d (down), according to the slope
                             sign  (positive  or  negative)  and  are  displayed  with  red  or  cyan  colour,
                             respectively. Above s2 are labelled U (large up) or D (large down), according to
                             the slope sign (positive or  negative) and  are displayed with  magenta or blue
                             colour, respectively. The labels are shown in the "results" list box.
                           4. Specify a  state transition table of  a  finite-state automaton, either  by  directly
                             filling in the table or by reading in the table from a text file (the "Table" option
                             must  be  checked then),  where  each line corresponds to  a table row  with  the
                             symbols separated by commas. The table has a maximum of 50 rows. The letter
                             "F" must be used to designate final states.
                           5. Parse the signal. Line segments corresponding to final states are shown in black
                             colour.  State  symbols  resulting  from  the  parse  operation  are  shown  in  the
                             "results" list box.

                             The contents of  the  "results" list box can be saved in a text file. The user can
                           perform parsing experiments for the same string by  modifying the state transition
                           table.
                             The program also allows the user to parse any string read in with the "String"
                           option checked. The corresponding text file must have a string symbol (character)
                           per line.

                           Author: JP Marques de S6, Engineering Faculty, Oporto University.
   316   317   318   319   320   321   322   323   324   325   326