LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2015, 05:29 PM   #1
mariam33
LQ Newbie
 
Registered: Mar 2015
Posts: 6

Rep: Reputation: Disabled
help me with ns2 please


how can i add k-means algorithm on zrp protocol ?????? in ns2?
I want to add k-means clustering alg. for ZRP protocol to make it run with the inter-zone routing protocol for inter clustering and with intra-zone for intra clustering. note that i am using ns-2.35/ubuntu10.04 and the ZRP was completely added to the simulator
Attached Files
File Type: txt k-means-tcl.txt (7.1 KB, 18 views)

Last edited by mariam33; 04-11-2015 at 03:32 PM. Reason: add more details for the question
 
Old 04-11-2015, 11:38 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by mariam33 View Post
how can i add k-means algorithm on zrp protocol ?????? in ns2?
You add it the same way you add any OTHER protocol in NS2. There is ample documentation you could find if you looked. Please see the "Question Guidelines" link in my posting signature.

You say nothing about what version of NS2, version/distro of Linux, or even tell us what you've done/tried. We will be happy to help you with a specific question or problem, but please don't ask us to look things up for you.
 
1 members found this post helpful.
Old 10-04-2015, 03:17 AM   #3
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
adding kmeans to zrp

i have done zrp simulation in ns2.35 and now I want to add kmeans to the zrp protocol.Can somebody help me with the steps to add kmeans.I have kmeans.tcl.thanks!

I use ubuntu 14.04 lte

Last edited by shivee; 10-04-2015 at 03:19 AM.
 
Old 10-04-2015, 09:01 AM   #4
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
zrp qn reminder

kindly reply to my above qn
 
Old 10-04-2015, 10:30 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shivee View Post
i have done zrp simulation in ns2.35 and now I want to add kmeans to the zrp protocol.Can somebody help me with the steps to add kmeans.I have kmeans.tcl.thanks!
I use ubuntu 14.04 lte
...and...
Quote:
Originally Posted by shivee
kindly reply to my above qn
First, you REALLY need to read the LQ Rules. You posted the same question multiple times, then post a follow-up, asking for more help after a few hours. Also, you have hijacked someone elses question with your own. If you want others to help you, you should try adhering to the forum rules, and not being rude by posting follow-ups (with ZERO new information) after a few hours, and asking what is essentially the same question over and over. Also, you need to spell out your words, and not use text-speak...it's "question" not "qn".

If you want help, then YOU, PERSONALLY, need to show some effort of your own. For example:
http://www.linuxquestions.org/questi...s2-4175555158/
http://www.linuxquestions.org/questi...on-4175526171/
http://www.linuxquestions.org/questi...rp-4175554775/

Try putting "how to add a tcl script into ns2.35" into Google..start there.
 
Old 10-04-2015, 12:17 PM   #6
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
#5 @TBOne : First of all thank you for listening to my question.Before reading the LQ rules and all,I would request you to google and find "how to talk politely".Also people come here only after searching in google.They come here because they haven't got their expected results.You might find our questions silly or stupid.We are not you.So kindly talk polite and give answers if you have.Thank you

Last edited by shivee; 10-04-2015 at 12:21 PM.
 
1 members found this post helpful.
Old 10-04-2015, 12:24 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shivee View Post
#2 @TBOne : First of all thank you for listening to my question.I request you to kindly read the question properly and completely.
I did, thanks.
Quote:
I have asked for "suggestions" not "a procedure" or "a code".
You asked for "steps"...or do you not think that is a "procedure"??
Quote:
Before reading the LQ rules and all,I would request you to google and find "how to talk politely".
No, YOU need to read the rules FIRST, before posting ANYTHING. And we don't give handouts here, especially to those who are rude, bump their own threads, and ignore forum rules. Tell us why we should be polite to you, when you're rude to us?
Quote:
Also people come here only after searching in google.They come here because they haven't got their expected results.You might find our questions silly or stupid.We are not you.So kindly talk polite and give answers if you have.Thank you
Wrong..people come here a LOT, INSTEAD of trying anything on their own. You ignored forum rules, re-opened an old thread, hijacked someone elses question, used text-speak, and bumped your own thread after a short time.

And if you "kindly read" my post, you'd see a 'suggestion' at the very bottom..did you try it?? Because if you do, you'd get the results you're after....surprising since you claim that you DID research first, and put things into Google, before coming here, that you didn't find that on the first page, where the FIRST TWO HITS have step-by-step instructions on how to add a TCL script into NS2.
 
Old 10-04-2015, 12:28 PM   #8
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
reply for #7:Thank you TBOne You were VERY informative!
 
Old 10-04-2015, 12:34 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by shivee View Post
reply for #7:Thank you TBOne You were VERY informative!
You were fairly rude in your initial posts and in your 'kindly' reply. Again, we will always be happy to HELP (that is ASSIST you), when you're stuck, but showing zero effort of your own and breaking forum rules, then telling them they should look up "how to talk politely", isn't a good way to get help.
 
  


Reply

Tags
ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
after installing NS2 termina shows the message ns2 not installed profaditya Linux - Newbie 2 09-25-2014 02:15 PM
NS2: How to set idle(sleeping) time to a node in wireless network in ns2 pon Linux - Newbie 0 08-19-2014 06:45 PM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
NS2: Require eap-sim authentication code for simulation in ns2.24 noamankhatib Linux - Software 0 04-29-2013 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration