-
Hi,
Messages are addressed to "Node"-s and not node indices. So if a node's index changes, it has nothing to do with message delivery. If you are using the index, something is wrong. Does peersim itself rely on the index? Please be more specific.
Mark.
2009-07-16 20:48:55 UTC in peersim
-
The out degree is k. the indegree has a Gaussian distribution with mean k. In the undirected case degree=out+in degree. We currently have no initializer that gives you an undirected regular graph.
2009-07-13 06:29:42 UTC in peersim
-
This is not strictly a peersim question, it is more about random graph theory. From k=4 or so you are very unlikely to get disconnected.
2009-07-09 09:10:23 UTC in peersim
-
Nothing is wrong. Why should it be connected?.
2009-07-09 08:41:25 UTC in peersim
-
Hi!
About wiring: the only way is "manual" wiring. Please let us know what the "right way" would be, and then we can talk about it. If what you mean is selecting random nodes is not realistic, then you can do what real protocols do: fix a node or a set of nodes and connect new nodes to that node, etc.
about removal: two ideas. (1) do not call "remove" but...
2009-07-09 07:30:48 UTC in peersim
-
jelasity committed patchset 408 of module peersim to the peersim CVS repository, changing 2 files.
2009-07-08 08:45:45 UTC in peersim
-
jelasity committed patchset 407 of module peersim to the peersim CVS repository, changing 2 files.
2009-07-07 13:18:38 UTC in peersim
-
This is a classic :-)
try "topologyCreator" instead of "topologycreator"...
Btw if you use the syntax
init.topologyCreator peersim.dynamics.WireStar
{
protocol idle
undir
}
then you will never have this problem.
2009-07-07 07:04:25 UTC in peersim
-
When you set "undir" (btw you don't have to give a value, you simply have to specify the property) then the effect is that for all the edges peersim will add the reversed edge too. This does not technically convert the overlay to undirected. So every time you run a control to examine the graph, you again have to specify "undir". The overlay is always directed by default...
2009-07-06 06:39:58 UTC in peersim
-
Typo correction: of course handling a _cycle_ (not an event) has O(NlogN) cost (and O(N), respectively).
Mark.
2009-07-06 06:29:37 UTC in peersim