⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mas_ams.h

📁 Bubble Oscillation Algorithm. It is used to implement balancing load traffic, which is similar to wh
💻 H
字号:
//////////////////////////////////////////////////////////////////////
//  Title:        Geographic Load Balancing for Cellular Networks 
//		          by emulating the behavior of air bubbles 
//
//  Description:  This project is for dynamically balancing the traffic load 
//                  over a cellular network with fully adaptive antennas by 
//		    emulating the behaviours of a bubble array. Since 
//                  we assume fully adaptive base station antenna in this  
//                  version, antenna agent and simulator are not needed. 
//
//  Copyright:    Copyright (c) 2003
//  Company:      Elec. Eng. Dept., Queen Mary, University of London
//  @author       Lin Du (lin.du@elec.qmul.ac.uk)
//  @version      1.0
//
//////////////////////////////////////////////////////////////////////

// MAS_AMS.h: interface for the MAS_AMS class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(MAS_AMS_H_INCLUDED)
#define MAS_AMS_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "TestBed.h"

class MAS_AMS {
public:
	MAS_AMS();
	virtual ~MAS_AMS();

  // start MAS, return the oscillation number
  int startMAS(char *scen_file);

  // Recover the env from saved file
  int recover(char *file_name);

  // Save necessary info. into a file in order to recover from here.
  void checkpoint(int scen_num, char *file_name);

	// friend class
  friend class TestBed;

private:
  TestBed *tb;
};

#endif // !defined(MAS_AMS_H_INCLUDED)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -