Skip to main content

Reinforcement Learning Environment for User-centric Mobile Edge Computing

Project description

User-Centric Mobile Edge Computing Environment

A single/multi-agent environment for Reinforcement Learning

Table of Contents

About The Project

This environment is a mixed cooperative-competitive game, which focuses on the coordination of the agents involved. Agents navigate a world and offload computing tasks to the edge computing-enabled CPU via user-centric wireless transmission.

Getting Started

Installation

Install using pip

pip install UCMEC

Or to ensure that you have the latest version:

git clone https://github.com/qlt315/UCMEC_env.git
cd UCMEC_env
pip install -e .

Usage

Create environments with the gym framework. First import

import UCMEC

Then create an environment:

env = gym.make("MA_UCMEC_env") # for single-agent

or

env = gym.make("SA_UCMEC_env") # for multi-agent

Similarly to Gym, step() function in multi-agent environment is defined as

obs, reward, done, info = env.step(actions)

Where obs, rewards, done and info are LISTS of N items (where N is the number of agents). The i'th element of each list should be assigned to the i'th agent. action space is a LIST of N*M numbers that should be executed in that step.(M is the number of actions for each agent, like offloading decision, power allocation, etc.)

Please Cite

  1. The paper that first uses this implementation of single-agent UCMEC environment:
@ARTICLE{ucmec2022,
    author={Qin, Langtian and Lu, Hancheng and Wu, Feng},
    journal={IEEE Communications Magazine},   
    title={When User-Centric Network Meets Mobile Edge Computing: Challenges and Optimization},   
    year={2022},  
    volume={},  
    number={},
    pages={1-7},  
    doi={10.1109/MCOM.006.2200283}
    }

Contributing

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature)
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Langtian Qin - qlt315@mail.ustc.edu.cn

Project Link: https://github.com/qlt315/UCMEC_env

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

UCMEC-1.0.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

UCMEC-1.0.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file UCMEC-1.0.2.tar.gz.

File metadata

  • Download URL: UCMEC-1.0.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.4

File hashes

Hashes for UCMEC-1.0.2.tar.gz
Algorithm Hash digest
SHA256 af9cf69a45c125beb935a599a46f027a4e0d4dd64b6b272e0da0eaf113b6a5f7
MD5 8ae659190f84a25cebab7ea8b4251818
BLAKE2b-256 c5a34eb9fbb45034d967ef1e8e6b4f07030456b7bba92e976cf5df7c45003335

See more details on using hashes here.

File details

Details for the file UCMEC-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: UCMEC-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.4

File hashes

Hashes for UCMEC-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f15b561da96c6e2d6044d7770c5c654be0e3ce7e2cca36f4cc21ebf69b0945a
MD5 6e2f7ecb71c9a075539bb7f21cb1553c
BLAKE2b-256 3171e20a0b8c300e2cef09b2c42374353605dc8de7a73a55141b95859840dd18

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page