-
Eulerian Paths
I was looking for some help.I am just looking for a C program that counts the eulerian cycles of a random graph.In theory,i was adviced to generate a random eulerian graph then make a function to count eulerian cycles.Can i have some help,i mean some code for generating randon eulerian graphs.I am just a novice at programming C ,first year in University.Ty all
-
We're not here to give you complete homework answers.
> I am just a novice at programming C
But that in itself wouldn't stop you from making an attempt.
> first year in University
I'm guessing you've been there a good few months now, and this isn't your first assignment.
You should also have figured out that you have to do your own research from time to time.
Graph theory - Wikipedia
Eulerian path - Wikipedia
-
Thank,I've manged to do it with adjacency matrix and some conditions.Another question would be that can i use in a for loop a rand() function?
-