source: _old/app/src/dgp/mgraph.hh @ 743cc4f

Last change on this file since 743cc4f was 57728c1, checked in by Mateusz Hromada <ruanda@…>, 15 years ago

Move old files to _old dir.

  • Property mode set to 100644
File size: 483 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/common.h"
9
10
11using namespace std;
12
13class MNode
14{
15public:
16
17  char           type[MAXFORMLEN];
18  Cat            cat;
19  int            pos;
20  vector<MNode*> pred;
21  vector<int>    snodes;
22
23  void           clear() { snodes.clear(); };
24};
25
26class MGraph
27{
28 public:
29
30  MNode nodes[MAXNODES];
31  int   n;
32
33  void clear() { n=0; };
34  int add_node(char* seg);
35};
36
37#endif
Note: See TracBrowser for help on using the repository browser.