source: app/src/dgp/mgraph.hh @ b6109b9

help
Last change on this file since b6109b9 was 0214596, checked in by pawelk <pawelk@…>, 17 years ago

Dodalismy do pakietu utt komponent dgp (brak configow i innych bajerow).

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@24 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

  • Property mode set to 100644
File size: 450 bytes
Line 
1#ifndef _MGRAPH_HH
2#define _MGRAPH_HH
3
4#include <vector>
5
6#include "const.hh"
7#include "thesymbols.hh"
8#include "common.h"
9
10class MNode
11{
12public:
13
14  char           type[MAXFORMLEN];
15  Cat            cat;
16  int            pos;
17  vector<MNode*> pred;
18  vector<int>    snodes;
19
20  void           clear() { snodes.clear(); };
21};
22
23class MGraph
24{
25 public:
26
27  MNode nodes[MAXNODES];
28  int   n;
29
30  void clear() { n=0; };
31  int add_node(char* seg);
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.