MCPcopy Create free account

hub / github.com/dcadenas/pagerank / functions

Functions33 in github.com/dcadenas/pagerank

↓ 43 callersMethodLink
(from, to int)
pagerank.go:10
↓ 11 callersFunctionNew
()
pagerank.go:21
↓ 9 callersFunctionassertRank
(t *testing.T, pageRank Interface, expected map[int]float64)
pagerank_test.go:24
↓ 4 callersMethodRank
(followingProb, tolerance float64, resultFunc func(label int, rank float64))
pagerank.go:9
↓ 3 callersMethodClear
()
pagerank.go:165
↓ 2 callersFunctionassertEqual
(t *testing.T, actual, expected interface{})
pagerank_test.go:34
↓ 2 callersMethodkeyAsArrayIndex
(key int)
pagerank.go:43
↓ 2 callersFunctionround
(f float64)
pagerank_test.go:15
↓ 2 callersFunctiontoPercentage
(f float64)
pagerank_test.go:19
↓ 1 callersFunctionassert
(t *testing.T, actual bool)
pagerank_test.go:40
↓ 1 callersFunctioncalculateChange
(p, new_p []float64)
pagerank.go:131
↓ 1 callersMethodcalculateDanglingNodes
()
pagerank.go:88
↓ 1 callersMethodlinkWithIndices
(fromAsIndex, toAsIndex int)
pagerank.go:76
↓ 1 callersMethodstep
(followingProb, tOverSize float64, p []float64, danglingNodes []int)
pagerank.go:100
↓ 1 callersMethodupdateInLinks
(fromAsIndex, toAsIndex int)
pagerank.go:56
↓ 1 callersMethodupdateNumberOutLinks
(fromAsIndex int)
pagerank.go:66
FunctionBenchmarkOneHundredThousand
(b *testing.B)
pagerank_test.go:210
MethodLink
(from, to int)
pagerank.go:81
MethodRank
(followingProb, tolerance float64, resultFunc func(label int, rank float64))
pagerank.go:141
MethodString
()
pagerank.go:27
FunctionTestRankToPercentage
(t *testing.T)
pagerank_test.go:50
FunctionTestRound
(t *testing.T)
pagerank_test.go:46
FunctionTestShouldBePossibleToClearTheGraph
(t *testing.T)
pagerank_test.go:74
FunctionTestShouldBePossibleToRecalculateTheRanksAfterANewLinkIsAdded
(t *testing.T)
pagerank_test.go:66
FunctionTestShouldBeUniformForACircularGraph
(t *testing.T)
pagerank_test.go:137
FunctionTestShouldCorrectlyReproduceTheWikipediaExample
(t *testing.T)
pagerank_test.go:172
FunctionTestShouldEnterTheBlock
(t *testing.T)
pagerank_test.go:54
FunctionTestShouldNotChangeTheGraphWhenAddingTheSameLinkManyTimes
(t *testing.T)
pagerank_test.go:105
FunctionTestShouldNotFailWhenCalculatingTheRankOfAnEmptyGraph
(t *testing.T)
pagerank_test.go:83
FunctionTestShouldReturnCorrectResultsForAConvergingGraph
(t *testing.T)
pagerank_test.go:156
FunctionTestShouldReturnCorrectResultsForAStarGraph
(t *testing.T)
pagerank_test.go:122
FunctionTestShouldReturnCorrectResultsWhenHavingADanglingNode
(t *testing.T)
pagerank_test.go:90
Functioninit
()
pagerank_test.go:11