MAJOR WIP: set author's rank to constant 0? Worthwhile??
This commit is contained in:
parent
471cde1f2c
commit
3f8982cbe1
1 changed files with 5 additions and 4 deletions
|
@ -763,10 +763,11 @@ rank_projection(#projection_v1{author_server=Author,
|
||||||
%% Server b is no longer a member of a's MemberRank scheme, so we
|
%% Server b is no longer a member of a's MemberRank scheme, so we
|
||||||
%% need to compensate for this by giving b an extremely low author
|
%% need to compensate for this by giving b an extremely low author
|
||||||
%% ranking.
|
%% ranking.
|
||||||
AuthorRank = case orddict:find(Author, MemberRank) of
|
AuthorRank = 0,
|
||||||
{ok, Rank} -> Rank;
|
%% AuthorRank = case orddict:find(Author, MemberRank) of
|
||||||
error -> -(N*N*N*N)
|
%% {ok, Rank} -> Rank;
|
||||||
end,
|
%% error -> -(N*N*N*N)
|
||||||
|
%% end,
|
||||||
AuthorRank +
|
AuthorRank +
|
||||||
( N * length(Repairing_list)) +
|
( N * length(Repairing_list)) +
|
||||||
(N*N * length(UPI_list)).
|
(N*N * length(UPI_list)).
|
||||||
|
|
Loading…
Reference in a new issue