mas_ams.h

来自「Bubble Oscillation Algorithm. It is used」· C头文件 代码 · 共 53 行

H
53
字号
//////////////////////////////////////////////////////////////////////
//  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 + =
减小字号Ctrl + -
显示快捷键?