mapa17 / Eruliaf

A BitTorrent like overlay peer simulator
GNU General Public License v3.0
1 stars 0 forks source link

Extend PeerFactory for simple churn model #29

Closed mapa17 closed 12 years ago

mapa17 commented 12 years ago

Extend the PeerFactory to spawn new peers during execution of the simulation. By doing so implementing a simple churn model.

For this a decision function should be called in every tick for every type of peer returning True/False ; if either spawn or not a new node.

In the beginning this can be a random process. later some function parameterized by the Config would be nice.