Input and Output File Format

Every file read (written) by the ghmm plugin must be in the following format:

$<N>$
$<B>$

$<pi_{(N \times 1)}>$

$<A_{(N \times N)}>$

$<obs_{(N \times 3)}>$; where $obs[i][0] = r[i]$,
$obs[i][1] = p[i]$,
$obs[i][2] = q[i]$

where $<$N$>$, $<$B$>$, $<$pi$>$, $<$A$>$ and $<$r$>$, $<$p$>$, $<$q$>$ are the ghmm attributes specified previously.

Example:

2
5

1.0
0.0

0.3 0.7
0.5 0.5

0.8 0.1 0.5
0.9 0.6 1.0

Note: The load and save methods can, as previously described, load/save specific attribute descriptions. In this case, the file which is read/written by these methods should have the same format described above, but include only the specific attribute which is being loaded/saved, i.e, the other attributes should be omitted from the file.



Guilherme Dutra Gonzaga Jaime 2010-10-27