Skip to content

Commit 5a27cbe

Browse files
committed
merge
2 parents cda386b + a82b47f commit 5a27cbe

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

Markdownbook/chapter_1.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
下面简单介绍一下几种常见的开源库。
2727

28-
### INET ###
28+
- [1] INET
2929

3030
由Simucraft公司主持开发,用于仿真有线及无线网络。
3131

@@ -39,7 +39,7 @@
3939

4040
- 官网:<http://inet.omnetpp.org>
4141

42-
### INETMANET ###
42+
- [2] INETMANET
4343

4444
由 Simucraft 公司主持开发,用于仿真无线、有线网络,在INET的基础上增加了大量的MANET协议,INETMANET=INET+MANET,在INET的基础上增加:
4545

@@ -57,19 +57,19 @@
5757

5858
- 官网:<http://inet.omnetpp.org>
5959

60-
### Mobility Framework ###
60+
- [3] Mobility Framework
6161

6262
由 Simucraft 公司主持开发,是一个无线传感器仿真模型库.绝大多数协议已经被 INET 吸收
6363

6464
- 官网:<http://mobility-fw.sourceforge.net/hp/index.html>
6565

66-
### SensorSimulator ###
66+
- [4] SensorSimulator
6767

6868
美国路易斯安娜州立大学开发,用于仿真无线传感器网络
6969

7070
- 官网:<http://csc.lsu.edu/sensor_web/>
7171

72-
### Castalia ###
72+
- [5] Castalia
7373

7474
澳大利亚国家信息技术中心(NICTA)开发,是一个基于 OMNeT++ 的侧重于无线网络的仿真器。基于实测数据的高级 channel/radio 模型,Radio 详细的状态转移,允许多传输功率电平。
7575

@@ -87,15 +87,15 @@
8787

8888
- 官网:<https://github.com/boulis/Castalia>
8989

90-
### OverSim ###
90+
- [6] OverSim
9191

9292
德国卡尔斯鲁厄大学开发
9393

9494
- 用于仿真点对点(p-to-p)协议,如chard,GIA等
9595

9696
- 官网:<http://www.oversim.org>
9797

98-
### TTE4INET ###
98+
- [7] TTE4INET
9999

100100
由Communication over Real-Time Ethernet Group开发的时间触发以太网仿真模型,包括对AS6802的仿真实现。现仿真模型已改名为CoRE4INET。
101101

Markdownbook/chapter_2.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
首先,安装**INET**库,需要到**inet**文件下看看有什么有用的文件没有,当然是先看看**README.md**了,这个文件提示我们安装请看:**INSTALL**,内容如下:
6060

61-
```C++
61+
```bash
6262
If you are building from command line:
6363
--------------------------------------
6464
1. Change to the INET directory.
@@ -69,7 +69,6 @@ If you are building from command line:
6969
to build release version.
7070

7171
4. You can run specific examples by changing into the example's directory and executing "./run"
72-
7372
```
7473
7574
当然,你可以选择**mingwenv.cmd**命令窗口,输入以上指令进行编译安装。上面的英文安装较为简洁,下面是我使用命令窗口安装的过程:
@@ -95,29 +94,27 @@ If you are building from command line:
9594
9695
- 方法二:**OMNeT++**窗口安装
9796
98-
一样的,在**INSTALL**下命令行安装方式下面就是使用IDE的安装方式,这个**IDE**的使用方式就是将**INET**库使用**OMNeT++**打开,当然此时库文件**inet**已经在**samples**文件下,我们需要做的就是打开**OMNeT++ IDE** ,然后导入整个**inet**工程。
99-
100-
```C++
97+
在**INSTALL**下命令行安装方式下面就是使用IDE的安装方式,这个**IDE**的使用方式就是首先将**inet**文件放置在**samples**目录下,并将**INET**库使用**OMNeT++**打开,我们需要做的就是打开**OMNeT++ IDE** ,然后导入整个**inet**工程。
10198
99+
```bash
102100
If you are using the IDE:
103101
-------------------------
104-
3. Open the OMNeT++ IDE and choose the workspace where you have extracted the inet directory.
102+
1. Open the OMNeT++ IDE and choose the workspace where you have extracted the inet directory.
105103
The extracted directory must be a subdirectory of the workspace dir.
106104
107-
4. Import the project using: File | Import | General | Existing projects into Workspace.
105+
2. Import the project using: File | Import | General | Existing projects into Workspace.
108106
Then select the workspace dir as the root directory, and be sure NOT to check the
109107
"Copy projects into workspace" box. Click Finish.
110108
111-
5. Open the project (if already not open) and wait until the indexer finishes.
109+
3. Open the project (if already not open) and wait until the indexer finishes.
112110
Now you can build the project by pressing CTRL-B (Project | Build all)
113111
114-
6. To run an example from the IDE open the example's directory in the Project Explorer view,
112+
4. To run an example from the IDE open the example's directory in the Project Explorer view,
115113
find the corresponding omnetpp.ini file. Right click on it and select Run As / Simulation.
116114
This should create a Launch Configuration for this example.
117115

118116
If the build was successful, you may try running the demo simulations.
119117
Change into examples/ and type "./rundemo".
120-
121118
```
122119
123120
根据上面的步骤,需要点击:**File | Import | General | Existing projects into Workspace** ,导入inet整个工程文件,对整个工程进行编译即可。
@@ -130,7 +127,7 @@ Change into examples/ and type "./rundemo".
130127
131128
### INETMANET安装 ###
132129
133-
在安装**INETMANET**库前,也许你可以在**OMNeT++**中,将**INET**工程关掉,接下来,你可以按照以下步骤进行
130+
在安装**INETMANET**库前,安装可按照以下步骤进行
134131
135132
```bash
136133
#!bin/bash

pdf/omnetpp_primer-zh.pdf

-1.48 KB
Binary file not shown.

0 commit comments

Comments
 (0)