bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please Help!!


From: Abu Saleh
Subject: Please Help!!
Date: Mon, 16 Jul 2001 00:00:01 -0700

I am working on a lab for my algorithms analysis class. The assignment
is to find a minimum cost spanning tree (MCST) given a weighted,
connected, undirected graph- using Prim’s & Kruskol’s Algorithms.

I need to implement the algorithms & test my programs using data files
that are accessible by my programs. Each datafile should have the
following format –

4 ( # of verticies)

0 10  -1  20
10    0    9   -1
-1     9   0   12
20   -1  12    0

I   have found executable code in C++ for Prim’s & Kruskol’s algorithms,

Now I need executable code in C++ for creating the data file as
mentioned above
To test my program.

Thanks,

Abu
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]