LEACH 源代码

LEACH协议,全称是“低功耗自适应集簇分层型协议”(LowEnergyAdaptiveClusteringHierarchy),是一种无线传感器网络路由协议。基于LEACH协议的算法,称为LEACH算法。[1]

收录资源 24 份 全站深度检索
源码文件

#include #define CS_MAX_CODE 999 class LeachWirelessPhy : public WirelessPhy { private: double pktEnergy(double pt,…

源码文件

#include "leach-wireless-phy.h" static class LeachWirelessPhyClass : public TclClass { public: LeachWirelessPhyClass() : TclCl…

源码文件

############################################################################ # # This code was developed as part of the MIT uAMPS …

源码文件

############################################################################ # # This code was developed as part of the MIT uAMPS …

源码文件

Build Log --------------------Configuration: WSN - Win32 Debug-------------------- Command Lines Creating temporary file "C…

源码文件

#include "StdAfx.h" #include #include #include #include #include "Leach.h" using namespace std; Leach::Leach(…

源码文件

// WSN.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "Leach.h" int _tmain(int argc, _TCHAR* argv[]) { // P …

源码文件

#pragma once #include #include "Node.h" class Leach { private: unsigned int TimeLapse; //推举簇头的时差,单位ms unsi…

源码文件

############################################################################ # # This code was developed as part of the MIT uAMP…