Groups
Groups
Sign in
Groups
Groups
OMNeT++ Users
Conversations
Labels
About
Send feedback
Help
tictoc: question about destination (two lines)
61 views
Skip to first unread message
Carlo
unread,
Apr 6, 2012, 6:05:41 AM
4/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omn...@googlegroups.com
Hi everybody,
i can't undestrand these two lines in the code.
int dest = intuniform(0,n-2); if (dest>=src) dest++;
FIRST LINE
If n is the size of the node's vectors (we have 6 nodes), why do i extract dest from 0 to 4 ? how is it possible to extract the node 5 in this way?
SECOND LINE
Why this condition???
Message has been deleted
Mohd Adib Sarijari
unread,
Apr 23, 2012, 10:08:35 AM
4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omn...@googlegroups.com
i had posted a comment here, however, it seams that it does not appear. does anybody know why?
Mohd Adib Sarijari
unread,
Apr 23, 2012, 10:11:13 AM
4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omn...@googlegroups.com
i think it is being deleted. hope you did received it carlo, if not, i will do type it again.
i am sorry for the inconvenience.
Adib
Reply all
Reply to author
Forward
0 new messages