virtual network embedding
Project description
run method
from VNE_SIM.VNR import *
from VNE_SIM.SN import *
import VNE_SIM.algorithm as alg
SNpath=’topology\sn\sub100-570.txt’
vnrpath=’topology\newr-2000-0-20-0-25’
vnrnumber=2000
timeframe=2000
mysimulation=simulation(5,SNpath,vnrpath,vnrnumber)
mysimulation.init(timeframe)
def my_vne_alg():
v2sindex=[[v1,s1]]
ve2seindex=[[s1,s2,…]]
return True|False,v2sindex,ve2seindex
mysimulation.simulation_run(EA_VNR.EA_VNR_alg,EA_VNR.EA_VNR_ALG_NAME)
mysimulation.draw()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
VNE_SIM-2.65-py3-none-any.whl
(12.5 kB
view hashes)