LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-18-2015, 01:29 AM   #46
lixinlu2000
LQ Newbie
 
Registered: May 2015
Posts: 2

Rep: Reputation: Disabled

Re post #45, @knudfl: Thank you!
I am working on the protocol in Wireless Sensor networks, which is different with Mobile Ad hoc network, but they are similar.
I meant that I want to improve the protocol in WSNs using the ant colony algorithm, for example, modify the LEACH, combining the ACO in the inter-cluster communication. And the aim of what I have done or want to do is prove the novel protocol is more efficient.
 
Old 03-30-2017, 08:10 AM   #47
bhavesh_patel
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
#35.

Please read post #29 : The patch is exactly this ....
$ svn checkout svn://svn.code.sf.net/p/anthocnet/code/ anthocnet-code
I.e. the difference from ns-2.34 to {the anthocnet patched ns-2.34 }.

When you have got the above "anthocnet-code", you will find "anthocnet/" in ns-2.34/.
The same is valid for ns-2.35. It's the same code which is added.
( The patch is not a "package", is a text file : Readable.)



$ cd ns-allinone-2.35/
$ patch -p0 < anthocnet_ns235.patch


-


hello sir,

where can i find patch for AntHocNet ??
can you help please?

thank you
 
Old 03-30-2017, 08:31 AM   #48
bhavesh_patel
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
ref. #33, @beiinnovative.

tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ cd ns-allinone-2.35/
patch -p0 < anthocnet_ns235.patch
./install
cd ns-2.35/
# make install
cp ns ns235-anthocnet ( That's your "ns AntHocNet" backup )
# cp ns235-anthocnet /usr/local/bin/


-


successfully done this..

but there is one file name 0-low.tcl in tcl folder
i tried to run that file using following command..

$ ns235-anthocnet 0-low.tcl

which shows that ns235-anthocnet command not found.

it is not working as it works for AntNet algorithm..

whats the error ??

can u help please//

thank you..
 
Old 03-30-2017, 10:57 AM   #49
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #48, @bhavesh_patel.

ns235-anthocnet :
Is 1) the command to use to be absolutely sure you use the AntHocNet patched 'ns'
2) Is also your "ns AntHocNet" backup.

Please read the "QUOTE" in post #48
Quote:
cp ns ns235-anthocnet ( That's your "ns AntHocNet" backup )
# cp ns235-anthocnet /usr/local/bin/
In Ubuntu that is
Code:
sudo cp ns235-anthocnet /usr/local/bin/
 
Old 04-23-2017, 04:58 AM   #50
bhavesh_patel
LQ Newbie
 
Registered: Mar 2017
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
<<< ref. #40.

Trace files are text : You can read the file.
http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats

Awk scripts are mostly for analyzing the trace file.
Package with ~140 scripts : awk-and-perl_scripts_12.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

-


hello sir,

i need some help...
like i want to add energy parameter to anthocnet protocol... then how we can do that??
i mean what changes i have to make??
and how i can get energy of nodes or avg. energy of path and then how to put it in pheromone equation..

can you suggest me some idea regarding this??

thank you.
 
Old 04-23-2017, 06:34 AM   #51
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #50, @bhavesh_patel

Some hints ...
. https://www.google.com/webhp?hl=all&...ergy+anthocnet
. https://www.google.com/webhp?hl=all&...thocnet+energy

And please have a look at some simulation examples with "energy".
cd 000-All-examples/
grep -in energy * >> energy.txt
( ~2100 lines with energy, EnergyModel, initialEnergy addenergymodel, etc.)

All examples : all_tcl-examples-2.tar.gz (2000 files. 41.8MB )
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-
 
  


Reply

Tags
anthocnet, 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
NS2 2.35: Antnet must Linux - Software 14 05-26-2017 07:17 AM
code of CONFIDANT implemented in ns2 dorra Linux - Newbie 14 02-24-2014 12:24 PM
How the BECAN sheme is implemented using NS2 shahina Linux - Wireless Networking 1 07-20-2013 03:00 AM
[NS2] the RSS & link_events code in MIH implemented by NIST RSM_smile Linux - Newbie 0 09-26-2012 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:12 PM.

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