Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. for demand in demands do
  2. for path in candidate paths do
  3. for core in cores do
  4. for link in path do
  5. Choose first core with enough number of free slices to serve demand
  6. then
  7. Calculate ranges of free slices on core
  8. Calculate common ranges of free slots on every link for path
  9. then
  10. Choose first range of slices
  11. for path in candidate paths do
  12. Select the shortest path
  13. then
  14. Select core with range of slices
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement