Crossings Minimization  1.0
defs.h
Go to the documentation of this file.
1 /**
2  * @file defs.h
3  * @brief
4  * Definitions common to all edge crossing heuristic source files
5  * @author Matt Stallmann
6  * @date 2008/12/19
7  * $Id: defs.h 2 2011-06-07 19:50:41Z mfms $
8  */
9 
10 // Copyright (C) 2008 Matthias Stallmann.
11 // Contact: matt_stallmann@ncsu.edu
12 //
13 // This program is free software; you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation; either version 2 of the License, or
16 // (at your option) any later version.
17 //
18 // This program is distributed in the hope that it will be useful,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License along
24 // with this program (file COPYING.txt); if not, write to the Free Software
25 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
26 // USA.
27 
28 #ifndef DEFS_H
29 #define DEFS_H
30 
31 /** standard size for all buffers holding names */
32 #define MAX_NAME_LENGTH 512
33 /** maximum length of a line in a .ord file during output */
34 #define LINE_LENGTH 75
35 /** starting capacity and additional capacity for dynamic arrays */
36 #define CAPACITY_INCREMENT 32
37 
38 /**
39  * Used with sorting heuristics to indicate whether weights are computed
40  * based on edges above, below, or on both sides of a layer to be
41  * sorted. This is referred to as 'orientation' in the thesis
42  */
43 typedef enum { UPWARD, DOWNWARD, BOTH } Orientation;
44 
45 #endif
46 
47 /* [Last modified: 2011 06 02 at 22:43:48 GMT] */
48 
Definition: defs.h:43
Orientation
Definition: defs.h:43
Definition: defs.h:43
Definition: defs.h:43