Crossings Minimization  1.0
create_random_dag.c File Reference

Main program for creating a random dag with a specified number of vertices, edges, and layers. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
#include "graph.h"
#include "graph_io.h"
#include "Statistics.h"
#include "heuristics.h"
#include "random_tree.h"
#include "random_dag.h"
Include dependency graph for create_random_dag.c:

Go to the source code of this file.

Functions

void usage_message (char *prog_name)
 
static void print_stats (void)
 
int main (int argc, char *argv[])
 

Detailed Description

Main program for creating a random dag with a specified number of vertices, edges, and layers.

Author
Matt Stallmann, 2011/06/01
Id
create_random_dag.c 2 2011-06-07 19:50:41Z mfms

Definition in file create_random_dag.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 63 of file create_random_dag.c.

References base_name(), create_random_dag(), graph_name, layers, master_edge_list, MAX_NAME_LENGTH, number_of_edges, print_stats(), usage_message(), writeDot(), and writeOrd().

Here is the call graph for this function:

◆ print_stats()

static void print_stats ( void  )
static

◆ usage_message()

void usage_message ( char *  prog_name)

Definition at line 21 of file create_random_dag.c.

Referenced by main().