PHP Classes

Anti_Util_CircularReference: Find circular references using waypoint array

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 241 All time: 8,024 This week: 560Up
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: 42
All time rank: 134182 in Germany Germany
Week rank: 215 Up10 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (4)  
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 (4)  /  Anti  
File Role Description
Files folder imageUtil (2 files)

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:241
This week:0
All time:8,024
This week:560Up
User Comments (1)
if one more array is included e.
15 years ago (vibha)
60%StarStarStarStar