More antnet INFO ....
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/138eedbc-130d-4c09-a39c-55b0994c69dd%40googlegroups.com.
$ tar xvf ns-allinone-2.35_gcc5.tar.gz https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns-allinone-2.35/
patch -p0 < anthocnet_ns235.patch
export CC=gcc-4.8 CXX=g++-4.8 && ./install // no errors
$ tar xvf ns-allinone-2.35_gcc5.tar.gz
cd ns-allinone-2.35/
patch -p0 < anthocnet_print-rtable_ns235.patch
export CC=gcc-4.8 CXX=g++-4.8 && ./install // no errors
$ cat /etc/issue
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/16e5f729-3be5-4cd6-a514-d203228657c6%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/1931f3e4-68c5-4549-a809-1f5a35b77ea9%40googlegroups.com.
ok sorry!! help me please another question: when i run mapwol.tcl on ubuntu terminals i faced the following errors.
num_nodes is set 49
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
can't read "nodes_(0)": no such variable
while executing
"$ns_ initial_node_pos $nodes_($i) 20"
("for" body line 5)
invoked from within
"for {set i 0} {$i < $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;# disable random motion
$ns_ initial_node_pos ..."
(file "mapwol.tcl" line 61)please how can i fix it.
On Sun, 22 Sep 2019 at 01:48, knudfl <knu...@ofir.dk> wrote:
--@Academic Group of NS2.Repeat : You can ask SUMO questions at
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-u...@googlegroups.com.
sudo apt install g++-4.8
cd ns-allinone-2.35/
export CC=gcc-4.8 CXX=g++-4.8 && ./install
// copy - paste the complete line to the terminal ! !
$ ns235-anthocnet-64 1-simple.tcl // no errors
$ ns235-64-orig 1-simple.tcl // same errors as you got
How can I generate rtable for anthocnet. Its printing blank routing table. and rtable patch is not working on ubuntu. Can you tell me any code that I can add in simple anthocnet algorithm to print not blank routing table.
$ ns234-anthocnet_print-rtable-64 print_rtable_0-low.tcl
$ ns235-anthocnet_print-rtable-64 print_rtable_0-low.tcl
$ ns235-anthocnet_print-rtable-64 Pr-anthocnet-wrls1.tcl
num_nodes is set 300
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
end simulation
home/knudfl/ns2/anthocnet/ns-allinone-2.34/ →/usr/local/bin/ns234-anthocnet (32) (year 2015)
home/knudfl/ns2/anthocnet/64/ns-allinone-2.34/ →/usr/local/bin/ns234-anthocnet-64
home/knudfl/ns2/anthocnet/ns-allinone-2.35/ →/usr/local/bin/ns235-anthocnet (32)
home/knudfl/ns2/anthocnet/64/ns-allinone-2.35/ →/usr/local/bin/ns235-anthocnet-64
home/knudfl/ns2/anthocnet/PrintTable/ns-allinone-2.34/ →/usr/local/bin/ns234-anthocnet_print-rtable-64
home/knudfl/ns2/anthocnet/PrintTable/ns-allinone-2.35/ →/usr/local/bin/ns235-anthocnet_print-rtable-64
sudo gdebi Downloads/anthocnet-ns2_2.35-el6-ubuntu14_amd64.deb
sudo gdebi Downloads/anthocnet-ns_2.34-1el7-ubuntu16_amd64.deb
$ ns235-anthocnet-el6 anthocnet-wrls1.tcl
$ ns234-AntHocNet-el7 anthocnet-wrls1.tcl
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/eb902bc2-d903-467d-8532-77cbf3b8b9b5%40googlegroups.com.
Its showing segment fault for ns235-el6. Its running perfectly for ns234-nl7 but when it generate rtable its blank again. Do you have any solution for this?
$ ns234-anthocnet-Rtable-el7 Pr-anthocnet-wrls1.tcl
There is some pheromone text in the code: anthocnet_print-rtable_ns234-gcc5.patch
677:+ MapNodePheromone_it iter = this->pheromone_regular.find(ANT_ENTRY(neighbor, destination));
696:+ MapNodePheromone_it iter = this->pheromone_regular.find(ANT_ENTRY(neighbor, destination));
722:+ MapNodePheromone_it iter = this->pheromone_regular.find(node);
745:+ MapNodePheromone_it iter = this->pheromone_virtual.find(node);
763:+ MapNodePheromone_it it = this->pheromone_regular.begin();
808:+ const MapNodePheromone_it rend = this->pheromone_regular.end();
809:+ const MapNodePheromone_it vend = this->pheromone_virtual.end();
814:+ const MapNodePheromone_it iterR = this->pheromone_regular.find(ANT_ENTRY(neighbor, destination));
815:+ const MapNodePheromone_it iterV = this->pheromone_virtual.find(ANT_ENTRY(neighbor, destination));
889:+double PheromoneTable::sumProbability(MapNodePheromone pheromone_table, const nsaddr_t destination)
894:+ const MapNodePheromone_it tend = pheromone_table.end();
899:+ const MapNodePheromone_it iterT = pheromone_table.find(node);
924:+ const MapNodePheromone_it rend = this->pheromone_regular.end();
925:+ const MapNodePheromone_it vend = this->pheromone_virtual.end();
931:+ const MapNodePheromone_it iterR = this->pheromone_regular.find(ANT_ENTRY(neighbor, destination));
932:+ const MapNodePheromone_it iterV = this->pheromone_virtual.find(ANT_ENTRY(neighbor, destination));
980:+ MapNodePheromone pheromone_regular;
981:+ MapNodePheromone pheromone_virtual;
990:+ double sumProbability(MapNodePheromone pheromone_table, const nsaddr_t destination);
3556:+typedef std::map<NodeEntry, double> MapNodePheromone;
3557:+typedef MapNodePheromone::iterator MapNodePheromone_it;
Routing table at node 0
4 1 0.007599
4 4 0.257193
Routing table at node 1
3 0 0.005100
3 3 0.255617
Routing table at node 2
3 3 0.510000
4 0 0.006000
4 4 0.759900
5 5 0.260113
Routing table at node 3
1 1 0.950819
.
.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/62847e77-7a8c-4dcb-9b94-64efd4a543e0%40googlegroups.com.
cd ns-allinone-2.34/
( $ patch -p0 < anthocnet_print-rtable_ns234-gcc5.patch )
$ patch -p0 < aodv-malicious_ns234.patch
$ export CC=gcc-4.8 CXX=g++-4.8 && ./install
$ sudo apt install dialog
$ cd [new folder with the script and out.tr]
$ dash Metrics_Performance_Extractor.sh
cd Extractor-directory/
dash Metrics_Performance_Extractor.sh
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/6558daf9-d505-4744-88f3-a25efb5a1d68%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/3eaa6cde-961d-4148-9ffa-a56495bcb646%40googlegroups.com.