MZ Blog

Thinking will not overcome fear but action will.

ns3第三个例子构建无线网络拓扑

一、代码解读 #include "ns3/core-module.h" #include "ns3/point-to-point-module.h" #include "ns3/network-module.h" #include "ns3/applications-module.h" #include "ns3/wifi-module.h" #include "ns3/mobilit...

ns3第二个例子构建总线网络拓扑

一、代码解读 头文件如下: #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/csma-module.h" #include "ns3/internet-module.h" #include "ns3/point-to-point-module.h" #include "ns3/app...

ns3 Tracing系统详解

一、为什么要设置Tracing系统 运行ns-3仿真就是为了能够对现实网络结构进行仿真然后得到想要的数据,得到用于研究的输出。先介绍两种不那么灵活的输出方法,一种是打印输出,一种是日志系统,这两种方法对于我们想要得到的精准信息都有些缺陷。打印到标准输出需要进入ns-3核心代码去添加输出语句,当需要的信息变多时,代码将不堪重负;日志系统只能打印某个级别的信息,无法精准的输出自己想要的信息,需...

ns3的概念概述与第一个例子

一、概念概述 Node 互联网的终端系统或主机,相当于一台裸机,不过我们只需要添加其网络功能即可,不需要操作系统之类的。Node抽象由C++类表示,用于管理模拟中计算设备表示的方法。 Application 应用程序,用来生成一些模拟的活动,比如发送数据到另一台电脑。 Channel 信道,各...

hexo部署个人博客

一、下载nodejs 官网下载nodejs,傻瓜式安装 最后查看node与npm node -v npm -v 然后用npm下载cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org 二、本地部署hexo代码 cnpm install -g hexo-cli #查看版本 hexo -v #在...