-
Notifications
You must be signed in to change notification settings - Fork 5
tc/google-pagerank
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Google PageRank http://tommy.chheng.com Using Maven(or ivy, sbt, etc), add the following to your pom.xml: <repositories> <repository> <id>tc-maven-repo</id> <url>https://github.com/tc/tc-maven-repo/raw/master/releases</url> </repository> </repositories> <dependencies> <dependency> <groupId>google</groupId> <artifactId>pagerank</artifactId> <version>1.0.2</version> </dependency> </dependencies> Usage: String domain = "http://www.gmail.com"; int pageRank = PageRank.get(domain); assertEquals(9, pageRank); Deploy for developers: mvn -DaltDeploymentRepository=repo::default::file:../../tc-maven-repo/releases clean deploy mvn -DaltDeploymentRepository=snapshot-repo::default::file:../../tc-maven-repo/snapshots clean deploy cd ../../tc-maven-repo && git add . && git commit -m "new version of google page rank"
About
A java library which computes the google page rank of a url.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published