Research Methods - Tools Overview References Motivation Outline - - PowerPoint PPT Presentation

research methods tools overview
SMART_READER_LITE
LIVE PREVIEW

Research Methods - Tools Overview References Motivation Outline - - PowerPoint PPT Presentation

Research Methods - Tools Overview Research Methods - Tools Overview Chia-Hui Huang Research Methods - Tools Overview References Motivation Outline Chia-Hui Huang Manage Your Files Write Your Department of Computer Science and


slide-1
SLIDE 1

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview

Research Methods - Tools Overview

Chia-Hui Huang

Department of Computer Science and Information Engineering, National Taipei University of Technology Taiwan, ROC.

1/37

slide-2
SLIDE 2

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview References

References

[1] Chun-Hung Chen, “Introduction to LaTeX,” available at http://netlab.csie.ntut.edu.tw/seminar/year2007/Presentation_IntroductionToLaTeX.zip [2] Chen-Nien Tsai, “Introduction to LaTeX and JabRef,” available at http://netlab.csie.ntut.edu.tw/seminar/year2009/CNT20091006.zip [3] Chia-Wei Tuan, “Tips on Developing a Network Simulator and Writing a Paper, available at http://netlab.csie.ntut.edu.tw/seminar/year2009/CWT20091020.ppt [4] Chun-Hung Chen, “General Research Method,” available at http://netlab.csie.ntut.edu.tw/seminar/year2008/CHC20081008.pptx [5] Chen-Nien Tsai, “Some Things You Might Need to Know - Tools and Skills Overview,” available at http://netlab.csie.ntut.edu.tw/seminar/year2010/CNT20100928.pptx [6] JabRef Website, http://jabref.sourceforge.net/ [7] OMNeT++ Website, http://www.omnetpp.org/ [8] MiKTeX Website, http://miktex.org/ 2/37

slide-3
SLIDE 3

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Motivation

Motivation

  • Procedures of Research
  • Find interesting topics
  • Read related papers to the topics
  • Choose your research topic(s)
  • Propose your solution
  • Prepare your paper

Tools are not necessary needed, but they might make your research live easier.

3/37

slide-4
SLIDE 4

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Outline

Outline

  • Manage Your Files (Papers)
  • JabRef
  • Write Your Simulation Program
  • OMNeT++
  • Shell script
  • Result Recording and Analysis
  • Write Your Thesis (or paper)
  • LaTeX - MiKTeX 2.x
  • LaTeX and graphics formats

4/37

slide-5
SLIDE 5

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Manage Your Files (Papers)

  • Print out and archive
  • Folders vs. JabRef
  • What is JabRef
  • A bibliography reference manager
  • Cross-plateform
  • The native file format is BibTeX, the standard LaTeX

bibliography format.

5/37

slide-6
SLIDE 6

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Why use JabRef?

  • Why use JabRef
  • To manage bibliography references
  • Advanced BibTeX editor
  • Search functions
  • Classification of entries
  • Type the bibliographic details once, and cite references in

any documents. (usually we dont need to type)

  • Build-in and custom export formats.
  • For those who write papers with MS Word.

6/37

slide-7
SLIDE 7

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

How to use JabRef?

  • Create a database
  • Add new BibTeX entry manually
  • Select type
  • Article, Conference, Proceedings, Book, Ketc
  • Input
  • Author, Title, Journal (Proceeding), Year, Pages
  • Add from preformatted text
  • ACM
  • IEEE
  • Add from search results
  • IEEEXplore, ACM Portal, CiteSeer

7/37

slide-8
SLIDE 8

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Get BibTex Information from ACM Digital Library

8/37

slide-9
SLIDE 9

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Get BibTex Information from IEEE Xplore

9/37

slide-10
SLIDE 10

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Get BibTex Information from Search Results

10/37

slide-11
SLIDE 11

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Bibtexkey

11/37

slide-12
SLIDE 12

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Exporting Reference Entries

Export selected entries Export

12/37

slide-13
SLIDE 13

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Manage Your Files

Summary - JabRef

Add new entry manually Add new entry from preformatted text Add new entry from search results JabRef Create a database Search functions Classification of entries Cite references

Demo

13/37

slide-14
SLIDE 14

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Write Your Simulation Program

  • Simulation Frameworks
  • Commerical
  • OPNET
  • QualNeT
  • Freeware
  • NS-2 (Network Simulator Version 2)
  • OMNeT++

14/37

slide-15
SLIDE 15

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

OMNeT++ Installation (OMNeT++ 4.0)

  • Windows XP (Installation-windows)
  • Download the OMNeT++ source code from

http://www.omnetpp.org/omnetpp

  • MinGW gcc compiler environment
  • ./configure
  • make
  • Verifying the Installation
  • ../samples/rundemo
  • Linux (Ubuntu) (Installation-ubuntu)

sudo apt-get install build-essential gcc g++ bison flex perl tcl-dev tk-dev blt libxml2-dev zlib1g-dev openjdk-6-jre doxygen graphviz openmpi-bin libopenmpi-dev libpcap-dev

15/37

slide-16
SLIDE 16

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Components of OMNeT++ Simulation

  • NED Language Topology Description (.ned)
  • Edited by any text edit or OMNeT++ IDE (graphical,

v4.0)

  • Describes network nodes (e.g. node and router) and

connections

  • Simple Module Sources (.h/ .cc)
  • Implements Algorithm/Protocol
  • omnetpp.ini
  • Setup Simulation

16/37

slide-17
SLIDE 17

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Example - Tictoc

  • Tictoc.ned
  • simple module - nodes
  • network
  • Number of nodes
  • Connections
  • Txc1.cc/.h
  • virtual void initialize();
  • This method provides a place for initialization cose; e.g.

parameter initalization.

  • virtual void handleMessage(cMessage *msg);
  • It is invoked with the message as parameter whenever the

module receives a message.

  • omnetpp.ini
  • Sections
  • network-specific parameters
  • node-specific parameters

17/37

slide-18
SLIDE 18

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

OMNeT++ Tutorial

  • http://www.omnetpp.org/webdemo/ide/

18/37

slide-19
SLIDE 19

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Batch Execution Scripts

  • OMNeT++ 3.x had no direct support for batch runs
  • Shell script
  • OMNeT++ 4.0 eliminates the need for writing batch

execution scripts

  • Configuring the ini file

19/37

slide-20
SLIDE 20

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Result Recording and Analysis

  • Statistics in OMNeT++
  • Example (Statisticsi-

nOMNeT++.mp4)

  • Collecting results by
  • urself
  • Text file (.txt)
  • Gnuplot (wgnuplot)

20/37

slide-21
SLIDE 21

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Result Recording and Analysis (cont.)

  • Examples
  • Number of received packets (tictoc)
  • batch.ini - 10 runs
  • BatchExecution - (Tictoc1 - Tictoc 10)

Plot script Result

21/37

slide-22
SLIDE 22

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Result Recording and Analysis (cont.)

  • EPS

1000 2000 3000 4000 5000 200 400 600 800 1000

Number of Received Packet Time (s)

"statistic" 22/37

slide-23
SLIDE 23

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Simulation Program

Summary - OMNeT++

Network (topology) Add behavior NED file C++ code (.h/.cc) Configuring simulations (omnetpp.ini)

Next step Next step control control

Nodes

23/37

slide-24
SLIDE 24

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Write Your Thesis (or paper)

  • Microsoft Word is good, but not that good.
  • Cost
  • Poor backward compatibility
  • Lack of typesetting abilities.
  • LaTeX
  • High-level language that accesses the power of TeX.
  • It uses the TeX as its typesetting engine.
  • Keep the authors focus on the content instead of layout or

design.

24/37

slide-25
SLIDE 25

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Benefits of LaTeX

  • No Special Programs Required to Edit
  • Notepad++, TeXworks, WinEdt
  • Format checking is “almost” unnecessary
  • Changing format is just a few words replacement
  • Easy to manage bibliography
  • Better Display
  • Especially for Mathematical Expression

25/37

slide-26
SLIDE 26

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

  • Similar to HTML

Source code Document

  • latex texFileName
  • yap texFileName
  • dvipdfm textFileName

26/37

slide-27
SLIDE 27

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Install LaTeX

  • LaTeX can be installed in any platform.
  • MS Windows, Unix-like, Mac OS, etc.
  • LaTeX Programs
  • Unix, Linux
  • TeXLive
  • Mac OS
  • MacTex
  • Windows
  • MiKTeX
  • proTeXt

27/37

slide-28
SLIDE 28

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Minimal LaTeX File

28/37

slide-29
SLIDE 29

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Bibliography

IEEE/ACM Transactions on Networking Computer Networks

  • Issues
  • Cite references in the paper
  • Different papers use different reference styles
  • BibTex, a companion program to LaTeX
  • Type the bibliographic details once
  • Cite references in any documents - Bibtexkey
  • Formatted automatically to the reference style

29/37

slide-30
SLIDE 30

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Basic Procedure

.tex .aux Text Editor .bib/.bst .dvi .bbl .pdf/.ps Reference style Generated by BibTeX Bibtex file

30/37

slide-31
SLIDE 31

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

JabRef & LaTeX

31/37

slide-32
SLIDE 32

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Document Layout

  • Document Classes (.cls)
  • Specify the type of the document
  • Built-in classes: article, report, book, etc.
  • Different Organization: IEICE, Elsart, IEEE, etc.
  • ieice.cls, elsarticle.cls, ieee.cls

Keep the authors focus on the content instead of layout

  • r design.

32/37

slide-33
SLIDE 33

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Typesetting Mathematics

  • amsmath package
  • Ordinary (inline) math mode
  • Mathematical material to be typeset inline must be

surrounded by single dollar signs

  • Display math mode
  • Material that is surrounded by ”equation environment“
  • Equation label

33/37

slide-34
SLIDE 34

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

LaTeX and graphics formats

  • LaTeX command
  • EPS
  • pdflatex command
  • JPEG, TIFF, PNG, or PDF
  • wmf/emf (Microsoft Visio) to eps (WMF2EPS Graphics

Converter)

34/37

slide-35
SLIDE 35

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Write Your Thesis

Summary - LaTeX

  • LaTeX is a good tool for writing papers
  • Document Layout - .cls
  • Bibliography - .bib
  • Mathematical Typesetting

Keep the authors focus on the content instead of layout

  • r design.

35/37

slide-36
SLIDE 36

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Summary

Summary

Reference Management Software JabRef Write your simulation program OMNeT++ Write your paper LaTeX Find interesting topics Read related papers to the topics Choose your research topic(s) Propose your solution Prepare your paper 36/37

slide-37
SLIDE 37

Research Methods - Tools Overview Chia-Hui Huang References Motivation Outline Manage Your Files Write Your Simulation Program Write Your Thesis Summary Research Methods - Tools Overview Summary

Summary

Tools Download Paper Management JabRef jabref.sourceforge.net OMNeT++

  • mnetpp.org

Simulation/Results Shell Script unix-like environment Gnuplot(wgnuplot) www.gnuplot.info Paper Writing MiKTeX miktex.org wmf2eps www.wmf2eps.de.vu

37/37