PHP Classes
elePHPant
Icontem

PHP Matrix Similarity: Find similarities in a 2D tile matrix

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-05-31 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 123 All time: 8,980 This week: 522Up
Version License PHP version Categories
matrix-similarity 1.0.3The PHP License5HTML, Algorithms, Math
Description Author

This class can find similarities in a 2D tile matrix.

It can generate a bidimensional array of a given size and populate it with random letters from a given set of values.

The class can traverse the generated array to find similar sequences of values following a given set of directions of connected neighbor values.

The class can also display the array in a Web page highlighting the similar connected values.

Innovation Award
PHP Programming Innovation award nominee
May 2015
Number 5
2D matrices are often used to solve problems of algorithm implementation, geographic mapping and gaming.

This class can find matrix similarities using 2D arrays. It can be useful for instance to determine if players in a 2D tile game have achieved goals determined by the trails of the tiles that they traversed.

Manuel Lemos
  Performance   Level  
Name: Ghali Ahmed <contact>
Classes: 5 packages by
Country: Tunisia Tunisia
Age: 35
All time rank: 22638 in Tunisia Tunisia
Week rank: 707 Up2 in Tunisia Tunisia Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Plain text file demo.php Example Experimental example that demonstrate how the class works
Plain text file MathMatrixHelper.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:123
This week:0
All time:8,980
This week:522Up