about summary refs log tree commit diff
path: root/converter/other/fiasco/codec/control.h
blob: 9bfc9b5096814a0180614db9a8f036c20b52b26e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *  control.h
 *
 *  Written by:         Ullrich Hafner
 *
 *  This file is part of FIASCO (Fractal Image And Sequence COdec)
 *  Copyright (C) 1994-2000 Ullrich Hafner
 */

/*
 *  $Date: 2000/06/14 20:50:51 $
 *  $Author: hafner $
 *  $Revision: 5.1 $
 *  $State: Exp $
 */

#ifndef _CONTROL_H
#define _CONTROL_H

#include "cwfa.h"
#include "types.h"

void
append_transitions (unsigned state, unsigned label, const real_t *weight,
                    const word_t *into, wfa_t *wfa);
void
append_basis_states (unsigned basis_states, wfa_t *wfa, coding_t *c);
void
append_state (bool_t auxiliary_state, real_t final, unsigned level_of_state,
              wfa_t *wfa, coding_t *c);

#endif /* not _CONTROL_H */