8 #define PROBLEM_PARMS 13 /* aliases for generation parameters */
9 #define NODES parms[0] /* number of nodes */
10 #define SOURCES parms[1] /* number of sources (including transshipment) */
11 #define SINKS parms[2] /* number of sinks (including transshipment) */
12 #define DENSITY parms[3] /* number of (requested) arcs */
13 #define MINCOST parms[4] /* minimum cost of arcs */
14 #define MAXCOST parms[5] /* maximum cost of arcs */
15 #define SUPPLY parms[6] /* total supply */
16 #define TSOURCES parms[7] /* transshipment sources */
17 #define TSINKS parms[8] /* transshipment sinks */
18 #define HICOST parms[9] /* percent of skeleton arcs given maximum cost */
19 #define CAPACITATED parms[10] /* percent of arcs to be capacitated */
20 #define MINCAP parms[11] /* minimum capacity for capacitated arcs */
21 #define MAXCAP parms[12] /* maximum capacity for capacitated arcs */
23 int orig_main(long seed,long problem,long *parms);