[freenet-dev] Securing swaps? Was: Alpha, Darknet routing, et al.

Michael Rogers m.rogers at cs.ucl.ac.uk
Thu Feb 21 18:08:02 UTC 2008


Matthew Toseland wrote:
> So a swap will only happen if it minimises stress for *both* nodes, rather 
> than before it would happen if it minimised total stress for both nodes 
> combined. Clearly this is a significant change to the transition 
> probabilities... It might very well lead to false minima?

Yup, I thought it might just reach the optimal solution more slowly but 
it seems to get permanently stuck at suboptimal solutions.

> One thing to try is 
> to use the same random for each node's decision (since this is likely how it 
> will be implemented in practice).

See attached - using the same random number seems to make things 
slightly worse, I don't know why.

Cheers,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelfishSim.java
Type: text/x-java
Size: 726 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20080221/ffc10331/attachment.java 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: results.png
Type: image/png
Size: 4156 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20080221/ffc10331/attachment.png 


More information about the Devl mailing list