示例#1
0
 def config_groups(cls):
     emulator_len = len(cls.emulator_config)
     config_len = len(cls.configurations())
     return [
         ConfigGroup("Platform Attributes", 1, emulator_len),
         ConfigGroup("NEM Parameters", emulator_len + 1, config_len)
     ]
示例#2
0
文件: emanemodel.py 项目: yrs1/core
 def config_groups(cls):
     mac_len = len(cls.mac_config)
     phy_len = len(cls.phy_config) + mac_len
     config_len = len(cls.configurations())
     return [
         ConfigGroup("MAC Parameters", 1, mac_len),
         ConfigGroup("PHY Parameters", mac_len + 1, phy_len),
         ConfigGroup("External Parameters", phy_len + 1, config_len)
     ]
示例#3
0
文件: commeffect.py 项目: yrs1/core
 def config_groups(cls):
     return [
         ConfigGroup("CommEffect SHIM Parameters", 1,
                     len(cls.configurations()))
     ]
示例#4
0
文件: mobility.py 项目: yrs1/core
 def config_groups(cls):
     return [
         ConfigGroup("ns-2 Mobility Script Parameters", 1, len(cls.configurations()))
     ]
示例#5
0
文件: mobility.py 项目: yrs1/core
 def config_groups(cls):
     return [
         ConfigGroup("Basic Range Parameters", 1, len(cls.configurations()))
     ]
示例#6
0
 def config_groups(cls):
     return [
         ConfigGroup("Bypass Parameters", 1, 1),
     ]