Skip to content

f8122dac/prsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prsim

screenshot


Project: Sorting the Infinite: Google's PageRank Algorithm

Members: Yifei Chen, Sara LaPlante, Jesse Cho, Zixiao Huang

Release v0.0.2

Download links for the executables:

How to run the source code

Dependancy

Python3, tkinter, matplotlib

tkinter and matplotlib are python packages that we used in this project and required to run the script. According to the Wikipedia page, tkinter is included with the standard Microsoft Windows and Mac OS X install of Python.

On Linux or OS X, you can install matplotlib by pip install matplotlib or python3 -mpip install matplotlib

On Windows, if you have a python3 installation you can probably install using pip with the the same command(though I haven't checked).

Running

On POSIX systems(Linux, OS X, etc):

$ ./run.sh

or

$ python3 src/main.py

on Windows:

If you have setupt the dependancy, you can start by executing main.py file in src directory.

Keys:

  • Main window
    • r: show/hide report window
    • n: generate a new model
    • p: plot current model
    • x: close plot window
    • j: decrease # of pages
    • k: increase # of pages
    • J: decrease # of pages by big steps
    • K: increase # of pages by big steps
    • h: decrease # of links
    • l: increase # of links
    • H: decrease # of links by big steps
    • L: increase # of links by big steps
  • Report window
    • i: decrease iteration slider
    • o: increase iteration slider
    • I: decrease iteration slider by big steps
    • O: increase iteration slider by big steps

About

PageRank Simulator for MATH 308(Linear Algebra) Final Project

Resources

License

Stars

Watchers

Forks

Packages

No packages published