Author Topic: Shuffle Bounty $200 BitUSD  (Read 14398 times)

0 Members and 1 Guest are viewing this topic.

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
"order"
this word means "command" or "sequence" in the OP ?
"sequence" in this case
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline btswildpig

  • Hero Member
  • *****
  • Posts: 1424
    • View Profile
"order"
this word means "command" or "sequence" in the OP ?
这个是私人账号,表达的一切言论均不代表任何团队和任何人。This is my personal account , anything I said with this account will be my opinion alone and has nothing to do with any group.

Offline bytemaster

I am looking for a shuffle algorithm for delegates that has the following inputs:

vector<delegate_id>   prev_delegate_order
vector<delegate_id>   top_101_delegates_sorted_by_vote
sha256                        random_seed

I need to calculate the "next_delegate_order" such that the minimum distance between the same delegate is N/2 the number of delegates while maximizing the entropy and mixing.

This algorithm should be implemented in c++ using int64_t as the delegate ID.    I am looking for the best algorithm based upon the consensus on this thread.

Go! 

For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.