Post
Topic
Board Meta
Re: DefaultTrust changes
by
Hhampuz
on 11/01/2019, 18:38:24 UTC
I thought that I had a good idea for limiting each individual truster when handling the last two criteria: set it up as a circulation problem as below, and then find the maximum flow. The "user tX"s through whom flow passes would be the DT1s selected.

~snip

(The orders of the users would be randomized on each run.)

There are efficient algorithms for maximizing the flow in problems similar to this, which is why thinking about it in this way occurred to me. However, it turns out that the "exactly 0 or exactly 10" requirement on the rightmost edges makes finding an exact solution too difficult.

I might try to write an algorithm for finding an approximate solution to this, but I probably won't get to it in the near future. Anyone else want to give it a try? You might also be able to structure it as a knapsack problem or something else, but I haven't gotten around to thinking about that yet.

I like this. Seems to be the correct way (If possible to make it work) to make it as decentralized as possible. I'll patiently sit back and see if we have any Mr. Robots that can take it on  Grin