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: 232 All time: 7,975 This week: 283Up
Version License PHP version Categories
circularreference 1.0Public Domain5.0Algorithms
Description Author

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: 38
All time rank: 133383 in Germany Germany
Week rank: 661 Up37 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  
 0%
Total:232
This week:0
All time:7,975
This week:283Up
User Comments (1)
if one more array is included e.
11 years ago (vibha)
60%StarStarStarStar
 

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