PHP Classes

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: 249 All time: 7,906 This week: 491Up
Version License PHP version Categories
euler-circuit 0.2BSD License4Algorithms, Geography


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

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 H.
  Performance   Level  
Name: Chi H. <contact>
Classes: 28 packages by
Country: France France
Age: 38
All time rank: 34622 in France France
Week rank: 310 Up9 in France France 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  
This week:0
All time:7,906
This week:491Up