Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Algorithm Complexity and Determinism of Graph Module

by ownlifeful (Beadle)
on Jun 11, 2017 at 11:03 UTC ( [id://1192515]=note: print w/replies, xml ) Need Help??


in reply to Algorithm Complexity and Determinism of Graph Module

Thanks for the thoughtful replies, everyone. Judicious use of sort made the algorithm deterministic.

The algorithm aims to determine whether a given undirected graph contains any Hamiltonian Cycles. I am still calculating the Big-O complexity, and would appreciate any help.

Here is a link to the source code on GitHub.

There is also a demo at: ownlifeful.com

Replies are listed 'Best First'.
Re^2: Algorithm Complexity and Determinism of Graph Module
by Discipulus (Canon) on Jun 11, 2017 at 22:29 UTC
    sorry if I cant help you ownlifeful but with your project and a poem as first posts you have my warmest welcome to the monastery!

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      Thank you for the warm welcome, Discipulus. I have lurked around the Monastery for years, and have reaped much benefit from the discourse of the Monks. Glad to share the Perl journey with my fellow Monks.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1192515]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-18 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found