diff --git a/README.md b/README.md index 2202590..5d123fa 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,8 @@ graph.Rank(func(id string, pRank float64, nRank float64) { The `Rank` method takes a callback parameter that will be called for each node. +**Note:** If you have negative links, you will want to take the results of the first pagerank computation, and run the algorithm again. This will ensure that the outgoing links from nodes that have a negative component caryy less weight. + ## Core Concepts and Features ### Personalization diff --git a/non-deterministic/graph.go b/detrep/graph.go similarity index 100% rename from non-deterministic/graph.go rename to detrep/graph.go diff --git a/non-deterministic/pagerank.go b/detrep/pagerank.go similarity index 100% rename from non-deterministic/pagerank.go rename to detrep/pagerank.go diff --git a/non-deterministic/pagerank_test.go b/detrep/pagerank_test.go similarity index 100% rename from non-deterministic/pagerank_test.go rename to detrep/pagerank_test.go diff --git a/non-deterministic/processResults.go b/detrep/processResults.go similarity index 100% rename from non-deterministic/processResults.go rename to detrep/processResults.go diff --git a/non-deterministic/.DS_Store b/non-deterministic/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/non-deterministic/.DS_Store and /dev/null differ diff --git a/deterministic/graph.go b/rep/graph.go similarity index 100% rename from deterministic/graph.go rename to rep/graph.go diff --git a/deterministic/pagerank.go b/rep/pagerank.go similarity index 100% rename from deterministic/pagerank.go rename to rep/pagerank.go diff --git a/deterministic/pagerank_test.go b/rep/pagerank_test.go similarity index 100% rename from deterministic/pagerank_test.go rename to rep/pagerank_test.go diff --git a/deterministic/processResults.go b/rep/processResults.go similarity index 100% rename from deterministic/processResults.go rename to rep/processResults.go diff --git a/deterministic/test_utils.go b/rep/test_utils.go similarity index 100% rename from deterministic/test_utils.go rename to rep/test_utils.go