MinLCA algorithms
Files | Functions
Graphs from file + Randomised greedy algorithms

Files

file  greedy_rnd_read_graph.cc
 Program to test the randomised greedy algorithms on graphs from files.
 

Functions

int main (int argc, char **argv)
 Main function. More...
 

Detailed Description

Function Documentation

int main ( int  argc,
char **  argv 
)

Main function.

This program needs to be executed using the following arguments:

Parameters
argv[1]Input file
argv[2]Graph format (RMF or GRA)
argv[3]Probability of assigning a random colour to a vertex
argv[4]Random seed for the greedy algorithm

Definition at line 24 of file greedy_rnd_read_graph.cc.