                    *.fit FILE format

1.  FILE FORMAT

<integer>         number of FIT nodes

  /* node 0 */
  <integer>       number of FAPs in node 0
  <integer>       first FAP's index in node 0, in range [1-68]
  <integer>       second FAP's index in node 0, in range [1-68]
  ...

  /*node 1 */
  ...

<integer>         number of links between FIT nodes

  /* link 0 */
  <integer>         from which node
  <integer>         to which node
  <integer>         priority of this link from the point of view of "to" node,
                    this is a interger greater than 1
  /* the number of following functions in link 0 equal to the number of */
  /* FAPs in "to" node of this link                                     */

    /* function 0, for the first FAP in "to" node */
      /* numerator polynomial */
      <integer>       number of terms
      /* if number of terms is not 0 then */
      <integer>       absolute value of denominator for all coefficients
                    in this polynomial
        /* term 0 */
        <integer>     sign 0-positive 1-negative
        <integer>     coefficient numerator of this term (absolute value)
        <integer>     number of FAPs in this this term
            /* first FAP */
            <integer>    index in the from node, range is 
                         [0,from.number_of_faps-1]
            <integer>    exponent numerator, no-negtive
            <integer>    exponent denominator, positive
            /* second FAP */
            ...       
        /* term 1 */
        ...
      /* denominator polynomial, same as numerator polynomial*/
     	   
    /* function 1 */
    ...  

  /* link 1 */
  ...


2.  EXAMPLE

A fit file as follows:


2
2  2 3
3  31  45 65 

1

0 1 1
1 125  1 74   1 0 1 1
0
0
0
1 3  1 1   1 0 1 2
2 37  0 12  2  0 1 1  1 1 2  1 3 1  0 4 1

means:
There are 2 nodes in this FIT. Node 0 contains FAP2 and FAP3; Node 1
contains FAP31, FAP45, and FAP65.
There are only one link from node 0 to node 1.  For node 1, this is the
link with the highest priority (priority = 1).  There are 3 functions in
this link, because there are 3 FAPs in node 1.  These functions are:

FAP31 = 1/125*(-74*f0)
FAP45 = 0
FAP65 = [1/3*(-1*f0^(1/2))] /[1/37 * (12*f0*f1^(1/2) + (-3*f0^4))]

where f0 = FAP2, f1 = FAP3,  x^y = x power y.        
        
