资源简介
GloMoSim网络仿真,是济州大学洛杉矶分校开发的网络仿真平台,非常适合对无线移动网络进行仿真。
代码片段和文件信息
/*
* GloMoSim is COPYRIGHTED software. Release 2.0 of GloMoSim is available
* at no cost to educational users only.
*
* Commercial use of this software requires a separate license. No cost
* evaluation licenses are available for such purposes; please contact
* info@scalable-solutions.com
*
* By obtaining copies of this and any other files that comprise GloMoSim2.0
* you the Licensee agree to abide by the following conditions and
* understandings with respect to the copyrighted software:
*
* 1.Permission to use copy and modify this software and its documentation
* for education and non-commercial research purposes only is hereby granted
* to Licensee provided that the copyright notice the original author‘s
* names and unit identification and this permission notice appear on all
* such copies and that no charge be made for such copies. Any entity
* desiring permission to use this software for any commercial or
* non-educational research purposes should contact:
*
* Professor Rajive Bagrodia
* University of California Los Angeles
* Department of Computer Science
* Box 951596
* 3532 Boelter Hall
* Los Angeles CA 90095-1596
* rajive@cs.ucla.edu
*
* 2.NO REPRESENTATIONS ARE MADE ABOUT THE SUITABILITY OF THE SOFTWARE FOR ANY
* PURPOSE. IT IS PROVIDED “AS IS“ WITHOUT EXPRESS OR IMPLIED WARRANTY.
*
* 3.Neither the software developers the Parallel Computing Lab UCLA or any
* affiliate of the UC system shall be liable for any damages suffered by
* Licensee from the use of this software.
*/
// Use the latest version of Parsec if this line causes a compiler error.
/*
* $Id: http_distribution.cv 1.1 2000/01/10 09:09:34 gandy Exp $
*
* This file contains C functions which approximate the functionality of
* Bruce Mah‘s CDF processing class functions. It also contains all of the
* CDFs that Bruce Mah has created from network traces.
*
* This code is adapted from the work published by Bruce Mah.
* B. Mah “An Empirical Model of HTTP Network Traffic“
* Proceedings of INFOCOM ‘97 Kobe Japan April 1997.
* http://www.ca.sandia.gov/~bmah/Papers/Http-Infocom.ps
*
* Send questions to Julian Hsu
*/
#include
#include
#include “http_distribution.h“
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
double DoubleDistEmpiricalIntegralInterpolate(
double x1 double x2 double y1 double y2 double x)
{
return ceil((y1 + ((y2 - y1) / (x2 - x1)) * (x - x1)));
}
double DoubleDistEmpiricalContinuousInterpolate(
double x1 double x2 double y1 double y2 double x)
{
return (y1 + ((y2 - y1) / (x2 - x1)) * (x - x1));
}
int DoubleDistFindIndex(const DoubleDistElement *array
const long count double value)
{
int top = count - 1
bottom = 0
current;
#ifdef DEBUG
printf(“ findindex start value = %f ind0.val = %f\n“ value array[0].cdf
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2000-12-15 22:12 .\glomosim-2.0\
文件 3265 2000-12-14 15:24 .\glomosim-2.0\LICENSE.txt
目录 0 2000-12-15 22:12 .\glomosim-2.0\glomosim\
目录 0 2000-12-15 22:11 .\glomosim-2.0\glomosim\application\
文件 7987 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\APPLICATION_README
文件 9476 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\app_util.h
文件 16040 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\app_util.pc
文件 25408 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\application.pc
文件 13382 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\bellmanford.h
文件 29176 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\bellmanford.pc
文件 5966 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\cbr_client.h
文件 19183 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\cbr_client.pc
文件 4658 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\cbr_server.h
文件 12305 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\cbr_server.pc
文件 6332 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\fisheye.h
文件 29313 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\fisheye.pc
文件 6828 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\ftp_client.h
文件 18677 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\ftp_client.pc
文件 5042 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\ftp_server.h
文件 14115 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\ftp_server.pc
文件 6669 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\gen_ftp_client.h
文件 20317 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\gen_ftp_client.pc
文件 4511 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\gen_ftp_server.h
文件 14235 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\gen_ftp_server.pc
文件 11982 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\http_client.h
文件 40120 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\http_client.pc
文件 171398 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\http_distribution.c
文件 2350 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\http_distribution.h
文件 6872 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\http_server.h
文件 21254 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\http_server.pc
文件 2798 2000-12-15 22:10 .\glomosim-2.0\glomosim\application\nsdsdv.h
............此处省略388个文件信息
评论
共有 条评论