Friday 29 November 2013

Breaklinks in latex

You'll face problems in using dvi2pdf for following packages, to get rid of this problem use pdflatex command or you have to remove the breaklinks from the following packages.


\usepackage[breaklinks=true]{hyperref} 
\usepackage{color,hyperref}
\definecolor{darkblue}{rgb}{0.0,0.0,0.5}
\hypersetup{colorlinks,breaklinks=true,
            linkcolor=darkblue,urlcolor=darkblue,
            anchorcolor=darkblue,citecolor=darkblue}


\usepackage
[pdfnewwindow,bookmarks,raiselinks,pageanchor,hyperindex,colorlinks,breaklinks,citecolor=black,linkcolor=black,urlcolor=blue,filecolor=blue,menucolor=black]{hyperref}



Friday 28 June 2013

Make Changes in Implemented Protocol Model of ns2

After making the changes in built in Protocol Models of ns2 , recompile through following steps:

  1. make clean
  2. make
  3. sudo make install

ns2 simulation workflow

NS2 Workflow includes four steps:
1.       Implement protocol models
2.       Setup Simulation Scenario by defining topology, i.e. Make Tcl file in which you mention what type of scenario you want, e.g. no. Of nodes, kind of agent working on nodes etc.
3.       Run simulation i.e. Run the tcl file

4.       Analyse simulation results i.e. by GNU Awk and gnuplot