PHP Euler Circuit: Find nodes of a Euler circuit and Hamiltonian path

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 241 All time: 7,888 This week: 394Up
Version License PHP version Categories
euler-circuit 0.2BSD License4Algorithms, Geography
Description Author

This class can find nodes of a Euler circuit and Hamiltonian path.

It takes a list of nodes and its connections and computes the Euler circuit traversing the all nodes and returning to the initial without passing again in an already traversed node.

The class can return an array with the path of the Euler Circuit nodes.

It can also compute the Hamiltonian path by cleaning a path to include only nodes traversed once.

Innovation Award
PHP Programming Innovation award winner
September 2014
Winner


Prize: PhpStorm IDE personal permanent license
An Euler circuit is a path defined between a set of network points that avoids passing over the same point more than once.

This class implements an algorithm to compute the Euler circuit path for a given network of points.

Manuel Lemos
Picture of Chi Hoang
  Performance   Level  
Name: Chi Hoang <contact>
Classes: 28 packages by
Country: Viet Nam Viet Nam
Age: 35
All time rank: 3712 in Viet Nam Viet Nam
Week rank: 80 Up1 in Viet Nam Viet Nam Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example class
Plain text file main.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:241
This week:0
All time:7,888
This week:394Up

For more information send a message to info at phpclasses dot org.