Old Content:
Google PageRank, A Simple Implementation, In Java
March 7, 2009 by Kyle BradyTags: Code, Code Samples, Full Code Release, Java
As required by the FTC, a Full Disclosure is available - this piece adheres to the Code of Ethics
This is a simple implementation of the original Google PageRank algorithm, using integers in place of URLs, relying on the BigMatrix class (included inside the Google.java file) for data storage. There are enough comments that it should be self-explanatory.
All code is now available via SVN, and a web browsing utility.
Note: I am not advocating using this code in place of doing your own homework, or in any situation other than pure interest. However, in the event that you do, I am not responsible for any resultant issues (legal, moral, or ethical) that may arise. Finally, I am not presenting these as perfect cases, the best way to approach the problems, nor the fastest. They are, simply, viable solutions.
Kyle can be found on Twitter and MySpace, or reached via email.





