Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMaz committed Dec 11, 2021
1 parent f4f0d8f commit 6cb997e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Arch_Rationale.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# Contents
# Contents (Old Stuff - Outdated)
- [Traveling Salesman Problem](#Traveling-Salesman-Problem)
- [Knapsack Problem](#Knapsack-Problem)
- [Multiple Knapsack Problem](#Multiple-Knapsack-Problem)
Expand Down
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Transformer Pointer-Critic

This is a repo with the source code for the [Attention-Based Model and Deep Reinforcement Learning for Distribution of Event Processing Tasks](https://arxiv.org/abs/2112.03835). If this code is useful for your work, please cite our paper:

```
@inproceedings{Mazayev2021AttentionBasedMA,
title={Attention-Based Model and Deep Reinforcement Learning for Distribution of Event Processing Tasks},
author={Andriy Mazayev and Faroq Al-Tam and No{\'e}lia S. C. Correia},
year={2021}
}
```

## Contents

- [Problem Statement](#problem-statement)
Expand All @@ -26,7 +36,7 @@ pip install -r requirements.txt

For more info check Tensorflow's [installation guide](https://www.tensorflow.org/install/pip).

## Architecture Details
## Architecture

**Simple Overview**
![simple_arch](./media/paper_arch.png)
Expand All @@ -50,12 +60,12 @@ Three QoS are considered:
```python
array([
[ 0.00, 0.00, 0.00], -> Node EOS. Rejected `Rules` will be "placed" here
[ 0.70, 0.80, 0.40], -> Node 1. Remaining CPU: 0.70 | Remaining RAM: 0.80 | Remaining Storage: 0.40
[ 0.50, 0.40, 0.20], -> Node 2. Remaining CPU: 0.50 | Remaining RAM: 0.40 | Remaining Storage: 0.20
[ 0.70, 0.80, 0.40], -> Node 1. Available CPU: 0.70 | Available RAM: 0.80 | Available Storage: 0.40
[ 0.50, 0.40, 0.20], -> Node 2. Available CPU: 0.50 | Available RAM: 0.40 | Available Storage: 0.20
[ 0.10, 0.12, 0.17] -> Rule 1. Required CPU: 0.10 | Required RAM: 0.12 | Required Storage: 0.17
[ 0.18, 0.32, 0.16] -> Rule 2. Required CPU: 0.18 | Required RAM: 0.32 | Required Storage: 0.16
],
dtype=float32, shape=(5, 5))
dtype=float32, shape=(5, 3))
```

### Repo structure
Expand Down

0 comments on commit 6cb997e

Please sign in to comment.