across the network: Kyle Brady: Blog  |  Kyle Brady: Fiction  |  Kyle Brady: Status  |  Kyle Brady: Stream  |  Kyle Brady: Projects  |  Kyle Brady: Profile contact
across the internet: on Twitter | on Facebook | more...

Old Content:

Google PageRank, A Simple Implementation, In Java




This project was due last week, and I had it working except for a minor bug, which is why it hasn't been posted until now.  The final debugging of this annoying little issue is courtesy of Kristopher Windsor.

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.

Old Content posts are leftovers from a less structured, less civilzed era that are kept for posterity.
Kyle can be found on Twitter and MySpace, or reached via email.

submit to reddit Add to Mixx! Share on Facbeook Retweet
Printable Version Printable Version

More Old Content Pieces

see more...


Commenting Rules

The following is a basic set of rules that are enforced for all commenters.

Any violations of these rules will result in comment deletion, user bans, or both.

  1. No excessively foul language.
  2. No racist remarks.
  3. No SPAMing, unrelated linking, or otherwise unnecessary promotion of outside material.
  4. No trolling.
  5. Be respectful.
  6. Be valuable.
  7. Feel free to respond, argue, or counter-point an article - but do so coherently and intelligently.
  8. Use a personal nickname, commenting account, or moniker. Do not use your business' or website name/account.
  9. Do not trackback/pingback to this post unless your content is relevant.
also available as a standalone page

blog comments powered by Disqus
Kyle Brady: Blog
coherent thoughts on diverse topics


Site Navigation:
About Columns Ethics Rules Contact