Login   Register  
PHP Classes
elePHPant
Icontem

Graph Coloring: Assign colors to graph points from a vertex list

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-06-01 (8 years ago) RSS 2.0 feedStarStarStar 59%Total: 1,223 This week: 1All time: 2,897 This week: 1,384Up
Version License Categories  
graphcoloring 1.0GNU General Public Lice...Algorithms, PHP 5, Math
Description Author  

This class can be used to assign colors to graph points defined in a vertex list.

It can retrieve the coordinates of vertex points from a file or executing a MySQL database query.

Then it defines it assigns colors to vertex points establishing connections between the points from list of vertexes, so that two consecutive vertexes do not get the same color.

Innovation Award  
PHP Programming Innovation award winner
May 2006
Winner


Prize: One book of choice by O'Reilly
Some kinds of graphs need to plot a series of points relevant to the context of the graph.

Often it is convenient to make points that are next to each other appear in distinct colors, so the graph is presented clearly.

This class can assign colors to each point to be plotted in the graph satisfying this convenience.

Manuel Lemos
Picture of Rupom Razzaque
Name: Rupom Razzaque is available for providing paid consulting. Contact Rupom Razzaque .
Classes: 12 packages by
Country: Bangladesh Bangladesh
Age: 33
All time rank: 161 in Bangladesh Bangladesh
Week rank: 47 Down2 in Bangladesh Bangladesh Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Screenshots  
  • screenshot.jpg
  Files folder image Files  
File Role Description
Plain text file graph.sql Data Input SQL
Plain text file graph.txt Data Input File
Plain text file GraphColoring.class.php Class The Main Class File
Plain text file ReadMe.txt Doc. Documentation File
Plain text file usage.php Example Example Usage

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,223All time:2,897
 This week:1This week:1,384Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:70%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:981