2
* \brief declarations for starfree expressions
3
* Copyright (c) ? - 2000 Lehrstuhl fuer Informatik VII, RWTH Aachen
4
* Copyright (c) 2000 - 2002 Burak Emir
5
* This file is part of the libAMoRE library.
7
* libAMoRE is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2.1 of the License, or (at your option) any later version.
11
* You should have received a copy of the GNU Lesser General Public
12
* License along with the GNU C Library; if not, write to the Free
13
* Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19
#include "global.h" /* basic types */
21
/** a starfree regular expression.
25
/** indexed 0 to mno-1 */
27
/** indexed 0 to mno-1 */
29
/** indexed 0 to mno-1 */
31
/** indexed 0 to mno-1 */
33
/** length of u[x] : 2*ulength[x] element,generator */
35
/** length of v[x] : 2*vlength[x] generator,element */
37
/** length of w0[x] : 3*w0length[x] generator,element,generator */
39
/** length of w1[x] : 1*w1length[x] */
45
/** pointer to a starfree regular expression
48
typedef struct sexp *starfexp;
51
/** allocates a new starfexp
56
/** frees the memory used by the starfree regular expression sf.
57
* flag == TRUE iff memory for the array's has been allocated
58
* mno is the number of monoid elements
60
void freesf(starfexp sf, boole flag, posint mno) ;