Created
April 1, 2009 15:57
-
-
Save mperham/88755 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Page scoring scenario | |
# Global Constants | |
page_link_e = 0.775 | |
page_link_u = 0.1 | |
entry_link_e = 0.65 | |
entry_link_u = 0.2 | |
atomicity = 0.1 | |
page 'a' do | |
# define (e, u) for the entry link to this page | |
entry_link 0.67, 0.2 | |
# now define (e, u) for the pages linking to this page | |
page_link 0.45, 0.2 | |
page_link 0.33, 0.1 | |
page_link 0.64, 0.14 | |
end | |
page 'b' do | |
# define (e, u) for the entry link to this page | |
entry_link 0.67, 0.2 | |
# now define (e, u) for the pages linking to this page | |
page_link 0.45, 0.2 | |
page_link 0.33, 0.1 | |
page_link 0.64, 0.14 | |
end | |
# And now hit Go! to generate the page score(s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment