Commit c31a8f61 authored by Gonzalo Belcredi's avatar Gonzalo Belcredi

importlib

parent 456ff5f0
import numpy as np
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
class Channel:
def __init__(self, ChannelId, NumberNodes, Capacity, SlopeLin, SlopeSat):
self.Capacity = Capacity
......
......@@ -5,11 +5,8 @@ from time import sleep
import objects
import node
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
import utils
StorageObj = objects.StorageObj
......
import numpy as np
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
import math
import objects
import packet
......
......@@ -2,10 +2,8 @@ import channel
import storage
import stats
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
import numpy as np
......
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
import numpy as np
......
import random
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
import numpy as np
......
import importlib
try:
importlib.reload(config)
except:
import config
import config
importlib.reload(config)
import numpy as np
import math
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment