PHP Classes

Anti_Util_CircularReference: Find circular references using waypoint array

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 241 All time: 8,021 This week: 560Up
Version License PHP version Categories
circularreference 1.0Public Domain5.0Algorithms


This class can be used to find circular references using waypoint array.

It takes an array of pairs of values that are links between to points for instance in a map.

The class traverses the array of values and detects when there groups of points that form a cyclic reference.

Innovation Award
PHP Programming Innovation award nominee
May 2009
Number 9
When you are trying to determine a route in a map to go from one point to the other, it is not good path if it goes in circles through routes that return to points that you previously passed.

This class can determine if a route returned to a point that it passed in previous route paths.

Manuel Lemos
Picture of Christian
Name: Christian <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 41
All time rank: 134082 in Germany Germany
Week rank: 346 Up20 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imageAnti (1 directory)
Accessible without login Plain text file example.php Example Example usage
Accessible without login Plain text file example_output.txt Output Example output

  Files folder image Files  /  Anti  
File Role Description
Files folder imageUtil (2 files)

  Files folder image Files  /  Anti  /  Util  
File Role Description
  Plain text file CircularReference.php Class CircularReference
  Plain text file Exception.php Class Exception class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,021
This week:560Up
User Comments (1)
if one more array is included e.
14 years ago (vibha)