|
Algorithm 1 PA-DRL training algorithm |
|
Input: SFC request with the requirement of VNFs and virtual links |
|
Output: Deployment and backup locations for each VNF of SFC |
| Initialize the neural network with the parameter , and clear the replay memory buffer . |
|
whiledo
|
| Calculate SFC priority level as (6) |
| Calculate node priority level as (7) |
| Determine action set by Table 1
|
| Select action by method |
| Calculate reward as (10) |
| Store the sample in memory
|
| Randomly select samples from then calculate as (14) |
| Train the network and update by using back propagation of the loss function |
| end while |