Research Article

Remote and Rural Connectivity: Infrastructure and Resource Sharing Principles

Algorithm 1

DRC-RS algorithm pseudocode.
Input:   (current state)
Output: (control input vector)
01: Parameter initialization
   
02: for ( within the prediction horizon of depth ) do
   - := forecast the workload
   - := forecast the energy
   -
03: for (each in ) do
    - generate all reachable states
    -
04:    for (each in ) do
     - calculate the corresponding
     taking into account of , and from
     end for
    end for
   end for
05: - obtain a sequence of reachable states yielding
   the best system input
06:  control leading from to
07: Return