content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Solution(object): def powerOfTwoBitManipulation(self, n): """ Time - O(1) Space - O(1) :type n: integer :rtype: integer """ if n < 1: return False while n % 2 == 0: n >>= 1 return n == 1 def powerOfTwoBitManipulation2(self, n): """ Time - O(1) Space - O(1) :type n: integer :rtype: integer """ return n > 0 and not n & (n - 1)
class Solution(object): def power_of_two_bit_manipulation(self, n): """ Time - O(1) Space - O(1) :type n: integer :rtype: integer """ if n < 1: return False while n % 2 == 0: n >>= 1 return n == 1 def power_of_two_bit_manipulation2(self, n): """ Time - O(1) Space - O(1) :type n: integer :rtype: integer """ return n > 0 and (not n & n - 1)
if __name__ == '__main__': # with open("input/12.test") as f: with open("input/12.txt") as f: lines = f.read().split("\n") pots = lines[0].split(":")[1].strip() rules = dict() for line in lines[2:]: [k, v] = line.split("=>") k = k.strip() v = v.strip() rules[k] = v print(rules) ngen = 20 print(pots) pots = list("..." + pots + "............................................") for n in range(ngen): npots = list(pots) for i in range(0, len(pots)-5): if i == 0: sub = [".", "."] + pots[:3] elif i == 1: sub = ["."] + pots[0:4] else: sub = pots[i-2:i+3] npots[i] = rules.get("".join(sub), ".") pots = npots print("%2d:" % (n+1), "".join(pots)) ans = 0 for i in range(len(pots)): ans += (i-3) if pots[i] == "#" else 0 print(ans)
if __name__ == '__main__': with open('input/12.txt') as f: lines = f.read().split('\n') pots = lines[0].split(':')[1].strip() rules = dict() for line in lines[2:]: [k, v] = line.split('=>') k = k.strip() v = v.strip() rules[k] = v print(rules) ngen = 20 print(pots) pots = list('...' + pots + '............................................') for n in range(ngen): npots = list(pots) for i in range(0, len(pots) - 5): if i == 0: sub = ['.', '.'] + pots[:3] elif i == 1: sub = ['.'] + pots[0:4] else: sub = pots[i - 2:i + 3] npots[i] = rules.get(''.join(sub), '.') pots = npots print('%2d:' % (n + 1), ''.join(pots)) ans = 0 for i in range(len(pots)): ans += i - 3 if pots[i] == '#' else 0 print(ans)
expected_output = { "ACL_TEST": { "aces": { "80": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.7.0 0.0.0.255": { "source_network": "10.4.7.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "80", }, "50": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.4.0 0.0.0.255": { "source_network": "10.4.4.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "50", }, "10": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.69.188.0 0.0.0.255": { "source_network": "10.69.188.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "10", }, "130": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.12.0 0.0.0.255": { "source_network": "10.4.12.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "130", }, "90": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.8.0 0.0.0.255": { "source_network": "10.4.8.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "90", }, "40": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.3.0 0.0.0.255": { "source_network": "10.4.3.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "40", }, "150": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.14.0 0.0.0.255": { "source_network": "10.4.14.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "150", }, "30": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.2.0 0.0.0.255": { "source_network": "10.4.2.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "30", }, "120": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.11.0 0.0.0.255": { "source_network": "10.4.11.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "120", }, "100": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.9.0 0.0.0.255": { "source_network": "10.4.9.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "100", }, "170": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.16.0 0.0.0.255": { "source_network": "10.4.16.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "170", }, "160": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.15.0 0.0.0.255": { "source_network": "10.4.15.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "160", }, "20": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.1.0 0.0.0.255": { "source_network": "10.4.1.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "20", }, "70": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.6.0 0.0.0.255": { "source_network": "10.4.6.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "70", }, "110": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.10.0 0.0.0.255": { "source_network": "10.4.10.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "110", }, "140": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.13.0 0.0.0.255": { "source_network": "10.4.13.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "140", }, "60": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.5.0 0.0.0.255": { "source_network": "10.4.5.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "60", }, }, "type": "ipv4-acl-type", "acl_type": "extended", "name": "ACL_TEST", } }
expected_output = {'ACL_TEST': {'aces': {'80': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.7.0 0.0.0.255': {'source_network': '10.4.7.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '80'}, '50': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.4.0 0.0.0.255': {'source_network': '10.4.4.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '50'}, '10': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.69.188.0 0.0.0.255': {'source_network': '10.69.188.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '10'}, '130': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.12.0 0.0.0.255': {'source_network': '10.4.12.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '130'}, '90': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.8.0 0.0.0.255': {'source_network': '10.4.8.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '90'}, '40': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.3.0 0.0.0.255': {'source_network': '10.4.3.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '40'}, '150': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.14.0 0.0.0.255': {'source_network': '10.4.14.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '150'}, '30': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.2.0 0.0.0.255': {'source_network': '10.4.2.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '30'}, '120': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.11.0 0.0.0.255': {'source_network': '10.4.11.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '120'}, '100': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.9.0 0.0.0.255': {'source_network': '10.4.9.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '100'}, '170': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.16.0 0.0.0.255': {'source_network': '10.4.16.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '170'}, '160': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.15.0 0.0.0.255': {'source_network': '10.4.15.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '160'}, '20': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.1.0 0.0.0.255': {'source_network': '10.4.1.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '20'}, '70': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.6.0 0.0.0.255': {'source_network': '10.4.6.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '70'}, '110': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.10.0 0.0.0.255': {'source_network': '10.4.10.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '110'}, '140': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.13.0 0.0.0.255': {'source_network': '10.4.13.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '140'}, '60': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.5.0 0.0.0.255': {'source_network': '10.4.5.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '60'}}, 'type': 'ipv4-acl-type', 'acl_type': 'extended', 'name': 'ACL_TEST'}}
# %% ####################################### def dict_creation_demo(): print( "We can convert a list of tuples into Dictionary Items: dict( [('key1','val1'), ('key2', 'val2')] " ) was_tuple = dict([("key1", "val1"), ("key2", "val2")]) print(f"This was a list of Tuples: {was_tuple}\n") print( "We can convert a list of lists into Dictionary Items: dict( [['key1','val1'], ['key2', 'val2']] " ) was_list = dict([["key1", "val1"], ["key2", "val2"]]) print(f"This was a list of Lists: {was_list} ")
def dict_creation_demo(): print("We can convert a list of tuples into Dictionary Items: dict( [('key1','val1'), ('key2', 'val2')] ") was_tuple = dict([('key1', 'val1'), ('key2', 'val2')]) print(f'This was a list of Tuples: {was_tuple}\n') print("We can convert a list of lists into Dictionary Items: dict( [['key1','val1'], ['key2', 'val2']] ") was_list = dict([['key1', 'val1'], ['key2', 'val2']]) print(f'This was a list of Lists: {was_list} ')
def gcd(a,b): assert a>= a and b >= 0 and a + b > 0 while a > 0 and b > 0: if a >= b: a = a % b else: b = b % a return max(a,b) def egcd(a, b): x,y, u,v = 0,1, 1,0 while a != 0: q, r = b//a, b%a m, n = x-u*q, y-v*q b,a, x,y, u,v = a,r, u,v, m,n gcd = b return gcd, x, y def diophantine(a,b,c): assert c % gcd(a, b) == 0 (d, u, v) = egcd(a,b) x = u * (c // gcd(a,b)) y = v * (c//gcd(a,b)) return (x,y) def divide(a,b,n): assert n > 1 and a > 0 and gcd(a,n) == 1 t,s = diophantine(n,a,1) for i in range(n): if b * s % n == i % n: return i def ChineseRemainderTheorem(n1, r1, n2, r2): (r,x, y) = egcd(n1, n2) n = (r1 * n2 * y + r2 * n1 * x) n = n % (n1 * n2) return n
def gcd(a, b): assert a >= a and b >= 0 and (a + b > 0) while a > 0 and b > 0: if a >= b: a = a % b else: b = b % a return max(a, b) def egcd(a, b): (x, y, u, v) = (0, 1, 1, 0) while a != 0: (q, r) = (b // a, b % a) (m, n) = (x - u * q, y - v * q) (b, a, x, y, u, v) = (a, r, u, v, m, n) gcd = b return (gcd, x, y) def diophantine(a, b, c): assert c % gcd(a, b) == 0 (d, u, v) = egcd(a, b) x = u * (c // gcd(a, b)) y = v * (c // gcd(a, b)) return (x, y) def divide(a, b, n): assert n > 1 and a > 0 and (gcd(a, n) == 1) (t, s) = diophantine(n, a, 1) for i in range(n): if b * s % n == i % n: return i def chinese_remainder_theorem(n1, r1, n2, r2): (r, x, y) = egcd(n1, n2) n = r1 * n2 * y + r2 * n1 * x n = n % (n1 * n2) return n
asSignedInt = lambda s: -int(0x7fffffff&int(s)) if bool(0x80000000&int(s)) else int(0x7fffffff&int(s)) # TODO: swig'ged HIPS I/O unsigned int -> PyInt_AsLong vice PyLong_AsInt; OverflowError: long int too large to convert to int ZERO_STATUS = 0x00000000 def SeparatePathFromPVDL(pathToPVDL,normalizeStrs=False): # normalize --> '/' delimiter and all lowercase letters if pathToPVDL.find('\\')!=-1: # get path delimiter dsep='\\' pathToPVDL=pathToPVDL.replace('\\','/') #in the off chance there are mixed delimiters - standardize on '/' for the split else: dsep='/' pathToPVDLlist=pathToPVDL.split('/') if len(pathToPVDLlist) > 4: # check for at least a <prefix>/p/v/d/l if normalizeStrs: # [pathTo,p,v,d,l] (pathTo w/fwd-slashes & all lower case) pathToAndPVDL=map(lambda dirStr: dirStr.lower(), pathToPVDLlist[-4:]) pathToAndPVDL.insert(0,'/'.join(pathToPVDLlist[:-4]).lower()) else: pathToAndPVDL=pathToPVDLlist[-4:] # [pathTo,p,v,d,l] (pathTo w/no change in slash type & mixed case) pathToAndPVDL.insert(0,dsep.join(pathToPVDLlist[:-4])) else: # no container directory for p/v/d/l directory; invalid HDCS_DATA_PATH pathToAndPVDL=None return pathToAndPVDL
as_signed_int = lambda s: -int(2147483647 & int(s)) if bool(2147483648 & int(s)) else int(2147483647 & int(s)) zero_status = 0 def separate_path_from_pvdl(pathToPVDL, normalizeStrs=False): if pathToPVDL.find('\\') != -1: dsep = '\\' path_to_pvdl = pathToPVDL.replace('\\', '/') else: dsep = '/' path_to_pvd_llist = pathToPVDL.split('/') if len(pathToPVDLlist) > 4: if normalizeStrs: path_to_and_pvdl = map(lambda dirStr: dirStr.lower(), pathToPVDLlist[-4:]) pathToAndPVDL.insert(0, '/'.join(pathToPVDLlist[:-4]).lower()) else: path_to_and_pvdl = pathToPVDLlist[-4:] pathToAndPVDL.insert(0, dsep.join(pathToPVDLlist[:-4])) else: path_to_and_pvdl = None return pathToAndPVDL
df12.interaction(['A','B'], pairwise=False, max_factors=3, min_occurrence=1) # A_B # ------- # foo_one # bar_one # foo_two # other # foo_two # other # foo_one # other # # [8 rows x 1 column]
df12.interaction(['A', 'B'], pairwise=False, max_factors=3, min_occurrence=1)
# Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ def encrypt_this(text: str) -> str: """ Encrypts each word in the message using the following rules: * The first letter needs to be converted to its ASCII code. * The second letter needs to be switched with the last letter Keepin' it simple: There are no special characters in input. :param text: a string containing space separated words :return: secret messages which can be deciphered by the "Decipher this!" kata """ if not text: return "" results = list() for word in text.split(' '): if len(word) == 1: results.append("{}".format(ord(word[0]))) elif len(word) == 2: results.append("{}{}".format(ord(word[0]), word[-1])) else: results.append("{}{}{}{}".format( ord(word[0]), word[-1], word[2:-1], word[1])) return ' '.join(results)
def encrypt_this(text: str) -> str: """ Encrypts each word in the message using the following rules: * The first letter needs to be converted to its ASCII code. * The second letter needs to be switched with the last letter Keepin' it simple: There are no special characters in input. :param text: a string containing space separated words :return: secret messages which can be deciphered by the "Decipher this!" kata """ if not text: return '' results = list() for word in text.split(' '): if len(word) == 1: results.append('{}'.format(ord(word[0]))) elif len(word) == 2: results.append('{}{}'.format(ord(word[0]), word[-1])) else: results.append('{}{}{}{}'.format(ord(word[0]), word[-1], word[2:-1], word[1])) return ' '.join(results)
# Copyright 2021 The Cross-Media Measurement Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ Repository rules/macros for Protobuf. """ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") COM_GOOGLE_PROTOBUF_VERSION = "3.19.1" _URL_TEMPLATE = "https://github.com/protocolbuffers/protobuf/releases/download/v%s/protobuf-all-%s.tar.gz" def com_google_protobuf_repo(): http_archive( name = "com_google_protobuf", sha256 = "80631d5a18d51daa3a1336e340001ad4937e926762f21144c62d26fe2a8d71fe", strip_prefix = "protobuf-" + COM_GOOGLE_PROTOBUF_VERSION, url = _URL_TEMPLATE % (COM_GOOGLE_PROTOBUF_VERSION, COM_GOOGLE_PROTOBUF_VERSION), )
""" Repository rules/macros for Protobuf. """ load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive') com_google_protobuf_version = '3.19.1' _url_template = 'https://github.com/protocolbuffers/protobuf/releases/download/v%s/protobuf-all-%s.tar.gz' def com_google_protobuf_repo(): http_archive(name='com_google_protobuf', sha256='80631d5a18d51daa3a1336e340001ad4937e926762f21144c62d26fe2a8d71fe', strip_prefix='protobuf-' + COM_GOOGLE_PROTOBUF_VERSION, url=_URL_TEMPLATE % (COM_GOOGLE_PROTOBUF_VERSION, COM_GOOGLE_PROTOBUF_VERSION))
# import cv2 def text2binary(string): """ Converts text to binary string. >>> text = 'Hello' >>> binary_text = text2binary(text) >>> print(binary_text) '10010001100101110110011011001101111' """ # creates a list of binary representation of each character # and joins the list to create full binary string output = ''.join('{0:08b}'.format(ord(x), 'b') for x in string) return output def image_to_binary(data): """ Converts an grayscale image to binary string. >>> import cv2 >>> from utilities import * >>> data = cv2.imread("small_image.png", 2) >>> data.shape (11, 12) >>> binary_string = image_to_binary(data) >>> print(binary_string) 000000011...0000000 """ # threshold to remove outliers ret, bw_img = cv2.threshold(data,127,255,cv2.THRESH_BINARY) # result string to store binary representation of each pixel as string img_str = '' # convert every pixel to binary string and adds them to result string for i in range(bw_img.shape[0]): for j in range(bw_img.shape[1]): # create and append a constant length binary string of the pixel img_str += '{0:07b}'.format(bw_img[i][j]) return img_str
def text2binary(string): """ Converts text to binary string. >>> text = 'Hello' >>> binary_text = text2binary(text) >>> print(binary_text) '10010001100101110110011011001101111' """ output = ''.join(('{0:08b}'.format(ord(x), 'b') for x in string)) return output def image_to_binary(data): """ Converts an grayscale image to binary string. >>> import cv2 >>> from utilities import * >>> data = cv2.imread("small_image.png", 2) >>> data.shape (11, 12) >>> binary_string = image_to_binary(data) >>> print(binary_string) 000000011...0000000 """ (ret, bw_img) = cv2.threshold(data, 127, 255, cv2.THRESH_BINARY) img_str = '' for i in range(bw_img.shape[0]): for j in range(bw_img.shape[1]): img_str += '{0:07b}'.format(bw_img[i][j]) return img_str
def read(text_path): texts = [] with open(text_path) as f: for line in f.readlines(): texts.append(line.strip()) return texts def corpus_perplexity(corpus_path, model): texts = read(corpus_path) N = sum(len(x.split()) for x in texts) corpus_perp = 1 for text in texts: sen_perp = model.perplexity(text) sen_perp_normed = sen_perp ** (len(text.split())/N) corpus_perp *= sen_perp_normed return corpus_perp
def read(text_path): texts = [] with open(text_path) as f: for line in f.readlines(): texts.append(line.strip()) return texts def corpus_perplexity(corpus_path, model): texts = read(corpus_path) n = sum((len(x.split()) for x in texts)) corpus_perp = 1 for text in texts: sen_perp = model.perplexity(text) sen_perp_normed = sen_perp ** (len(text.split()) / N) corpus_perp *= sen_perp_normed return corpus_perp
################################################ # result postprocessing utils def divide_list_chunks(list, size_list): assert(sum(size_list) >= len(list)) if sum(size_list) < len(list): size_list.append(len(list) - sum(size_list)) for j in range(len(size_list)): cur_id = sum(size_list[0:j]) yield list[cur_id:cur_id+size_list[j]] # temp... really ugly... def divide_nested_list_chunks(list, size_lists): # assert(sum(size_list) >= len(list)) cur_id = 0 output_list = [] for sl in size_lists: sub_list = {} for proc_name, jt_num in sl.items(): sub_list[proc_name] = list[cur_id:cur_id+jt_num] cur_id += jt_num output_list.append(sub_list) return output_list
def divide_list_chunks(list, size_list): assert sum(size_list) >= len(list) if sum(size_list) < len(list): size_list.append(len(list) - sum(size_list)) for j in range(len(size_list)): cur_id = sum(size_list[0:j]) yield list[cur_id:cur_id + size_list[j]] def divide_nested_list_chunks(list, size_lists): cur_id = 0 output_list = [] for sl in size_lists: sub_list = {} for (proc_name, jt_num) in sl.items(): sub_list[proc_name] = list[cur_id:cur_id + jt_num] cur_id += jt_num output_list.append(sub_list) return output_list
"""Constants for the Sure Petcare component.""" DOMAIN = "petcare" DEFAULT_DEVICE_CLASS = "lock" # sure petcare api SURE_API_TIMEOUT = 60 # flap BATTERY_ICON = "mdi:battery" SURE_BATT_VOLTAGE_FULL = 1.6 # voltage SURE_BATT_VOLTAGE_LOW = 1.25 # voltage SURE_BATT_VOLTAGE_DIFF = SURE_BATT_VOLTAGE_FULL - SURE_BATT_VOLTAGE_LOW
"""Constants for the Sure Petcare component.""" domain = 'petcare' default_device_class = 'lock' sure_api_timeout = 60 battery_icon = 'mdi:battery' sure_batt_voltage_full = 1.6 sure_batt_voltage_low = 1.25 sure_batt_voltage_diff = SURE_BATT_VOLTAGE_FULL - SURE_BATT_VOLTAGE_LOW
class Board: width = 3 height = 3 # Board Index # 0 | 1 | 2 # 3 | 4 | 5 # 6 | 7 | 8 def __init__(self): """Instantiates a board object.""" # None is empty, 1 is player 1, 2 is player 2. self._board = [None] * (self.width * self.height) def _check_if_board_is_empty(self): if 0 in self._board: return False return True def _check_indexes(self, l): # If the set is 2 elements, no winner. # If the set is 1 element but with None, then no winner. check = {self._board[l[0]], self._board[l[1]], self._board[l[2]]} if len(check) == 1 and list(check)[0] is not None: return True return False def _check_for_diagonal_win(self): """Checks diagonals for winning player""" # Check UL to LR is_winner = self._check_indexes([0, 4, 8]) if is_winner: return True # Check UR to LL is_winner = self._check_indexes([2, 4, 6]) if is_winner: return True # No winner. return False def _check_for_horizontal_win(self): # Check row 1 is_winner = self._check_indexes([0, 1, 2]) if is_winner: return True # Check row 2 is_winner = self._check_indexes([3, 4, 5]) if is_winner: return True # Check row 3 is_winner = self._check_indexes([6, 7, 8]) if is_winner: return True # No winner. return False def _check_for_vertical_win(self): # Check column 1 is_winner = self._check_indexes([0, 3, 6]) if is_winner: return True # Check row 2 is_winner = self._check_indexes([1, 4, 7]) if is_winner: return True # Check row 3 is_winner = self._check_indexes([2, 5, 8]) if is_winner: return True # No winner. return False class Players: n = 2 # 2 players current_player = 1 # 1 for player 1, 2 for player 2. def next_player(self): """Switches players""" if self.current_player == 1: self.current_player = 2 else: self.current_player = 1
class Board: width = 3 height = 3 def __init__(self): """Instantiates a board object.""" self._board = [None] * (self.width * self.height) def _check_if_board_is_empty(self): if 0 in self._board: return False return True def _check_indexes(self, l): check = {self._board[l[0]], self._board[l[1]], self._board[l[2]]} if len(check) == 1 and list(check)[0] is not None: return True return False def _check_for_diagonal_win(self): """Checks diagonals for winning player""" is_winner = self._check_indexes([0, 4, 8]) if is_winner: return True is_winner = self._check_indexes([2, 4, 6]) if is_winner: return True return False def _check_for_horizontal_win(self): is_winner = self._check_indexes([0, 1, 2]) if is_winner: return True is_winner = self._check_indexes([3, 4, 5]) if is_winner: return True is_winner = self._check_indexes([6, 7, 8]) if is_winner: return True return False def _check_for_vertical_win(self): is_winner = self._check_indexes([0, 3, 6]) if is_winner: return True is_winner = self._check_indexes([1, 4, 7]) if is_winner: return True is_winner = self._check_indexes([2, 5, 8]) if is_winner: return True return False class Players: n = 2 current_player = 1 def next_player(self): """Switches players""" if self.current_player == 1: self.current_player = 2 else: self.current_player = 1
class Hash: def __init__(self): self.m = 5 # cantidad de posiciones iniciales self.min = 20 # porcentaje minimo a ocupar self.max = 80 # porcentaje maximo a ocupar self.n = 0 self.h = [] self.init() def division(self, k): return int(k % self.m) def linear(self, k): return ((k + 1) % self.m) def init(self): self.n = 0 self.h = [] for i in range(int(self.m)): self.h.append(None) for i in range(int(self.m)): self.h[i] = -1 i += 1 def insert(self, k): i = int(self.division(k)) while (self.h[int(i)] != -1): i = self.linear(i) self.h[int(i)] = k self.n += 1 self.rehashing() def rehashing(self): if ((self.n * 100 / self.m) >= self.max): # array copy temp = self.h self.print() # rehashing mprev = self.m self.m = self.n * 100 / self.min self.init() for i in range(int(mprev)): if (temp[i] != -1): self.insert(temp[i]) i += 1 else: self.print() def print(self): cadena = "" cadena += "[" for i in range(int(self.m)): cadena += " " + str(self.h[i]) i += 1 cadena += " ] " + str((self.n * 100 / self.m)) + "%" print(cadena) t = Hash() t.insert(5) t.insert(10) t.insert(15) t.insert(20) t.insert(25) t.insert(30) t.insert(35) t.insert(40) t.insert(45) t.insert(50) t.insert(55) t.insert(60) t.insert(65) t.insert(70) t.insert(75) t.insert(80)
class Hash: def __init__(self): self.m = 5 self.min = 20 self.max = 80 self.n = 0 self.h = [] self.init() def division(self, k): return int(k % self.m) def linear(self, k): return (k + 1) % self.m def init(self): self.n = 0 self.h = [] for i in range(int(self.m)): self.h.append(None) for i in range(int(self.m)): self.h[i] = -1 i += 1 def insert(self, k): i = int(self.division(k)) while self.h[int(i)] != -1: i = self.linear(i) self.h[int(i)] = k self.n += 1 self.rehashing() def rehashing(self): if self.n * 100 / self.m >= self.max: temp = self.h self.print() mprev = self.m self.m = self.n * 100 / self.min self.init() for i in range(int(mprev)): if temp[i] != -1: self.insert(temp[i]) i += 1 else: self.print() def print(self): cadena = '' cadena += '[' for i in range(int(self.m)): cadena += ' ' + str(self.h[i]) i += 1 cadena += ' ] ' + str(self.n * 100 / self.m) + '%' print(cadena) t = hash() t.insert(5) t.insert(10) t.insert(15) t.insert(20) t.insert(25) t.insert(30) t.insert(35) t.insert(40) t.insert(45) t.insert(50) t.insert(55) t.insert(60) t.insert(65) t.insert(70) t.insert(75) t.insert(80)
with open("English dictionary.txt", "r") as input_file, open("English dictionary.out", "w") as output_file: row_id = 2 for line in input_file: line = line.strip() output_file.write("%d,%s\n" % (row_id, line.split(",")[1])) row_id += 1
with open('English dictionary.txt', 'r') as input_file, open('English dictionary.out', 'w') as output_file: row_id = 2 for line in input_file: line = line.strip() output_file.write('%d,%s\n' % (row_id, line.split(',')[1])) row_id += 1
def test_cat1(): assert True def test_cat2(): assert True def test_cat3(): assert True def test_cat4(): assert True def test_cat5(): assert True def test_cat6(): assert True def test_cat7(): assert True def test_cat8(): assert True
def test_cat1(): assert True def test_cat2(): assert True def test_cat3(): assert True def test_cat4(): assert True def test_cat5(): assert True def test_cat6(): assert True def test_cat7(): assert True def test_cat8(): assert True
# This work is licensed under the terms of the MIT license. # For a copy, see <https://opensource.org/licenses/MIT>. """ This module provides implementation for GlobalRoutePlannerDAO """ class GlobalRoutePlannerDAO(object): """ This class is the data access layer for fetching data from the carla server instance for GlobalRoutePlanner """ def __init__(self, wmap): """ Constructor wmap : carl world map object """ self._wmap = wmap def get_topology(self): """ Accessor for topology. This function retrieves topology from the server as a list of road segments as pairs of waypoint objects, and processes the topology into a list of dictionary objects. return: list of dictionary objects with the following attributes entry - (x,y) of entry point of road segment exit - (x,y) of exit point of road segment path - list of waypoints separated by 1m from entry to exit intersection - Boolean indicating if the road segment is an intersection """ topology = [] # Retrieving waypoints to construct a detailed topology for segment in self._wmap.get_topology(): x1 = segment[0].transform.location.x y1 = segment[0].transform.location.y x2 = segment[1].transform.location.x y2 = segment[1].transform.location.y seg_dict = dict() seg_dict['entry'] = (x1, y1) seg_dict['exit'] = (x2, y2) seg_dict['path'] = [] wp1 = segment[0] wp2 = segment[1] seg_dict['intersection'] = True if wp1.is_intersection else False endloc = wp2.transform.location w = wp1.next(1)[0] while w.transform.location.distance(endloc) > 1: x = w.transform.location.x y = w.transform.location.y seg_dict['path'].append((x, y)) w = w.next(1)[0] topology.append(seg_dict) return topology
""" This module provides implementation for GlobalRoutePlannerDAO """ class Globalrouteplannerdao(object): """ This class is the data access layer for fetching data from the carla server instance for GlobalRoutePlanner """ def __init__(self, wmap): """ Constructor wmap : carl world map object """ self._wmap = wmap def get_topology(self): """ Accessor for topology. This function retrieves topology from the server as a list of road segments as pairs of waypoint objects, and processes the topology into a list of dictionary objects. return: list of dictionary objects with the following attributes entry - (x,y) of entry point of road segment exit - (x,y) of exit point of road segment path - list of waypoints separated by 1m from entry to exit intersection - Boolean indicating if the road segment is an intersection """ topology = [] for segment in self._wmap.get_topology(): x1 = segment[0].transform.location.x y1 = segment[0].transform.location.y x2 = segment[1].transform.location.x y2 = segment[1].transform.location.y seg_dict = dict() seg_dict['entry'] = (x1, y1) seg_dict['exit'] = (x2, y2) seg_dict['path'] = [] wp1 = segment[0] wp2 = segment[1] seg_dict['intersection'] = True if wp1.is_intersection else False endloc = wp2.transform.location w = wp1.next(1)[0] while w.transform.location.distance(endloc) > 1: x = w.transform.location.x y = w.transform.location.y seg_dict['path'].append((x, y)) w = w.next(1)[0] topology.append(seg_dict) return topology
# print("Hello") # print("Hello") # print("Hello") # i = 1 # so caller iterator, or index if you will # while i < 5: # while loops are for indeterminate time # print("Hello No.", i) # print(f"Hello Number {i}") # i += 1 # i = i + 1 # we will have a infinite loop without i += 1, there is no i++ # # print("Always happens once loop is finished") # print("i is now", i) # # i = 10 # while i >= 0: # print("Going down the floor:", i) # # i could do more stuff # if i == 0: # print("Cool we reached the garage") # i -= 1 # i = i - 1 # print("Whew we are done with this i:", i) # # # total = 0 # do not use sum as name for variable # i = 20 # print(f"BEFORE loop i is {i} total is {total}") # while i <= 30: # total += i # total = total + i # print(f"After adding {i} total is {total}") # i += 2 # step will be 2 here # print(f"i is {i} total is {total}") # # # start = 25 # end = 400 # step = 25 # we do have a for loop for this type of looping but step here can be a float # i = start # initialization # while i <= end: # print(f"i is {i}") # i += step # # print("i is ", i) # start = 10 # end = 500 # step = 1 # increase = 30 # # i = start # while i <= end: # print(f"i is {i}") # step += increase # increasing the increase # print("Step is now", step) # i += step # in general while loops are best suited for loops when we are not 100 % sure of when they will end # so sort of indeterminate # # # # i = 10 # while True: # so i am saying here that this loop should run forever .. unless I have something inside to break out # print("i is",i) # this line will always happen at least once # # could add more lines which will run at least once # # in a while True loop it is typical to check for exit condition # if i >= 14: # similar to while i < 28: # print("Ready to break out i is", i) # break # with break with break out of loop # i += 2 # # # above is simulating do while looping functionality # print("Whew AFTER BREAK out", i) # # # i = 20 # active = True # is_raining = True # # while active or is_raining: # careful here so for while loop to keep running here JUST ONE of the conditions here have to be true # while active and is_raining: # so for while loop to keep running here BOTH conditions here have to be true # print(f"Doing stuff with {i}") # i += 3 # # TODO update weather conditions # if i > 30: # active = False # # # # while True: # res = input("Enter number or q to quit ") # # if res.lower().startswith("q"): # more lenient any word starting with Q or q will work to quit # if res == "q": # print("No more calculations today. I am breaking out of the loop.") # break # elif len(res) == 0: # so i had an empty string here... # print("Hey! You just pressed Enter, please enter something...") # continue # we go back to line 83 and start over # # elif res == "a": # TODO check if if the input is text # elif res[0].isalpha(): # we are checking here for the first symbol of our input # print("I can't cube a letter ") # continue # means we are not going to try to convert "a" to float # # in other words we are not going to do the below 4 instructions # num = float(res) # cube = num**3 # cube = round(cube, 2) # 2 digits after comma # print(f"My calculator says cube of {num} is {cube}") # # # print("All done whew!") # # # outer_flag = True # # inner_flag = True # # i = 10 # # while outer_flag: # # print(i) # # while inner_flag: # # res = input("Enter q to quit") # # if res == 'q': # # print("got q lets break from inside") # # break # # i += 1 # # if i > 14: # # print("outer break about to happen") # # break # # # # # # # # # # # # # i = 5 while i < 10: print(i) i += 1 # this will be bugged think about the even case.... if i % 2 == 0: # i am testing whether some number has a reminder of 0 when divided by 2 print("Even number", i) # continue # we skip the following loop instructions else: # this will perform just like continue print("Doing something with odd number", i) # i += 1 # this will be bugged think about the even case... print("We do something here") # with continue this would not run
i = 5 while i < 10: print(i) i += 1 if i % 2 == 0: print('Even number', i) else: print('Doing something with odd number', i) print('We do something here')
load("//ocaml:providers.bzl", "OcamlNsResolverProvider", "PpxNsArchiveProvider") load(":options.bzl", "options", "options_ns_archive", "options_ns_opts") load(":impl_ns_archive.bzl", "impl_ns_archive") load("//ocaml/_transitions:ns_transitions.bzl", "nsarchive_in_transition") OCAML_FILETYPES = [ ".ml", ".mli", ".cmx", ".cmo", ".cma" ] ############################### rule_options = options("ppx") rule_options.update(options_ns_archive("ppx")) rule_options.update(options_ns_opts("ppx")) ###################### ppx_ns_archive = rule( implementation = impl_ns_archive, doc = """Generate a PPX namespace module. """, attrs = dict( rule_options, _rule = attr.string(default = "ppx_ns_archive") ), cfg = nsarchive_in_transition, provides = [PpxNsArchiveProvider], executable = False, toolchains = ["@obazl_rules_ocaml//ocaml:toolchain"], )
load('//ocaml:providers.bzl', 'OcamlNsResolverProvider', 'PpxNsArchiveProvider') load(':options.bzl', 'options', 'options_ns_archive', 'options_ns_opts') load(':impl_ns_archive.bzl', 'impl_ns_archive') load('//ocaml/_transitions:ns_transitions.bzl', 'nsarchive_in_transition') ocaml_filetypes = ['.ml', '.mli', '.cmx', '.cmo', '.cma'] rule_options = options('ppx') rule_options.update(options_ns_archive('ppx')) rule_options.update(options_ns_opts('ppx')) ppx_ns_archive = rule(implementation=impl_ns_archive, doc='Generate a PPX namespace module.\n\n ', attrs=dict(rule_options, _rule=attr.string(default='ppx_ns_archive')), cfg=nsarchive_in_transition, provides=[PpxNsArchiveProvider], executable=False, toolchains=['@obazl_rules_ocaml//ocaml:toolchain'])
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include".split(';') if "/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include" != "" else [] PROJECT_CATKIN_DEPENDS = "ar_track_alvar_msgs;std_msgs;roscpp;tf;tf2;message_runtime;image_transport;sensor_msgs;geometry_msgs;visualization_msgs;resource_retriever;cv_bridge;pcl_ros;pcl_conversions;dynamic_reconfigure".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lar_track_alvar".split(';') if "-lar_track_alvar" != "" else [] PROJECT_NAME = "ar_track_alvar" PROJECT_SPACE_DIR = "/home/xtark/ros_ws/devel" PROJECT_VERSION = "0.7.1"
catkin_package_prefix = '' project_pkg_config_include_dirs = '/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include'.split(';') if '/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include' != '' else [] project_catkin_depends = 'ar_track_alvar_msgs;std_msgs;roscpp;tf;tf2;message_runtime;image_transport;sensor_msgs;geometry_msgs;visualization_msgs;resource_retriever;cv_bridge;pcl_ros;pcl_conversions;dynamic_reconfigure'.replace(';', ' ') pkg_config_libraries_with_prefix = '-lar_track_alvar'.split(';') if '-lar_track_alvar' != '' else [] project_name = 'ar_track_alvar' project_space_dir = '/home/xtark/ros_ws/devel' project_version = '0.7.1'
def maxfun(l, *arr): maxn = 0 maxsum = 0 for k, i in enumerate(arr): s = 0 for t in l: s += i(t) if s >= maxsum: maxn = k maxsum = s return arr[maxn]
def maxfun(l, *arr): maxn = 0 maxsum = 0 for (k, i) in enumerate(arr): s = 0 for t in l: s += i(t) if s >= maxsum: maxn = k maxsum = s return arr[maxn]
class EngineParams(object): def __init__(self, **kwargs): # Iterates over provided arguments and sets the provided arguments as class properties for key, value in kwargs.items(): setattr(self, key, value)
class Engineparams(object): def __init__(self, **kwargs): for (key, value) in kwargs.items(): setattr(self, key, value)
colours = {} # Regular colours["Black"]="\033[0;30m" colours["Red"]="\033[0;31m" colours["Green"]="\033[0;32m" colours["Yellow"]="\033[0;33m" colours["Blue"]="\033[0;34m" colours["Purple"]="\033[0;35m" colours["Cyan"]="\033[0;36m" colours["White"]="\033[0;37m" #Bold colours["BBlack"]="\033[1;30m" colours["BRed"]="\033[1;31m" colours["BGreen"]="\033[1;32m" colours["BYellow"]="\033[1;33m" colours["BBlue"]="\033[1;34m" colours["BPurple"]="\033[1;35m" colours["BCyan"]="\033[1;36m" colours["BWhite"]="\033[1;37m" # High Intensity colours["IBlack"]="\033[0;90m" colours["IRed"]="\033[0;91m" colours["IGreen"]="\033[0;92m" colours["IYellow"]="\033[0;93m" colours["IBlue"]="\033[0;94m" colours["IPurple"]="\033[0;95m" colours["ICyan"]="\033[0;96m" colours["IWhite"]="\033[0;97m" # Bold High Intensity colours["BIBlack"]="\033[1;90m" colours["BIRed"]="\033[1;91m" colours["BIGreen"]="\033[1;92m" colours["BIYellow"]="\033[1;93m" colours["BIBlue"]="\033[1;94m" colours["BIPurple"]="\033[1;95m" colours["BICyan"]="\033[1;96m" colours["BIWhite"]="\033[1;97m" colour_close = "\033[0m" colour_list = ['BRed', 'BGreen', 'BYellow', 'BBlue', 'BPurple', 'BCyan', 'IRed', 'IGreen', 'IYellow', 'IBlue', 'IPurple', 'ICyan']
colours = {} colours['Black'] = '\x1b[0;30m' colours['Red'] = '\x1b[0;31m' colours['Green'] = '\x1b[0;32m' colours['Yellow'] = '\x1b[0;33m' colours['Blue'] = '\x1b[0;34m' colours['Purple'] = '\x1b[0;35m' colours['Cyan'] = '\x1b[0;36m' colours['White'] = '\x1b[0;37m' colours['BBlack'] = '\x1b[1;30m' colours['BRed'] = '\x1b[1;31m' colours['BGreen'] = '\x1b[1;32m' colours['BYellow'] = '\x1b[1;33m' colours['BBlue'] = '\x1b[1;34m' colours['BPurple'] = '\x1b[1;35m' colours['BCyan'] = '\x1b[1;36m' colours['BWhite'] = '\x1b[1;37m' colours['IBlack'] = '\x1b[0;90m' colours['IRed'] = '\x1b[0;91m' colours['IGreen'] = '\x1b[0;92m' colours['IYellow'] = '\x1b[0;93m' colours['IBlue'] = '\x1b[0;94m' colours['IPurple'] = '\x1b[0;95m' colours['ICyan'] = '\x1b[0;96m' colours['IWhite'] = '\x1b[0;97m' colours['BIBlack'] = '\x1b[1;90m' colours['BIRed'] = '\x1b[1;91m' colours['BIGreen'] = '\x1b[1;92m' colours['BIYellow'] = '\x1b[1;93m' colours['BIBlue'] = '\x1b[1;94m' colours['BIPurple'] = '\x1b[1;95m' colours['BICyan'] = '\x1b[1;96m' colours['BIWhite'] = '\x1b[1;97m' colour_close = '\x1b[0m' colour_list = ['BRed', 'BGreen', 'BYellow', 'BBlue', 'BPurple', 'BCyan', 'IRed', 'IGreen', 'IYellow', 'IBlue', 'IPurple', 'ICyan']
class A(object): x:int = 1 def foo(): print(1) print(A) print(foo()) #ok print(foo) #error
class A(object): x: int = 1 def foo(): print(1) print(A) print(foo()) print(foo)
# The path to the Webdriver (for Chrome/Chromium) CHROMEDRIVER_PATH = 'C:\\WebDriver\\bin\\chromedriver.exe' # Tell the browser to ignore invalid/insecure https connections BROWSER_INSECURE_CERTS = True # The URL pointing to the Franka Control Webinterface (Desk) DESK_URL = 'robot.franka.de' # Expect a login page when calling Desk DESK_LOGIN_REQUIRED = True # The ADS Id of the PLC (defaults to localhost) PLC_ID = '127.0.0.1.1.1' # Boolean flag on the PLC, set TRUE to start the web browser PLC_START_FLAG = 'GVL.bStartBlockly' # Blocklenium sets this flag TRUE if it terminates due to an exception PLC_ERROR_FLAG = 'GVL.bBlockleniumError' # Blocklenium sets this to it's terminating error message PLC_ERROR_MSG = 'GVL.sBlockleniumErrorMsg' # Set the Username for Desk on the PLC PLC_DESK_USER = 'GVL.sDeskUsername' # Set the Password for Desk on the PLC PLC_DESK_PW = 'GVL.sDeskPassword'
chromedriver_path = 'C:\\WebDriver\\bin\\chromedriver.exe' browser_insecure_certs = True desk_url = 'robot.franka.de' desk_login_required = True plc_id = '127.0.0.1.1.1' plc_start_flag = 'GVL.bStartBlockly' plc_error_flag = 'GVL.bBlockleniumError' plc_error_msg = 'GVL.sBlockleniumErrorMsg' plc_desk_user = 'GVL.sDeskUsername' plc_desk_pw = 'GVL.sDeskPassword'
def print_division(a,b): try: result = a / b print(f"result: {result}") except: # It catches ALL errors print("error occurred") print_division(10,5) print_division(10,0) print_division(10,2) str_line = input("please enter two numbers to divide:") a = int(str_line.split(" ")[0]) b = int(str_line.split(" ")[1]) print_division(a,b)
def print_division(a, b): try: result = a / b print(f'result: {result}') except: print('error occurred') print_division(10, 5) print_division(10, 0) print_division(10, 2) str_line = input('please enter two numbers to divide:') a = int(str_line.split(' ')[0]) b = int(str_line.split(' ')[1]) print_division(a, b)
class ConnectionError(Exception): """Failed to connect to the broker.""" pass
class Connectionerror(Exception): """Failed to connect to the broker.""" pass
t = int(input()) while t: arr = [] S = input().split() if(len(S)==1): print(S[0].capitalize()) else: for i in range(len(S)): arr.append(S[i].capitalize()) for i in range(len(S)-1): print(arr[i][0]+'.',end=' ') print(S[len(S)-1].capitalize()) t = t-1
t = int(input()) while t: arr = [] s = input().split() if len(S) == 1: print(S[0].capitalize()) else: for i in range(len(S)): arr.append(S[i].capitalize()) for i in range(len(S) - 1): print(arr[i][0] + '.', end=' ') print(S[len(S) - 1].capitalize()) t = t - 1
# -*- coding: utf-8 -*- """ uniq is a Python API client library for Cisco's Application Policy Infrastructure Controller Enterprise Module (APIC-EM) Northbound APIs. *** Description *** The APIC-EM Northbound Interface is the only API that you will need to control your network programmatically. The API is function rich and provides you with an easy-to-use, programmatic control of your network elements, interfaces, and hosts. The APIC-EM API provides you with the ability to think about your network at a higher policy level rather than how to implement that policy. When you use the APIC-EM API, your applications will make network policy decisions, which will then be implemented by the APIC-EM Controller through its Southbound Interfaces. Thus you tell the network what you want (i.e., the policy) and the controller figures out how to implement that policy for you. The APIC-EM API is REST based and thus you will discover and control your network using HTTP protocol with HTTP verbs (i.e., GET, POST, PUT, and DELETE) with JSON syntax. This package provides a handle to this rich API library in an easy to consume fashion. *** Usage *** Import the package and make an API call. >>> from uniq.apis.nb.client_manager import NbClientManager >>> client = NbClientManager( ... server="1.1.1.1", ... username="username", ... password="password", ... connect=True) >>> # NorthBound API call to get all users >>> user_list_result = client.user.getUsers() >>> # Serialize the model object to a python dictionary >>> users = client.serialize(user_list_result) >>> print(users) :copyright: (c) 2016 by Cisco Systems, see Copyright for more details. :license: Apache 2.0, see LICENSE for more details. """ __title__ = 'uniq' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2016 Cisco Systems' __version__ = '2.0.10' __first_release_date__ = '2016.1.16'
""" uniq is a Python API client library for Cisco's Application Policy Infrastructure Controller Enterprise Module (APIC-EM) Northbound APIs. *** Description *** The APIC-EM Northbound Interface is the only API that you will need to control your network programmatically. The API is function rich and provides you with an easy-to-use, programmatic control of your network elements, interfaces, and hosts. The APIC-EM API provides you with the ability to think about your network at a higher policy level rather than how to implement that policy. When you use the APIC-EM API, your applications will make network policy decisions, which will then be implemented by the APIC-EM Controller through its Southbound Interfaces. Thus you tell the network what you want (i.e., the policy) and the controller figures out how to implement that policy for you. The APIC-EM API is REST based and thus you will discover and control your network using HTTP protocol with HTTP verbs (i.e., GET, POST, PUT, and DELETE) with JSON syntax. This package provides a handle to this rich API library in an easy to consume fashion. *** Usage *** Import the package and make an API call. >>> from uniq.apis.nb.client_manager import NbClientManager >>> client = NbClientManager( ... server="1.1.1.1", ... username="username", ... password="password", ... connect=True) >>> # NorthBound API call to get all users >>> user_list_result = client.user.getUsers() >>> # Serialize the model object to a python dictionary >>> users = client.serialize(user_list_result) >>> print(users) :copyright: (c) 2016 by Cisco Systems, see Copyright for more details. :license: Apache 2.0, see LICENSE for more details. """ __title__ = 'uniq' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2016 Cisco Systems' __version__ = '2.0.10' __first_release_date__ = '2016.1.16'
class Image_SVG(): def Stmp(self): return
class Image_Svg: def stmp(self): return
def crack(value,g,mod): for i in range(mod): if ((g**i) % mod == value): return i # print("X = ", crack(57, 13, 59)) # print("Y = ", crack(44,13,59)) # print("Alice computes", (44**20)%59) # print("Bob computes", (57**47)%59) def find_num(target): for i in range(target): for j in range(target): if(i * j == target): print(i,j) find_num(5561) def lcm(x,y): orig_x = x orig_y = y while True: if x < y: x = x + orig_x elif y < x: y = y + orig_y else: return x print(lcm(66,82)) def find_db(eb,mod): for i in range(100000): if ((eb*i) % mod == 1): return i print(find_db(13,2706)) def gcd_check(x,y): greater = max(x,y) for i in range(2,greater): if ((x%i) == 0 and (y%i) == 0): return False return True print(gcd_check(2706,13)) # compute ydB mod nB def decrypt(list, db, nb): decrypted = [] for i in range(len(list)): decrypted.append((list[i]**db) % nb) return decrypted def to_ASCII(list): message = "" for letter in list: message += chr(letter) return message encrypted_list = [1516, 3860, 2891, 570, 3483, 4022, 3437, 299,570, 843, 3433, 5450, 653, 570, 3860, 482, 3860, 4851, 570, 2187, 4022, 3075, 653, 3860, 570, 3433, 1511, 2442, 4851, 570, 2187, 3860, 570, 3433, 1511, 4022, 3411, 5139, 1511, 3433, 4180, 570, 4169, 4022, 3411, 3075, 570, 3000, 2442, 2458, 4759, 570, 2863, 2458, 3455, 1106, 3860, 299, 570, 1511, 3433, 3433, 3000, 653, 3269, 4951, 4951, 2187, 2187, 2187, 299, 653, 1106, 1511, 4851, 3860, 3455, 3860, 3075, 299, 1106, 4022, 3194, 4951, 3437, 2458, 4022, 5139, 4951, 2442, 3075, 1106, 1511, 3455, 482, 3860, 653, 4951, 2875, 3668, 2875, 2875, 4951, 3668, 4063, 4951, 2442, 3455, 3075, 3433, 2442, 5139, 653, 5077, 2442, 3075, 3860, 5077, 3411, 653, 3860, 1165, 5077, 2713, 4022, 3075, 5077, 653, 3433, 2442, 2458, 3409, 3455, 4851, 5139, 5077, 2713, 2442, 3075, 5077, 3194, 4022, 3075, 3860, 5077, 3433, 1511, 2442, 4851, 5077, 3000, 3075, 3860, 482, 3455, 4022, 3411, 653, 2458, 2891, 5077, 3075, 3860, 3000, 4022, 3075, 3433, 3860, 1165, 299, 1511, 3433, 3194, 2458] print(decrypt(encrypted_list, 1249, 5561)) decrypted = decrypt(encrypted_list, 1249, 5561) print(to_ASCII(decrypted))
def crack(value, g, mod): for i in range(mod): if g ** i % mod == value: return i def find_num(target): for i in range(target): for j in range(target): if i * j == target: print(i, j) find_num(5561) def lcm(x, y): orig_x = x orig_y = y while True: if x < y: x = x + orig_x elif y < x: y = y + orig_y else: return x print(lcm(66, 82)) def find_db(eb, mod): for i in range(100000): if eb * i % mod == 1: return i print(find_db(13, 2706)) def gcd_check(x, y): greater = max(x, y) for i in range(2, greater): if x % i == 0 and y % i == 0: return False return True print(gcd_check(2706, 13)) def decrypt(list, db, nb): decrypted = [] for i in range(len(list)): decrypted.append(list[i] ** db % nb) return decrypted def to_ascii(list): message = '' for letter in list: message += chr(letter) return message encrypted_list = [1516, 3860, 2891, 570, 3483, 4022, 3437, 299, 570, 843, 3433, 5450, 653, 570, 3860, 482, 3860, 4851, 570, 2187, 4022, 3075, 653, 3860, 570, 3433, 1511, 2442, 4851, 570, 2187, 3860, 570, 3433, 1511, 4022, 3411, 5139, 1511, 3433, 4180, 570, 4169, 4022, 3411, 3075, 570, 3000, 2442, 2458, 4759, 570, 2863, 2458, 3455, 1106, 3860, 299, 570, 1511, 3433, 3433, 3000, 653, 3269, 4951, 4951, 2187, 2187, 2187, 299, 653, 1106, 1511, 4851, 3860, 3455, 3860, 3075, 299, 1106, 4022, 3194, 4951, 3437, 2458, 4022, 5139, 4951, 2442, 3075, 1106, 1511, 3455, 482, 3860, 653, 4951, 2875, 3668, 2875, 2875, 4951, 3668, 4063, 4951, 2442, 3455, 3075, 3433, 2442, 5139, 653, 5077, 2442, 3075, 3860, 5077, 3411, 653, 3860, 1165, 5077, 2713, 4022, 3075, 5077, 653, 3433, 2442, 2458, 3409, 3455, 4851, 5139, 5077, 2713, 2442, 3075, 5077, 3194, 4022, 3075, 3860, 5077, 3433, 1511, 2442, 4851, 5077, 3000, 3075, 3860, 482, 3455, 4022, 3411, 653, 2458, 2891, 5077, 3075, 3860, 3000, 4022, 3075, 3433, 3860, 1165, 299, 1511, 3433, 3194, 2458] print(decrypt(encrypted_list, 1249, 5561)) decrypted = decrypt(encrypted_list, 1249, 5561) print(to_ascii(decrypted))
__version__ = '1.0.3.5' if __name__ == '__main__': print(__version__) # ****************************************************************************** # MIT License # # Copyright (c) 2020 Jianlin Shi # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, # modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # ******************************************************************************
__version__ = '1.0.3.5' if __name__ == '__main__': print(__version__)
#tests if passed-in number is a prime number def is_prime(num): if num < 2: return False for i in range(2, num): if num % i == 0: return False return True #takes in a number and returns a list of prime numbers for zero to the number def generate_prime_numbers(number): primes = [] try: isinstance(number, int) if number > 0: for num in range(2, number+1): if is_prime(num): primes.append(num) return primes else: return 'number should be a positive integer greater than 0' except TypeError: raise TypeError
def is_prime(num): if num < 2: return False for i in range(2, num): if num % i == 0: return False return True def generate_prime_numbers(number): primes = [] try: isinstance(number, int) if number > 0: for num in range(2, number + 1): if is_prime(num): primes.append(num) return primes else: return 'number should be a positive integer greater than 0' except TypeError: raise TypeError
# time O(nlogn) # space O(1) def minimumWaitingTime(queries): queries.sort() total = 0 prev_sum = 0 for i in queries[:-1]: prev_sum += i total += prev_sum return total # time O(nlogn) # space O(1) def minimumWaitingTime(queries): queries.sort() total = 0 for idx, wait_time in enumerate(queries, start=1): queries_left = len(queries) - idx total += queries_left * wait_time return total
def minimum_waiting_time(queries): queries.sort() total = 0 prev_sum = 0 for i in queries[:-1]: prev_sum += i total += prev_sum return total def minimum_waiting_time(queries): queries.sort() total = 0 for (idx, wait_time) in enumerate(queries, start=1): queries_left = len(queries) - idx total += queries_left * wait_time return total
for _ in range(int(input())): n, m, k = map(int, input().split()) req = 0 req = 1*(m-1) + m*(n-1) if req == k: print("YES") else: print("NO")
for _ in range(int(input())): (n, m, k) = map(int, input().split()) req = 0 req = 1 * (m - 1) + m * (n - 1) if req == k: print('YES') else: print('NO')
#/*********************************************************\ # * File: 44ScriptOOP.py * # * # * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) # * # * This file is part of PixelLight. # * # * Permission is hereby granted, free of charge, to any person obtaining a copy of this software # * and associated documentation files (the "Software"), to deal in the Software without # * restriction, including without limitation the rights to use, copy, modify, merge, publish, # * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the # * Software is furnished to do so, subject to the following conditions: # * # * The above copyright notice and this permission notice shall be included in all copies or # * substantial portions of the Software. # * # * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING # * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, # * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #\*********************************************************/ #[-------------------------------------------------------] #[ Classes ] #[-------------------------------------------------------] # The "MyScriptClass"-class declaration class MyScriptClass(object): "My script class" # The default constructor - In Python, we can only have one constructor # Destructor def __del__(this): PL['System']['Console']['Print']("MyScriptClass::~MyScriptClass() - a=" + str(this.a) + "\n") # Another constructor def __init__(this, a): # (most people are using the name "self" for this purpose, I stick with "this" to have as comparable as possible example scripts) # A public class attribute this.a = a PL['System']['Console']['Print']("MyScriptClass::MyScriptClass(a) - a=" + str(this.a) + "\n") # A public class method def DoSomething(this): this.a *= 2 PL['System']['Console']['Print']("MyScriptClass::DoSomething() - a=" + str(this.a) + "\n") # A derived class named "MyDerivedScriptClass" class MyDerivedScriptClass(MyScriptClass): "My derived script class" # The default constructor def __init__(this): # Calling the non-default constructor of the base class MyScriptClass.__init__(this, 10) # A public class attribute this.b = 0 # A private class attribute (actually, Python doesn't support private stuff, it's just a name convention!) this._privateX = 0 PL['System']['Console']['Print']("MyDerivedScriptClass::MyDerivedScriptClass() - b=" + str(this.b) + "\n") PL['System']['Console']['Print']("MyDerivedScriptClass::MyDerivedScriptClass() - _privateX=" + str(this._privateX) + "\n") # Overloading a public virtual method def DoSomething(this): # Call the base class implementation MyScriptClass.DoSomething(this) # Do something more this.b = this.a PL['System']['Console']['Print']("MyDerivedScriptClass::DoSomething() - b=" + str(this.b) + "\n") # Call the private class method this._PrivateDoSomething() # A public class method def GetPrivateX(this): return this._privateX # A private class method (actually, Python doesn't support private stuff, it's just a name convention!) def _PrivateDoSomething(this): # Increment the private attribute this._privateX = this._privateX + 1 PL['System']['Console']['Print']("MyDerivedScriptClass::PrivateDoSomething() - _privateX=" + str(this._privateX) + "\n") #[-------------------------------------------------------] #[ Global functions ] #[-------------------------------------------------------] def OOP(): # Create an instance of MyScriptClass firstObject = MyScriptClass(5) firstObject.a = 1 firstObject.DoSomething() # Create an instance of MyDerivedScriptClass secondObject = MyDerivedScriptClass() secondObject.DoSomething() secondObject.a = firstObject.a secondObject.b = 2 PL['System']['Console']['Print']("secondObject.GetPrivateX() = " + str(secondObject.GetPrivateX()) + "\n")
class Myscriptclass(object): """My script class""" def __del__(this): PL['System']['Console']['Print']('MyScriptClass::~MyScriptClass() - a=' + str(this.a) + '\n') def __init__(this, a): this.a = a PL['System']['Console']['Print']('MyScriptClass::MyScriptClass(a) - a=' + str(this.a) + '\n') def do_something(this): this.a *= 2 PL['System']['Console']['Print']('MyScriptClass::DoSomething() - a=' + str(this.a) + '\n') class Myderivedscriptclass(MyScriptClass): """My derived script class""" def __init__(this): MyScriptClass.__init__(this, 10) this.b = 0 this._privateX = 0 PL['System']['Console']['Print']('MyDerivedScriptClass::MyDerivedScriptClass() - b=' + str(this.b) + '\n') PL['System']['Console']['Print']('MyDerivedScriptClass::MyDerivedScriptClass() - _privateX=' + str(this._privateX) + '\n') def do_something(this): MyScriptClass.DoSomething(this) this.b = this.a PL['System']['Console']['Print']('MyDerivedScriptClass::DoSomething() - b=' + str(this.b) + '\n') this._PrivateDoSomething() def get_private_x(this): return this._privateX def __private_do_something(this): this._privateX = this._privateX + 1 PL['System']['Console']['Print']('MyDerivedScriptClass::PrivateDoSomething() - _privateX=' + str(this._privateX) + '\n') def oop(): first_object = my_script_class(5) firstObject.a = 1 firstObject.DoSomething() second_object = my_derived_script_class() secondObject.DoSomething() secondObject.a = firstObject.a secondObject.b = 2 PL['System']['Console']['Print']('secondObject.GetPrivateX() = ' + str(secondObject.GetPrivateX()) + '\n')
# -*- coding: utf-8 -*- """ Created on Tue Jul 23 14:39:19 2019 @author: aksha """ annual_salary = int(input('Enter your annual salary: ')) annual_salary1 = annual_salary total_cost = 1000000 semi_annual_raise = 0.07 current_savings = 0.0 low = 0 high = 10000 guess = 5000 numberofsteps = 0 while abs(current_savings-total_cost*0.25)>=100 and guess != 9999 and abs(low-high)>=2: current_savings = 0.0 annual_salary = annual_salary1 for months in range(1,37): if months%6==1 and months != 1: annual_salary += annual_salary*semi_annual_raise current_savings += annual_salary/12*(guess/10000) + current_savings*0.04/12 if current_savings<(total_cost*0.25): low = guess else: high = guess guess =int((low+high)/2) numberofsteps += 1 if guess==9999: print('It is not possible to pay the down payment in 3 years') elif guess ==0: print('The portion size cannot be computed as it is very less(less than 0.0001)') else: print('Best Savings Rate: ',guess/10000) print('Steps in bisection search: ',numberofsteps)
""" Created on Tue Jul 23 14:39:19 2019 @author: aksha """ annual_salary = int(input('Enter your annual salary: ')) annual_salary1 = annual_salary total_cost = 1000000 semi_annual_raise = 0.07 current_savings = 0.0 low = 0 high = 10000 guess = 5000 numberofsteps = 0 while abs(current_savings - total_cost * 0.25) >= 100 and guess != 9999 and (abs(low - high) >= 2): current_savings = 0.0 annual_salary = annual_salary1 for months in range(1, 37): if months % 6 == 1 and months != 1: annual_salary += annual_salary * semi_annual_raise current_savings += annual_salary / 12 * (guess / 10000) + current_savings * 0.04 / 12 if current_savings < total_cost * 0.25: low = guess else: high = guess guess = int((low + high) / 2) numberofsteps += 1 if guess == 9999: print('It is not possible to pay the down payment in 3 years') elif guess == 0: print('The portion size cannot be computed as it is very less(less than 0.0001)') else: print('Best Savings Rate: ', guess / 10000) print('Steps in bisection search: ', numberofsteps)
orig = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" num = int(input()) for i in range(num): alpha = list(orig) key = input() cipher = input() tl = list(key) letters = [] newAlpha = [] for l in tl: if l not in letters: letters.append(l) alpha.remove(l) length = len(letters) count = 0 t = [] for y in range(length): t.insert(y, "") t[y] += letters[y] count = y; while count < len(alpha): t[y] += alpha[count] count += length t.sort() for tt in t: for ttt in tt: newAlpha.append(ttt) count = 0 for c in cipher: if(c != " "): print(orig[newAlpha.index(c)], end="") count += 1 if(count == 5): count = 0 print(" ", end="") print(" ")
orig = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' num = int(input()) for i in range(num): alpha = list(orig) key = input() cipher = input() tl = list(key) letters = [] new_alpha = [] for l in tl: if l not in letters: letters.append(l) alpha.remove(l) length = len(letters) count = 0 t = [] for y in range(length): t.insert(y, '') t[y] += letters[y] count = y while count < len(alpha): t[y] += alpha[count] count += length t.sort() for tt in t: for ttt in tt: newAlpha.append(ttt) count = 0 for c in cipher: if c != ' ': print(orig[newAlpha.index(c)], end='') count += 1 if count == 5: count = 0 print(' ', end='') print(' ')
def get_inplane(inplanes, idx): if isinstance(inplanes, list): return inplanes[idx] else: return inplanes
def get_inplane(inplanes, idx): if isinstance(inplanes, list): return inplanes[idx] else: return inplanes
def linearsearch(_list, _v): if len(_list) == 0: return False for i, item in enumerate(_list): if item == _v: return i return False
def linearsearch(_list, _v): if len(_list) == 0: return False for (i, item) in enumerate(_list): if item == _v: return i return False
images = [ "https://demo.com/imgs/1.jpg", "https://demo.com/imgs/2.jpg", "https://demo.com/imgs/3.jpg", ]
images = ['https://demo.com/imgs/1.jpg', 'https://demo.com/imgs/2.jpg', 'https://demo.com/imgs/3.jpg']
"""Constants for the Livebox component.""" DOMAIN = "livebox" COORDINATOR = "coordinator" UNSUB_LISTENER = "unsubscribe_listener" LIVEBOX_ID = "id" LIVEBOX_API = "api" COMPONENTS = ["sensor", "binary_sensor", "device_tracker", "switch"] TEMPLATE_SENSOR = "Orange Livebox" DEFAULT_USERNAME = "admin" DEFAULT_HOST = "192.168.1.1" DEFAULT_PORT = 80 CALLID = "callId" CONF_LAN_TRACKING = "lan_tracking" DEFAULT_LAN_TRACKING = False CONF_TRACKING_TIMEOUT = "timeout_tracking" DEFAULT_TRACKING_TIMEOUT = 300
"""Constants for the Livebox component.""" domain = 'livebox' coordinator = 'coordinator' unsub_listener = 'unsubscribe_listener' livebox_id = 'id' livebox_api = 'api' components = ['sensor', 'binary_sensor', 'device_tracker', 'switch'] template_sensor = 'Orange Livebox' default_username = 'admin' default_host = '192.168.1.1' default_port = 80 callid = 'callId' conf_lan_tracking = 'lan_tracking' default_lan_tracking = False conf_tracking_timeout = 'timeout_tracking' default_tracking_timeout = 300
INITIAL_CAROUSEL_DATA = [ { "title": "New Feature", "description": "Explore", "graphic": "/images/homepage/map-explorer.png", "url": "/explore" }, { "title": "Data Visualization", "description": "Yemen - WFP mVAM, Food Security Monitoring", "graphic": "/images/homepage/mVAM.png", "url": "//data.humdata.org/visualization/wfp-indicators/" }, { "title": "Data Visualization", "description": "South Sudan - OCHA, Who is doing What Where (3W)", "graphic": "/images/homepage/south-sudan.png", "url": "//data.humdata.org/organization/ocha-south-sudan" }, { "title": "Blog Post", "description": "New Features", "graphic": "/images/homepage/membership.jpg", "url": "https://centre.humdata.org/new-features-contact-the-contributor-and-group-message/", "buttonText": "Read", "newTab": True }, { "title": "Data Visualization", "description": "Global - WFP, Food Market Prices", "graphic": "/images/homepage/WFP.png", "url": "//data.humdata.org/organization/wfp" }, { "title": "Data Visualization", "description": "Kenya, Kakuma Refugee Camp - UNHCR, Who is doing What Where", "graphic": "/images/homepage/KakumaRefugee.png", "url": "//data.humdata.org/organization/unhcr-kenya" }, { "title": "Data Visualization", "description": "Somalia - Adeso, Who is doing What, Where and When (4W)", "graphic": "/images/homepage/Adeso.png", "url": "//data.humdata.org/organization/adeso" }, { "title": "Film", "description": "Making the Invisible Visible", "graphic": "/images/homepage/movie_small.png", "embed": True, "url": "//youtu.be/7QX5Ji5gl9g" } ]
initial_carousel_data = [{'title': 'New Feature', 'description': 'Explore', 'graphic': '/images/homepage/map-explorer.png', 'url': '/explore'}, {'title': 'Data Visualization', 'description': 'Yemen - WFP mVAM, Food Security Monitoring', 'graphic': '/images/homepage/mVAM.png', 'url': '//data.humdata.org/visualization/wfp-indicators/'}, {'title': 'Data Visualization', 'description': 'South Sudan - OCHA, Who is doing What Where (3W)', 'graphic': '/images/homepage/south-sudan.png', 'url': '//data.humdata.org/organization/ocha-south-sudan'}, {'title': 'Blog Post', 'description': 'New Features', 'graphic': '/images/homepage/membership.jpg', 'url': 'https://centre.humdata.org/new-features-contact-the-contributor-and-group-message/', 'buttonText': 'Read', 'newTab': True}, {'title': 'Data Visualization', 'description': 'Global - WFP, Food Market Prices', 'graphic': '/images/homepage/WFP.png', 'url': '//data.humdata.org/organization/wfp'}, {'title': 'Data Visualization', 'description': 'Kenya, Kakuma Refugee Camp - UNHCR, Who is doing What Where', 'graphic': '/images/homepage/KakumaRefugee.png', 'url': '//data.humdata.org/organization/unhcr-kenya'}, {'title': 'Data Visualization', 'description': 'Somalia - Adeso, Who is doing What, Where and When (4W)', 'graphic': '/images/homepage/Adeso.png', 'url': '//data.humdata.org/organization/adeso'}, {'title': 'Film', 'description': 'Making the Invisible Visible', 'graphic': '/images/homepage/movie_small.png', 'embed': True, 'url': '//youtu.be/7QX5Ji5gl9g'}]
"optimize with in-place list operations" class error(Exception): pass # when imported: local exception class Stack: def __init__(self, start=[]): # self is the instance object self.stack = [] # start is any sequence: stack... for x in start: self.push(x) def push(self, obj): # methods: like module + self self.stack.append(obj) # top is end of list def pop(self): if not self.stack: raise error('underflow') return self.stack.pop() # like fetch and delete stack[-1] def top(self): if not self.stack: raise error('underflow') return self.stack[-1] def empty(self): return not self.stack # instance.empty() def __len__(self): return len(self.stack) # len(instance), not instance def __getitem__(self, offset): return self.stack[offset] # instance[offset], in, for def __repr__(self): return '[Stack:%s]' % self.stack
"""optimize with in-place list operations""" class Error(Exception): pass class Stack: def __init__(self, start=[]): self.stack = [] for x in start: self.push(x) def push(self, obj): self.stack.append(obj) def pop(self): if not self.stack: raise error('underflow') return self.stack.pop() def top(self): if not self.stack: raise error('underflow') return self.stack[-1] def empty(self): return not self.stack def __len__(self): return len(self.stack) def __getitem__(self, offset): return self.stack[offset] def __repr__(self): return '[Stack:%s]' % self.stack
''' A Simple nested if ''' # Can you eat chicken? a = input("Are you veg or non veg?\n") day = input("Which day is today?\n") if(a == "nonveg"): if(day == "sunday"): print("You can eat chicken") else: print("It is not sunday! You cannot eat chicken..") else: print("you are vegitarian! you cannot eat chicken!")
""" A Simple nested if """ a = input('Are you veg or non veg?\n') day = input('Which day is today?\n') if a == 'nonveg': if day == 'sunday': print('You can eat chicken') else: print('It is not sunday! You cannot eat chicken..') else: print('you are vegitarian! you cannot eat chicken!')
__author__ = "Rob MacKinnon <rome@villagertech.com>" __package__ = "DOMObjects" __name__ = "DOMObjects.flags" __license__ = "MIT" DEBUG = 0 FLAG_READ = 2**0 FLAG_WRITE = 2**1 FLAG_NAMESPACE = 2**2 FLAG_RESERVED_8 = 2**3 FLAG_RESERVED_16 = 2**4 FLAG_RESERVED_32 = 2**5 FLAG_RESERVED_64 = 2**6 FLAG_RESERVED_128 = 2**7 class DOMFlags(object): """ @abstract Class object for holding user definable flags for DOM Objects """ def __init__(self): """ @abstract Object initializer and bootstraps first object. """ self.__flags__ = {} self.default_flags = 0 | FLAG_READ | FLAG_WRITE self.__flags__["self"] = self.default_flags def __hasbit__(self, byteVal: int, bit: int = 0) -> bool: """ @abstract Private method to test if bit flag is set. @param byteVal [int] Binary flag set @param bit [int] Bit position to check true @returns [bool] True if bit value is 1 """ if DEBUG is 1: print("1?"+str(self.__getbit__(byteVal, bit))+" "+str(self.__getbit__(byteVal, bit) is 1)) return self.__getbit__(byteVal, bit) is 1 def __getbit__(self, byteVal: int, bit: int = 0) -> int: """ @abstract Returns the value of selected bit via bitwise operation @param byteVal [int] Binary flag set @param bit [int] Bit position to return @returns [int] 0|1 of value at bit position """ assert 0 <= bit < 8 _mask = 254 # --- Expensive Debugging Code Begin --- if DEBUG is 1: _print = "" _marker = "" _value = "" for x in range(0, 8): _print += str(((byteVal >> x) | _mask) - _mask) if bit-1 is x: _marker += "^" _value += str(bit) else: _marker += " " _value += " " print(_print) print(_marker) print(_value) # --- Expensive Debugging Code End --- return ((byteVal >> bit-1) | _mask) - _mask def __setbit__(self, byteVal: int, bit: int = 0, value: int = 0) -> int: """ @abstract Set explicit bit value of flag @param byteVal [int] Byte value to modify @param bit [int] Bit position alter @param value [int] 0|1 value to alter to @returns [int] 0|1 of value at bit position """ assert -1 < bit < 8 assert -1 < value < 2 # @bug Suddenly, a wild `None` appeared! # We are not sure why DOMObject.attach() started setting the # parent flag value to `None`, nor where it is actually doing # so after an hour stepping through things. Below is the fix. # Therefore we immediately default to READONLY to be secure. if byteVal == -1: return 0 | FLAG_READ _retVal = byteVal _bitVal = self.__getbit__(byteVal, bit) if _bitVal == value: # NOP pass elif _bitVal < value: _retVal = byteVal | 2**bit elif _bitVal > value: _retVal = byteVal - 2**bit else: raise Exception("we got somewhere we shouldn't have") return _retVal def has_flag(self, name: str) -> bool: """ @abstract Checks if `name` is a valid flag @param name [str] Flag key name to resolve @returns [bool] True on found/existing """ return name in self.__flags__.keys() @property def protected(self) -> bool: """ @abstract Returns whether the parent is currently protected @returns [bool] True if write flag is 0 """ return not self.is_writeable(name="self") def is_writeable(self, name: str = "self") -> bool: """ @abstract Returns whether the object is currently protected @param name [str] Flag name @returns [bool] True if write flag is 1 """ if not self.has_flag(name): raise Exception("invalid flag name `%s` referenced" % name) if DEBUG is 1: print("hasbit="+str(self.__hasbit__(self.__flags__[name], FLAG_WRITE))) return self.__hasbit__(self.__flags__[name], FLAG_WRITE) def lock(self, name: str = "self") -> None: """ @abstract Set the writeable flag to readonly @param name [str] Flag name @returns [None] """ if not self.has_flag(name): raise Exception("invalid flag name referenced") _value = self.__setbit__(self.__flags__[name], FLAG_WRITE, 0) self.update_flag(name, _value) def unlock(self, name: str = "self") -> None: """ @abstract Set the writeable flag to readonly @param name [str] Flag name @returns [None] """ if not self.has_flag(name): raise KeyError("invalid flag name referenced") _value = self.__setbit__(self.__flags__[name], FLAG_WRITE, 1) self.update_flag(name, _value) def test_bit(self, name: str, flag: int) -> bool: """ @abstract Boolean test for flag currently set @param name [str; Flag name @param flag [int] Bit position or FLAG_xxxxx global @returns [bool] True is requested value is set """ return self.__hasbit__(self.get_flag(name), flag) def get_flag(self, name: str) -> int: """ @abstract Return the value of flag @param name: str; flag name @returns [int] Byte value of flag set """ if not self.has_flag(name): raise Exception("invalid flag name referenced") return self.__flags__[name] def set_flag(self, name: str, flags: int = 0) -> bool: """ @abstract Set a new flag with a specific bit flag @param name [str] Flag name @param flags [int] #optional Bit mask to set to @returns [bool] True on success """ # Check to see if this flag already exists if self.has_flag(name): # flag name already exists, update instead return self.update_flag(name, flags) # Is this flag set protected, if not we should set the flags requested. if not self.protected: self.__flags__.update({name: flags}) return True raise Exception("cannot add flag, parent locked") def del_flag(self, name: str) -> bool: """ @abstract Remove a flag @param name [str] Flag name @returns [bool] True on success """ # Is this flag set protected, if not we should set the flags requested. if not self.protected: del self.__flags__[name] return True raise Exception("cannot delete flag, parent locked") def update_flag(self, name: str, flags: int) -> bool: """ @abstract update a flag to specified flag value @param name [str] Flag name @param flags [int] Bit mask to set @returns [bool] True on success """ if not self.protected and self.has_flag(name): self.__flags__[name] = flags return True # import pdb; pdb.set_trace() # breakpoint 1d9b2b3f // raise Exception("invalid flag name referenced")
__author__ = 'Rob MacKinnon <rome@villagertech.com>' __package__ = 'DOMObjects' __name__ = 'DOMObjects.flags' __license__ = 'MIT' debug = 0 flag_read = 2 ** 0 flag_write = 2 ** 1 flag_namespace = 2 ** 2 flag_reserved_8 = 2 ** 3 flag_reserved_16 = 2 ** 4 flag_reserved_32 = 2 ** 5 flag_reserved_64 = 2 ** 6 flag_reserved_128 = 2 ** 7 class Domflags(object): """ @abstract Class object for holding user definable flags for DOM Objects """ def __init__(self): """ @abstract Object initializer and bootstraps first object. """ self.__flags__ = {} self.default_flags = 0 | FLAG_READ | FLAG_WRITE self.__flags__['self'] = self.default_flags def __hasbit__(self, byteVal: int, bit: int=0) -> bool: """ @abstract Private method to test if bit flag is set. @param byteVal [int] Binary flag set @param bit [int] Bit position to check true @returns [bool] True if bit value is 1 """ if DEBUG is 1: print('1?' + str(self.__getbit__(byteVal, bit)) + ' ' + str(self.__getbit__(byteVal, bit) is 1)) return self.__getbit__(byteVal, bit) is 1 def __getbit__(self, byteVal: int, bit: int=0) -> int: """ @abstract Returns the value of selected bit via bitwise operation @param byteVal [int] Binary flag set @param bit [int] Bit position to return @returns [int] 0|1 of value at bit position """ assert 0 <= bit < 8 _mask = 254 if DEBUG is 1: _print = '' _marker = '' _value = '' for x in range(0, 8): _print += str((byteVal >> x | _mask) - _mask) if bit - 1 is x: _marker += '^' _value += str(bit) else: _marker += ' ' _value += ' ' print(_print) print(_marker) print(_value) return (byteVal >> bit - 1 | _mask) - _mask def __setbit__(self, byteVal: int, bit: int=0, value: int=0) -> int: """ @abstract Set explicit bit value of flag @param byteVal [int] Byte value to modify @param bit [int] Bit position alter @param value [int] 0|1 value to alter to @returns [int] 0|1 of value at bit position """ assert -1 < bit < 8 assert -1 < value < 2 if byteVal == -1: return 0 | FLAG_READ _ret_val = byteVal _bit_val = self.__getbit__(byteVal, bit) if _bitVal == value: pass elif _bitVal < value: _ret_val = byteVal | 2 ** bit elif _bitVal > value: _ret_val = byteVal - 2 ** bit else: raise exception("we got somewhere we shouldn't have") return _retVal def has_flag(self, name: str) -> bool: """ @abstract Checks if `name` is a valid flag @param name [str] Flag key name to resolve @returns [bool] True on found/existing """ return name in self.__flags__.keys() @property def protected(self) -> bool: """ @abstract Returns whether the parent is currently protected @returns [bool] True if write flag is 0 """ return not self.is_writeable(name='self') def is_writeable(self, name: str='self') -> bool: """ @abstract Returns whether the object is currently protected @param name [str] Flag name @returns [bool] True if write flag is 1 """ if not self.has_flag(name): raise exception('invalid flag name `%s` referenced' % name) if DEBUG is 1: print('hasbit=' + str(self.__hasbit__(self.__flags__[name], FLAG_WRITE))) return self.__hasbit__(self.__flags__[name], FLAG_WRITE) def lock(self, name: str='self') -> None: """ @abstract Set the writeable flag to readonly @param name [str] Flag name @returns [None] """ if not self.has_flag(name): raise exception('invalid flag name referenced') _value = self.__setbit__(self.__flags__[name], FLAG_WRITE, 0) self.update_flag(name, _value) def unlock(self, name: str='self') -> None: """ @abstract Set the writeable flag to readonly @param name [str] Flag name @returns [None] """ if not self.has_flag(name): raise key_error('invalid flag name referenced') _value = self.__setbit__(self.__flags__[name], FLAG_WRITE, 1) self.update_flag(name, _value) def test_bit(self, name: str, flag: int) -> bool: """ @abstract Boolean test for flag currently set @param name [str; Flag name @param flag [int] Bit position or FLAG_xxxxx global @returns [bool] True is requested value is set """ return self.__hasbit__(self.get_flag(name), flag) def get_flag(self, name: str) -> int: """ @abstract Return the value of flag @param name: str; flag name @returns [int] Byte value of flag set """ if not self.has_flag(name): raise exception('invalid flag name referenced') return self.__flags__[name] def set_flag(self, name: str, flags: int=0) -> bool: """ @abstract Set a new flag with a specific bit flag @param name [str] Flag name @param flags [int] #optional Bit mask to set to @returns [bool] True on success """ if self.has_flag(name): return self.update_flag(name, flags) if not self.protected: self.__flags__.update({name: flags}) return True raise exception('cannot add flag, parent locked') def del_flag(self, name: str) -> bool: """ @abstract Remove a flag @param name [str] Flag name @returns [bool] True on success """ if not self.protected: del self.__flags__[name] return True raise exception('cannot delete flag, parent locked') def update_flag(self, name: str, flags: int) -> bool: """ @abstract update a flag to specified flag value @param name [str] Flag name @param flags [int] Bit mask to set @returns [bool] True on success """ if not self.protected and self.has_flag(name): self.__flags__[name] = flags return True raise exception('invalid flag name referenced')
languages = {} banned = [] results = {} data = input().split("-") while "exam finished" not in data: if "banned" in data: banned.append(data[0]) data = input().split("-") continue name = data[0] language = data[1] points = int(data[2]) current_points = 0 if language in languages: languages[language] += 1 if name in results: if points > results[name]: results[name] = points else: results[name] = points else: languages[language] = 1 results[name] = points data = input().split("-") results = dict(sorted(results.items(), key=lambda x: (-x[1], x[0]))) languages = dict(sorted(languages.items(), key=lambda x: (-x[1], x[0]))) print("Results:") for name in results: if name in banned: continue else: print(f"{name} | {results[name]}") print("Submissions:") [print(f"{language} - {languages[language]}") for language in languages]
languages = {} banned = [] results = {} data = input().split('-') while 'exam finished' not in data: if 'banned' in data: banned.append(data[0]) data = input().split('-') continue name = data[0] language = data[1] points = int(data[2]) current_points = 0 if language in languages: languages[language] += 1 if name in results: if points > results[name]: results[name] = points else: results[name] = points else: languages[language] = 1 results[name] = points data = input().split('-') results = dict(sorted(results.items(), key=lambda x: (-x[1], x[0]))) languages = dict(sorted(languages.items(), key=lambda x: (-x[1], x[0]))) print('Results:') for name in results: if name in banned: continue else: print(f'{name} | {results[name]}') print('Submissions:') [print(f'{language} - {languages[language]}') for language in languages]
#!/usr/bin/env python # -*- coding: utf-8 -*- """test_pycmake ---------------------------------- Tests for `pycmake` module. """
"""test_pycmake ---------------------------------- Tests for `pycmake` module. """
""" This package contains implementation of the individual components of the topic coherence pipeline. """
""" This package contains implementation of the individual components of the topic coherence pipeline. """
# -*- coding: utf-8 -*- { 'name': "se_openeducat_se_idr", 'summary': """ se_openeducat_se_idr """, 'description': """ Openeducat SE IDR """, 'author': "Alejandro", 'category': 'Uncategorized', 'version': '0.1', 'depends': ['base','openeducat_core','openeducat_fees'], 'data': [ 'security/ir.model.access.csv', 'views/op_student.xml', 'views/student_view.xml', 'views/account_payment_view.xml' ], }
{'name': 'se_openeducat_se_idr', 'summary': '\n se_openeducat_se_idr\n ', 'description': '\n Openeducat SE IDR\n ', 'author': 'Alejandro', 'category': 'Uncategorized', 'version': '0.1', 'depends': ['base', 'openeducat_core', 'openeducat_fees'], 'data': ['security/ir.model.access.csv', 'views/op_student.xml', 'views/student_view.xml', 'views/account_payment_view.xml']}
''' Generic functions for files ''' class FileOps: def open(self, name): ''' Open the file and return a string ''' with open(name, 'rb') as f: return f.read()
""" Generic functions for files """ class Fileops: def open(self, name): """ Open the file and return a string """ with open(name, 'rb') as f: return f.read()
''' Caesar Cypher, by Jackson Urquhart - 19 February 2022 @ 22:47 ''' in_str = str(input("\nEnter phrase: \n")) # Gets in_string from user key = int(input("\nEnter key: \n")) # Gets key from user keep_upper = str(input("\nMaintain case? y/n\n")) # Determines whether user wants to maintiain case values def encrypt(in_str, key): # Def encrypt out_str = '' # Object to be returned for letter in in_str: # For string in in_str if 96 < ord(letter.lower()) < 123: # If letter is a letter if keep_upper=='y' and letter.isupper(): # If letter is upper upper_status = True # Set upper_status to True letter=letter.lower() char=ord(letter) # Set char to ascii of letter char += key # Add key to ascii of letter if char>122: # If char with key is > 122 (z) print(char) char = 97+(123-char) # Subtract 123 from char and add additional value to 97 (a) print(char) if upper_status is True: # If letter is upper char -= 32 # Make char ASCII for uppper letter upper_status = False # Reset upper status out_str += chr(char) # Add str value of char to out_str else: # If letter is not a letter out_str += letter # Add letter return(out_str) # Return out_str out_str=encrypt(in_str, key) # Defines out_str as the reslt of main print(out_str) # Print out_str
""" Caesar Cypher, by Jackson Urquhart - 19 February 2022 @ 22:47 """ in_str = str(input('\nEnter phrase: \n')) key = int(input('\nEnter key: \n')) keep_upper = str(input('\nMaintain case? y/n\n')) def encrypt(in_str, key): out_str = '' for letter in in_str: if 96 < ord(letter.lower()) < 123: if keep_upper == 'y' and letter.isupper(): upper_status = True letter = letter.lower() char = ord(letter) char += key if char > 122: print(char) char = 97 + (123 - char) print(char) if upper_status is True: char -= 32 upper_status = False out_str += chr(char) else: out_str += letter return out_str out_str = encrypt(in_str, key) print(out_str)
# # PySNMP MIB module ETHER-WIS (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ETHER-WIS # Produced by pysmi-0.3.4 at Wed May 1 13:06:45 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Integer32, transmission, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Bits, IpAddress, MibIdentifier, Counter64, Unsigned32, ObjectIdentity, NotificationType, iso, Counter32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "transmission", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Bits", "IpAddress", "MibIdentifier", "Counter64", "Unsigned32", "ObjectIdentity", "NotificationType", "iso", "Counter32", "TimeTicks") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") sonetMediumLineType, sonetFarEndPathStuff2, sonetSESthresholdSet, sonetMediumStuff2, sonetSectionStuff2, sonetPathCurrentWidth, sonetPathStuff2, sonetMediumCircuitIdentifier, sonetMediumLoopbackConfig, sonetFarEndLineStuff2, sonetLineStuff2, sonetMediumLineCoding, sonetMediumType = mibBuilder.importSymbols("SONET-MIB", "sonetMediumLineType", "sonetFarEndPathStuff2", "sonetSESthresholdSet", "sonetMediumStuff2", "sonetSectionStuff2", "sonetPathCurrentWidth", "sonetPathStuff2", "sonetMediumCircuitIdentifier", "sonetMediumLoopbackConfig", "sonetFarEndLineStuff2", "sonetLineStuff2", "sonetMediumLineCoding", "sonetMediumType") etherWisMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 134)) etherWisMIB.setRevisions(('2003-09-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: etherWisMIB.setRevisionsDescriptions(('Initial version, published as RFC 3637.',)) if mibBuilder.loadTexts: etherWisMIB.setLastUpdated('200309190000Z') if mibBuilder.loadTexts: etherWisMIB.setOrganization('IETF Ethernet Interfaces and Hub MIB Working Group') if mibBuilder.loadTexts: etherWisMIB.setContactInfo('WG charter: http://www.ietf.org/html.charters/hubmib-charter.html Mailing Lists: General Discussion: hubmib@ietf.org To Subscribe: hubmib-request@ietf.org In Body: subscribe your_email_address Chair: Dan Romascanu Postal: Avaya Inc. Atidim Technology Park, Bldg. 3 Tel Aviv 61131 Israel Tel: +972 3 645 8414 E-mail: dromasca@avaya.com Editor: C. M. Heard Postal: 600 Rainbow Dr. #141 Mountain View, CA 94041-2542 USA Tel: +1 650-964-8391 E-mail: heard@pobox.com') if mibBuilder.loadTexts: etherWisMIB.setDescription("The objects in this MIB module are used in conjunction with objects in the SONET-MIB and the MAU-MIB to manage the Ethernet WAN Interface Sublayer (WIS). The following reference is used throughout this MIB module: [IEEE 802.3 Std] refers to: IEEE Std 802.3, 2000 Edition: 'IEEE Standard for Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications', as amended by IEEE Std 802.3ae-2002, 'IEEE Standard for Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications - Media Access Control (MAC) Parameters, Physical Layer and Management Parameters for 10 Gb/s Operation', 30 August 2002. Of particular interest are Clause 50, 'WAN Interface Sublayer (WIS), type 10GBASE-W', Clause 30, '10Mb/s, 100Mb/s, 1000Mb/s, and 10Gb/s MAC Control, and Link Aggregation Management', and Clause 45, 'Management Data Input/Output (MDIO) Interface'. Copyright (C) The Internet Society (2003). This version of this MIB module is part of RFC 3637; see the RFC itself for full legal notices.") etherWisObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1)) etherWisObjectsPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2)) etherWisConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3)) etherWisDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 1)) etherWisSection = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 2)) etherWisPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 1)) etherWisFarEndPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 2)) etherWisDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1), ) if mibBuilder.loadTexts: etherWisDeviceTable.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTable.setDescription('The table for Ethernet WIS devices') etherWisDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisDeviceEntry.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceEntry.setDescription('An entry in the Ethernet WIS device table. For each instance of this object there MUST be a corresponding instance of sonetMediumEntry.') etherWisDeviceTxTestPatternMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("squareWave", 2), ("prbs31", 3), ("mixedFrequency", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setDescription('This variable controls the transmit test pattern mode. The value none(1) puts the the WIS transmit path into the normal operating mode. The value squareWave(2) puts the WIS transmit path into the square wave test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.1. The value prbs31(3) puts the WIS transmit path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS transmit path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') etherWisDeviceRxTestPatternMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("prbs31", 3), ("mixedFrequency", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setDescription('This variable controls the receive test pattern mode. The value none(1) puts the the WIS receive path into the normal operating mode. The value prbs31(3) puts the WIS receive path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS receive path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') etherWisDeviceRxTestPatternErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1), and 45.2.2.8, 10G WIS test pattern error counter register (2.9).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setDescription('This object counts the number of errors detected when the WIS receive path is operating in the PRBS31 test pattern mode. It is reset to zero when the WIS receive path initially enters that mode, and it increments each time the PRBS pattern checker detects an error as described in [IEEE 802.3 Std.] subclause 50.3.8.2 unless its value is 65535, in which case it remains unchanged. This object is writeable so that it may be reset upon explicit request of a command generator application while the WIS receive path continues to operate in PRBS31 test pattern mode.') etherWisSectionCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1), ) if mibBuilder.loadTexts: etherWisSectionCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentTable.setDescription('The table for the current state of Ethernet WIS sections.') etherWisSectionCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setDescription('An entry in the etherWisSectionCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetSectionCurrentEntry.') etherWisSectionCurrentJ0Transmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.8, aJ0ValueTX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setDescription("This is the 16-octet section trace message that is transmitted in the J0 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the section trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") etherWisSectionCurrentJ0Received = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.9, aJ0ValueRX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setDescription('This is the 16-octet section trace message that was most recently received in the J0 byte.') etherWisPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1), ) if mibBuilder.loadTexts: etherWisPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentTable.setDescription('The table for the current state of Ethernet WIS paths.') etherWisPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentEntry.setDescription('An entry in the etherWisPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetPathCurrentEntry.') etherWisPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 1), Bits().clone(namedValues=NamedValues(("etherWisPathLOP", 0), ("etherWisPathAIS", 1), ("etherWisPathPLM", 2), ("etherWisPathLCD", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.18, aPathStatus.') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setDescription('This variable indicates the current status of the path payload with a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisPathLOP(0) This bit is set to indicate that an LOP-P (Loss of Pointer - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSLOP MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathAIS(1) This bit is set to indicate that an AIS-P (Alarm Indication Signal - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSAIS MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathPLM(1) This bit is set to indicate that a PLM-P (Payload Label Mismatch - Path) defect is being experienced. Note: when this bit is set, sonetPathSignalLabelMismatch MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathLCD(3) This bit is set to indicate that an LCD-P (Loss of Codegroup Delination - Path) defect is being experienced. Since this defect is detected by the PCS and not by the path layer itself, there is no corresponding bit in sonetPathCurrentStatus.') etherWisPathCurrentJ1Transmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.23, aJ1ValueTX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setDescription("This is the 16-octet path trace message that is transmitted in the J1 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the path trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") etherWisPathCurrentJ1Received = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.24, aJ1ValueRX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setDescription('This is the 16-octet path trace message that was most recently received in the J1 byte.') etherWisFarEndPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1), ) if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setDescription('The table for the current far-end state of Ethernet WIS paths.') etherWisFarEndPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setDescription('An entry in the etherWisFarEndPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetFarEndPathCurrentEntry.') etherWisFarEndPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1, 1), Bits().clone(namedValues=NamedValues(("etherWisFarEndPayloadDefect", 0), ("etherWisFarEndServerDefect", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.25, aFarEndPathStatus.') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setDescription('This variable indicates the current status at the far end of the path using a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisFarEndPayloadDefect(0) A far end payload defect (i.e., far end PLM-P or LCD-P) is currently being signaled in G1 bits 5-7. etherWisFarEndServerDefect(1) A far end server defect (i.e., far end LOP-P or AIS-P) is currently being signaled in G1 bits 5-7. Note: when this bit is set, sonetPathSTSRDI MUST be set in the corresponding instance of sonetPathCurrentStatus.') etherWisGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 1)) etherWisCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 2)) etherWisDeviceGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 1)).setObjects(("ETHER-WIS", "etherWisDeviceTxTestPatternMode"), ("ETHER-WIS", "etherWisDeviceRxTestPatternMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisDeviceGroupBasic = etherWisDeviceGroupBasic.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupBasic.setDescription('A collection of objects that support test features required of all WIS devices.') etherWisDeviceGroupExtra = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 2)).setObjects(("ETHER-WIS", "etherWisDeviceRxTestPatternErrors")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisDeviceGroupExtra = etherWisDeviceGroupExtra.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupExtra.setDescription('A collection of objects that support optional WIS device test features.') etherWisSectionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 3)).setObjects(("ETHER-WIS", "etherWisSectionCurrentJ0Transmitted"), ("ETHER-WIS", "etherWisSectionCurrentJ0Received")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisSectionGroup = etherWisSectionGroup.setStatus('current') if mibBuilder.loadTexts: etherWisSectionGroup.setDescription('A collection of objects that provide required information about a WIS section.') etherWisPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 4)).setObjects(("ETHER-WIS", "etherWisPathCurrentStatus"), ("ETHER-WIS", "etherWisPathCurrentJ1Transmitted"), ("ETHER-WIS", "etherWisPathCurrentJ1Received")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisPathGroup = etherWisPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisPathGroup.setDescription('A collection of objects that provide required information about a WIS path.') etherWisFarEndPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 5)).setObjects(("ETHER-WIS", "etherWisFarEndPathCurrentStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisFarEndPathGroup = etherWisFarEndPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathGroup.setDescription('A collection of objects that provide required information about the far end of a WIS path.') etherWisCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 134, 3, 2, 1)).setObjects(("ETHER-WIS", "etherWisDeviceGroupBasic"), ("ETHER-WIS", "etherWisSectionGroup"), ("ETHER-WIS", "etherWisPathGroup"), ("ETHER-WIS", "etherWisFarEndPathGroup"), ("SONET-MIB", "sonetMediumStuff2"), ("SONET-MIB", "sonetSectionStuff2"), ("SONET-MIB", "sonetLineStuff2"), ("SONET-MIB", "sonetFarEndLineStuff2"), ("SONET-MIB", "sonetPathStuff2"), ("SONET-MIB", "sonetFarEndPathStuff2")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisCompliance = etherWisCompliance.setStatus('current') if mibBuilder.loadTexts: etherWisCompliance.setDescription('The compliance statement for interfaces that include the Ethernet WIS. Compliance with the following external compliance statements is prerequisite: MIB Module Compliance Statement ---------- -------------------- IF-MIB ifCompliance3 IF-INVERTED-STACK-MIB ifInvCompliance EtherLike-MIB dot3Compliance2 MAU-MIB mauModIfCompl3') mibBuilder.exportSymbols("ETHER-WIS", etherWisDevice=etherWisDevice, etherWisPathCurrentEntry=etherWisPathCurrentEntry, PYSNMP_MODULE_ID=etherWisMIB, etherWisObjectsPath=etherWisObjectsPath, etherWisPathCurrentStatus=etherWisPathCurrentStatus, etherWisDeviceGroupExtra=etherWisDeviceGroupExtra, etherWisDeviceRxTestPatternErrors=etherWisDeviceRxTestPatternErrors, etherWisMIB=etherWisMIB, etherWisPathCurrentJ1Transmitted=etherWisPathCurrentJ1Transmitted, etherWisDeviceRxTestPatternMode=etherWisDeviceRxTestPatternMode, etherWisSectionCurrentJ0Received=etherWisSectionCurrentJ0Received, etherWisSectionCurrentJ0Transmitted=etherWisSectionCurrentJ0Transmitted, etherWisFarEndPathCurrentStatus=etherWisFarEndPathCurrentStatus, etherWisFarEndPath=etherWisFarEndPath, etherWisPath=etherWisPath, etherWisSectionCurrentEntry=etherWisSectionCurrentEntry, etherWisGroups=etherWisGroups, etherWisDeviceGroupBasic=etherWisDeviceGroupBasic, etherWisPathGroup=etherWisPathGroup, etherWisPathCurrentTable=etherWisPathCurrentTable, etherWisDeviceTxTestPatternMode=etherWisDeviceTxTestPatternMode, etherWisObjects=etherWisObjects, etherWisPathCurrentJ1Received=etherWisPathCurrentJ1Received, etherWisDeviceEntry=etherWisDeviceEntry, etherWisFarEndPathCurrentTable=etherWisFarEndPathCurrentTable, etherWisSectionGroup=etherWisSectionGroup, etherWisCompliances=etherWisCompliances, etherWisSection=etherWisSection, etherWisFarEndPathGroup=etherWisFarEndPathGroup, etherWisFarEndPathCurrentEntry=etherWisFarEndPathCurrentEntry, etherWisSectionCurrentTable=etherWisSectionCurrentTable, etherWisCompliance=etherWisCompliance, etherWisConformance=etherWisConformance, etherWisDeviceTable=etherWisDeviceTable)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, constraints_intersection, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (integer32, transmission, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, bits, ip_address, mib_identifier, counter64, unsigned32, object_identity, notification_type, iso, counter32, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'transmission', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Bits', 'IpAddress', 'MibIdentifier', 'Counter64', 'Unsigned32', 'ObjectIdentity', 'NotificationType', 'iso', 'Counter32', 'TimeTicks') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') (sonet_medium_line_type, sonet_far_end_path_stuff2, sonet_se_sthreshold_set, sonet_medium_stuff2, sonet_section_stuff2, sonet_path_current_width, sonet_path_stuff2, sonet_medium_circuit_identifier, sonet_medium_loopback_config, sonet_far_end_line_stuff2, sonet_line_stuff2, sonet_medium_line_coding, sonet_medium_type) = mibBuilder.importSymbols('SONET-MIB', 'sonetMediumLineType', 'sonetFarEndPathStuff2', 'sonetSESthresholdSet', 'sonetMediumStuff2', 'sonetSectionStuff2', 'sonetPathCurrentWidth', 'sonetPathStuff2', 'sonetMediumCircuitIdentifier', 'sonetMediumLoopbackConfig', 'sonetFarEndLineStuff2', 'sonetLineStuff2', 'sonetMediumLineCoding', 'sonetMediumType') ether_wis_mib = module_identity((1, 3, 6, 1, 2, 1, 10, 134)) etherWisMIB.setRevisions(('2003-09-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: etherWisMIB.setRevisionsDescriptions(('Initial version, published as RFC 3637.',)) if mibBuilder.loadTexts: etherWisMIB.setLastUpdated('200309190000Z') if mibBuilder.loadTexts: etherWisMIB.setOrganization('IETF Ethernet Interfaces and Hub MIB Working Group') if mibBuilder.loadTexts: etherWisMIB.setContactInfo('WG charter: http://www.ietf.org/html.charters/hubmib-charter.html Mailing Lists: General Discussion: hubmib@ietf.org To Subscribe: hubmib-request@ietf.org In Body: subscribe your_email_address Chair: Dan Romascanu Postal: Avaya Inc. Atidim Technology Park, Bldg. 3 Tel Aviv 61131 Israel Tel: +972 3 645 8414 E-mail: dromasca@avaya.com Editor: C. M. Heard Postal: 600 Rainbow Dr. #141 Mountain View, CA 94041-2542 USA Tel: +1 650-964-8391 E-mail: heard@pobox.com') if mibBuilder.loadTexts: etherWisMIB.setDescription("The objects in this MIB module are used in conjunction with objects in the SONET-MIB and the MAU-MIB to manage the Ethernet WAN Interface Sublayer (WIS). The following reference is used throughout this MIB module: [IEEE 802.3 Std] refers to: IEEE Std 802.3, 2000 Edition: 'IEEE Standard for Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications', as amended by IEEE Std 802.3ae-2002, 'IEEE Standard for Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications - Media Access Control (MAC) Parameters, Physical Layer and Management Parameters for 10 Gb/s Operation', 30 August 2002. Of particular interest are Clause 50, 'WAN Interface Sublayer (WIS), type 10GBASE-W', Clause 30, '10Mb/s, 100Mb/s, 1000Mb/s, and 10Gb/s MAC Control, and Link Aggregation Management', and Clause 45, 'Management Data Input/Output (MDIO) Interface'. Copyright (C) The Internet Society (2003). This version of this MIB module is part of RFC 3637; see the RFC itself for full legal notices.") ether_wis_objects = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 1)) ether_wis_objects_path = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 2)) ether_wis_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 3)) ether_wis_device = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 1)) ether_wis_section = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 2)) ether_wis_path = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 1)) ether_wis_far_end_path = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 2)) ether_wis_device_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1)) if mibBuilder.loadTexts: etherWisDeviceTable.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTable.setDescription('The table for Ethernet WIS devices') ether_wis_device_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisDeviceEntry.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceEntry.setDescription('An entry in the Ethernet WIS device table. For each instance of this object there MUST be a corresponding instance of sonetMediumEntry.') ether_wis_device_tx_test_pattern_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('squareWave', 2), ('prbs31', 3), ('mixedFrequency', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setDescription('This variable controls the transmit test pattern mode. The value none(1) puts the the WIS transmit path into the normal operating mode. The value squareWave(2) puts the WIS transmit path into the square wave test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.1. The value prbs31(3) puts the WIS transmit path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS transmit path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') ether_wis_device_rx_test_pattern_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('none', 1), ('prbs31', 3), ('mixedFrequency', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setDescription('This variable controls the receive test pattern mode. The value none(1) puts the the WIS receive path into the normal operating mode. The value prbs31(3) puts the WIS receive path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS receive path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') ether_wis_device_rx_test_pattern_errors = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1), and 45.2.2.8, 10G WIS test pattern error counter register (2.9).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setDescription('This object counts the number of errors detected when the WIS receive path is operating in the PRBS31 test pattern mode. It is reset to zero when the WIS receive path initially enters that mode, and it increments each time the PRBS pattern checker detects an error as described in [IEEE 802.3 Std.] subclause 50.3.8.2 unless its value is 65535, in which case it remains unchanged. This object is writeable so that it may be reset upon explicit request of a command generator application while the WIS receive path continues to operate in PRBS31 test pattern mode.') ether_wis_section_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1)) if mibBuilder.loadTexts: etherWisSectionCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentTable.setDescription('The table for the current state of Ethernet WIS sections.') ether_wis_section_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setDescription('An entry in the etherWisSectionCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetSectionCurrentEntry.') ether_wis_section_current_j0_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.8, aJ0ValueTX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setDescription("This is the 16-octet section trace message that is transmitted in the J0 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the section trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") ether_wis_section_current_j0_received = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.9, aJ0ValueRX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setDescription('This is the 16-octet section trace message that was most recently received in the J0 byte.') ether_wis_path_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1)) if mibBuilder.loadTexts: etherWisPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentTable.setDescription('The table for the current state of Ethernet WIS paths.') ether_wis_path_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentEntry.setDescription('An entry in the etherWisPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetPathCurrentEntry.') ether_wis_path_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 1), bits().clone(namedValues=named_values(('etherWisPathLOP', 0), ('etherWisPathAIS', 1), ('etherWisPathPLM', 2), ('etherWisPathLCD', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.18, aPathStatus.') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setDescription('This variable indicates the current status of the path payload with a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisPathLOP(0) This bit is set to indicate that an LOP-P (Loss of Pointer - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSLOP MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathAIS(1) This bit is set to indicate that an AIS-P (Alarm Indication Signal - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSAIS MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathPLM(1) This bit is set to indicate that a PLM-P (Payload Label Mismatch - Path) defect is being experienced. Note: when this bit is set, sonetPathSignalLabelMismatch MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathLCD(3) This bit is set to indicate that an LCD-P (Loss of Codegroup Delination - Path) defect is being experienced. Since this defect is detected by the PCS and not by the path layer itself, there is no corresponding bit in sonetPathCurrentStatus.') ether_wis_path_current_j1_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.23, aJ1ValueTX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setDescription("This is the 16-octet path trace message that is transmitted in the J1 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the path trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") ether_wis_path_current_j1_received = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.24, aJ1ValueRX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setDescription('This is the 16-octet path trace message that was most recently received in the J1 byte.') ether_wis_far_end_path_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1)) if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setDescription('The table for the current far-end state of Ethernet WIS paths.') ether_wis_far_end_path_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setDescription('An entry in the etherWisFarEndPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetFarEndPathCurrentEntry.') ether_wis_far_end_path_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1, 1), bits().clone(namedValues=named_values(('etherWisFarEndPayloadDefect', 0), ('etherWisFarEndServerDefect', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.25, aFarEndPathStatus.') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setDescription('This variable indicates the current status at the far end of the path using a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisFarEndPayloadDefect(0) A far end payload defect (i.e., far end PLM-P or LCD-P) is currently being signaled in G1 bits 5-7. etherWisFarEndServerDefect(1) A far end server defect (i.e., far end LOP-P or AIS-P) is currently being signaled in G1 bits 5-7. Note: when this bit is set, sonetPathSTSRDI MUST be set in the corresponding instance of sonetPathCurrentStatus.') ether_wis_groups = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 1)) ether_wis_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 2)) ether_wis_device_group_basic = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 1)).setObjects(('ETHER-WIS', 'etherWisDeviceTxTestPatternMode'), ('ETHER-WIS', 'etherWisDeviceRxTestPatternMode')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_device_group_basic = etherWisDeviceGroupBasic.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupBasic.setDescription('A collection of objects that support test features required of all WIS devices.') ether_wis_device_group_extra = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 2)).setObjects(('ETHER-WIS', 'etherWisDeviceRxTestPatternErrors')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_device_group_extra = etherWisDeviceGroupExtra.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupExtra.setDescription('A collection of objects that support optional WIS device test features.') ether_wis_section_group = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 3)).setObjects(('ETHER-WIS', 'etherWisSectionCurrentJ0Transmitted'), ('ETHER-WIS', 'etherWisSectionCurrentJ0Received')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_section_group = etherWisSectionGroup.setStatus('current') if mibBuilder.loadTexts: etherWisSectionGroup.setDescription('A collection of objects that provide required information about a WIS section.') ether_wis_path_group = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 4)).setObjects(('ETHER-WIS', 'etherWisPathCurrentStatus'), ('ETHER-WIS', 'etherWisPathCurrentJ1Transmitted'), ('ETHER-WIS', 'etherWisPathCurrentJ1Received')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_path_group = etherWisPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisPathGroup.setDescription('A collection of objects that provide required information about a WIS path.') ether_wis_far_end_path_group = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 5)).setObjects(('ETHER-WIS', 'etherWisFarEndPathCurrentStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_far_end_path_group = etherWisFarEndPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathGroup.setDescription('A collection of objects that provide required information about the far end of a WIS path.') ether_wis_compliance = module_compliance((1, 3, 6, 1, 2, 1, 10, 134, 3, 2, 1)).setObjects(('ETHER-WIS', 'etherWisDeviceGroupBasic'), ('ETHER-WIS', 'etherWisSectionGroup'), ('ETHER-WIS', 'etherWisPathGroup'), ('ETHER-WIS', 'etherWisFarEndPathGroup'), ('SONET-MIB', 'sonetMediumStuff2'), ('SONET-MIB', 'sonetSectionStuff2'), ('SONET-MIB', 'sonetLineStuff2'), ('SONET-MIB', 'sonetFarEndLineStuff2'), ('SONET-MIB', 'sonetPathStuff2'), ('SONET-MIB', 'sonetFarEndPathStuff2')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_compliance = etherWisCompliance.setStatus('current') if mibBuilder.loadTexts: etherWisCompliance.setDescription('The compliance statement for interfaces that include the Ethernet WIS. Compliance with the following external compliance statements is prerequisite: MIB Module Compliance Statement ---------- -------------------- IF-MIB ifCompliance3 IF-INVERTED-STACK-MIB ifInvCompliance EtherLike-MIB dot3Compliance2 MAU-MIB mauModIfCompl3') mibBuilder.exportSymbols('ETHER-WIS', etherWisDevice=etherWisDevice, etherWisPathCurrentEntry=etherWisPathCurrentEntry, PYSNMP_MODULE_ID=etherWisMIB, etherWisObjectsPath=etherWisObjectsPath, etherWisPathCurrentStatus=etherWisPathCurrentStatus, etherWisDeviceGroupExtra=etherWisDeviceGroupExtra, etherWisDeviceRxTestPatternErrors=etherWisDeviceRxTestPatternErrors, etherWisMIB=etherWisMIB, etherWisPathCurrentJ1Transmitted=etherWisPathCurrentJ1Transmitted, etherWisDeviceRxTestPatternMode=etherWisDeviceRxTestPatternMode, etherWisSectionCurrentJ0Received=etherWisSectionCurrentJ0Received, etherWisSectionCurrentJ0Transmitted=etherWisSectionCurrentJ0Transmitted, etherWisFarEndPathCurrentStatus=etherWisFarEndPathCurrentStatus, etherWisFarEndPath=etherWisFarEndPath, etherWisPath=etherWisPath, etherWisSectionCurrentEntry=etherWisSectionCurrentEntry, etherWisGroups=etherWisGroups, etherWisDeviceGroupBasic=etherWisDeviceGroupBasic, etherWisPathGroup=etherWisPathGroup, etherWisPathCurrentTable=etherWisPathCurrentTable, etherWisDeviceTxTestPatternMode=etherWisDeviceTxTestPatternMode, etherWisObjects=etherWisObjects, etherWisPathCurrentJ1Received=etherWisPathCurrentJ1Received, etherWisDeviceEntry=etherWisDeviceEntry, etherWisFarEndPathCurrentTable=etherWisFarEndPathCurrentTable, etherWisSectionGroup=etherWisSectionGroup, etherWisCompliances=etherWisCompliances, etherWisSection=etherWisSection, etherWisFarEndPathGroup=etherWisFarEndPathGroup, etherWisFarEndPathCurrentEntry=etherWisFarEndPathCurrentEntry, etherWisSectionCurrentTable=etherWisSectionCurrentTable, etherWisCompliance=etherWisCompliance, etherWisConformance=etherWisConformance, etherWisDeviceTable=etherWisDeviceTable)
print("hello world") #prin("how are you") def fa(): return fb() def fb(): return fc() def fc(): return 1 def suma(a, b): return a + b
print('hello world') def fa(): return fb() def fb(): return fc() def fc(): return 1 def suma(a, b): return a + b
# -*- coding: utf-8 -*- """ Created on Thu Jun 6 17:02:15 2019 @author: Administrator """ class Solution: def setZeroes(self, matrix: list) -> None: """ Do not return anything, modify matrix in-place instead. """ d = {} d['R'] = [] d['C'] = [] for r, val in enumerate(matrix): for c, v in enumerate(val): if v == 0: d['R'].append(r) d['C'].append(c) d['R'] = list(set(d['R'])) d['C'] = list(set(d['C'])) for p in range(len(matrix)): for q in range(len(matrix[p])): if p in d['R'] or q in d['C']: matrix[p][q] = 0 solu = Solution() matrix = [ [0,1,2,0], [3,4,5,2], [1,3,1,5] ] solu.setZeroes(matrix) print(matrix)
""" Created on Thu Jun 6 17:02:15 2019 @author: Administrator """ class Solution: def set_zeroes(self, matrix: list) -> None: """ Do not return anything, modify matrix in-place instead. """ d = {} d['R'] = [] d['C'] = [] for (r, val) in enumerate(matrix): for (c, v) in enumerate(val): if v == 0: d['R'].append(r) d['C'].append(c) d['R'] = list(set(d['R'])) d['C'] = list(set(d['C'])) for p in range(len(matrix)): for q in range(len(matrix[p])): if p in d['R'] or q in d['C']: matrix[p][q] = 0 solu = solution() matrix = [[0, 1, 2, 0], [3, 4, 5, 2], [1, 3, 1, 5]] solu.setZeroes(matrix) print(matrix)
# # PySNMP MIB module Nortel-Magellan-Passport-BaseRoutingMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-BaseRoutingMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:16:59 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint") RowStatus, Unsigned32, Gauge32, RowPointer, StorageType, Counter32, Integer32, DisplayString = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "RowStatus", "Unsigned32", "Gauge32", "RowPointer", "StorageType", "Counter32", "Integer32", "DisplayString") FixedPoint1, NonReplicated, DigitString, AsciiStringIndex = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "FixedPoint1", "NonReplicated", "DigitString", "AsciiStringIndex") components, passportMIBs = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "components", "passportMIBs") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") TimeTicks, MibIdentifier, Unsigned32, Bits, NotificationType, ModuleIdentity, Counter64, Gauge32, iso, ObjectIdentity, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "MibIdentifier", "Unsigned32", "Bits", "NotificationType", "ModuleIdentity", "Counter64", "Gauge32", "iso", "ObjectIdentity", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Integer32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") baseRoutingMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18)) rtg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40)) rtgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1), ) if mibBuilder.loadTexts: rtgRowStatusTable.setStatus('mandatory') rtgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex")) if mibBuilder.loadTexts: rtgRowStatusEntry.setStatus('mandatory') rtgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtgRowStatus.setStatus('mandatory') rtgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgComponentName.setStatus('mandatory') rtgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgStorageType.setStatus('mandatory') rtgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: rtgIndex.setStatus('mandatory') rtgProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12), ) if mibBuilder.loadTexts: rtgProvTable.setStatus('mandatory') rtgProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex")) if mibBuilder.loadTexts: rtgProvEntry.setStatus('mandatory') rtgTandemTraffic = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("allowed", 0), ("denied", 1))).clone('allowed')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtgTandemTraffic.setStatus('mandatory') rtgSplittingRegionIdsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407), ) if mibBuilder.loadTexts: rtgSplittingRegionIdsTable.setStatus('mandatory') rtgSplittingRegionIdsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgSplittingRegionIdsValue")) if mibBuilder.loadTexts: rtgSplittingRegionIdsEntry.setStatus('mandatory') rtgSplittingRegionIdsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 126))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtgSplittingRegionIdsValue.setStatus('mandatory') rtgSplittingRegionIdsRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 2), RowStatus()).setMaxAccess("writeonly") if mibBuilder.loadTexts: rtgSplittingRegionIdsRowStatus.setStatus('mandatory') rtgTop = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5)) rtgTopRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1), ) if mibBuilder.loadTexts: rtgTopRowStatusTable.setStatus('mandatory') rtgTopRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex")) if mibBuilder.loadTexts: rtgTopRowStatusEntry.setStatus('mandatory') rtgTopRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopRowStatus.setStatus('mandatory') rtgTopComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopComponentName.setStatus('mandatory') rtgTopStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopStorageType.setStatus('mandatory') rtgTopIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: rtgTopIndex.setStatus('mandatory') rtgTopStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11), ) if mibBuilder.loadTexts: rtgTopStatsTable.setStatus('mandatory') rtgTopStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex")) if mibBuilder.loadTexts: rtgTopStatsEntry.setStatus('mandatory') rtgTopControlPktRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlPktRx.setStatus('mandatory') rtgTopControlBytesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlBytesRx.setStatus('mandatory') rtgTopControlPktTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlPktTx.setStatus('mandatory') rtgTopControlBytesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlBytesTx.setStatus('mandatory') rtgTopNode = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2)) rtgTopNodeRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1), ) if mibBuilder.loadTexts: rtgTopNodeRowStatusTable.setStatus('mandatory') rtgTopNodeRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex")) if mibBuilder.loadTexts: rtgTopNodeRowStatusEntry.setStatus('mandatory') rtgTopNodeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeRowStatus.setStatus('mandatory') rtgTopNodeComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeComponentName.setStatus('mandatory') rtgTopNodeStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeStorageType.setStatus('mandatory') rtgTopNodeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeIndex.setStatus('mandatory') rtgTopNodeOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10), ) if mibBuilder.loadTexts: rtgTopNodeOperTable.setStatus('mandatory') rtgTopNodeOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex")) if mibBuilder.loadTexts: rtgTopNodeOperEntry.setStatus('mandatory') rtgTopNodeNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeNodeId.setStatus('mandatory') rtgTopNodeLg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2)) rtgTopNodeLgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1), ) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusTable.setStatus('mandatory') rtgTopNodeLgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex")) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusEntry.setStatus('mandatory') rtgTopNodeLgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgRowStatus.setStatus('mandatory') rtgTopNodeLgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgComponentName.setStatus('mandatory') rtgTopNodeLgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgStorageType.setStatus('mandatory') rtgTopNodeLgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeLgIndex.setStatus('mandatory') rtgTopNodeLgOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10), ) if mibBuilder.loadTexts: rtgTopNodeLgOperTable.setStatus('mandatory') rtgTopNodeLgOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex")) if mibBuilder.loadTexts: rtgTopNodeLgOperEntry.setStatus('mandatory') rtgTopNodeLgDelayMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgDelayMetric.setStatus('mandatory') rtgTopNodeLgTputMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTputMetric.setStatus('mandatory') rtgTopNodeLgLnnTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235), ) if mibBuilder.loadTexts: rtgTopNodeLgLnnTable.setStatus('mandatory') rtgTopNodeLgLnnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgLnnValue")) if mibBuilder.loadTexts: rtgTopNodeLgLnnEntry.setStatus('mandatory') rtgTopNodeLgLnnValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2047))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgLnnValue.setStatus('mandatory') rtgTopNodeLgTrkObj = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2)) rtgTopNodeLgTrkObjRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1), ) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusTable.setStatus('mandatory') rtgTopNodeLgTrkObjRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjIndex")) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusEntry.setStatus('mandatory') rtgTopNodeLgTrkObjRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatus.setStatus('mandatory') rtgTopNodeLgTrkObjComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjComponentName.setStatus('mandatory') rtgTopNodeLgTrkObjStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjStorageType.setStatus('mandatory') rtgTopNodeLgTrkObjIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjIndex.setStatus('mandatory') rtgTopNodeLgTrkObjOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10), ) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperTable.setStatus('mandatory') rtgTopNodeLgTrkObjOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjIndex")) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperEntry.setStatus('mandatory') rtgTopNodeLgTrkObjMaxReservableBwOut = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjMaxReservableBwOut.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkCost = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkCost.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkDelay.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkSecurity.setStatus('mandatory') rtgTopNodeLgTrkObjSupportedTrafficTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjSupportedTrafficTypes.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("terrestrial", 0), ("satellite", 1), ("trunkType1", 2), ("trunkType2", 3), ("trunkType3", 4), ("trunkType4", 5), ("trunkType5", 6), ("trunkType6", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkType.setStatus('mandatory') rtgTopNodeLgTrkObjCustomerParameter = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjCustomerParameter.setStatus('mandatory') rtgTopNodeLgTrkObjFarEndTrmLkInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjFarEndTrmLkInstance.setStatus('mandatory') rtgTopNodeLgTrkObjUnresTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234), ) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresTable.setStatus('mandatory') rtgTopNodeLgTrkObjUnresEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjUnresSetupPriorityIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex")) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresEntry.setStatus('mandatory') rtgTopNodeLgTrkObjUnresSetupPriorityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("bwPartOver255", 0)))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresSetupPriorityIndex.setStatus('mandatory') rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex.setStatus('mandatory') rtgTopNodeLgTrkObjUnresValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresValue.setStatus('mandatory') trm = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41)) trmRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1), ) if mibBuilder.loadTexts: trmRowStatusTable.setStatus('mandatory') trmRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex")) if mibBuilder.loadTexts: trmRowStatusEntry.setStatus('mandatory') trmRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmRowStatus.setStatus('mandatory') trmComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmComponentName.setStatus('mandatory') trmStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmStorageType.setStatus('mandatory') trmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: trmIndex.setStatus('mandatory') trmLk = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2)) trmLkRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1), ) if mibBuilder.loadTexts: trmLkRowStatusTable.setStatus('mandatory') trmLkRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex")) if mibBuilder.loadTexts: trmLkRowStatusEntry.setStatus('mandatory') trmLkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkRowStatus.setStatus('mandatory') trmLkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkComponentName.setStatus('mandatory') trmLkStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkStorageType.setStatus('mandatory') trmLkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))) if mibBuilder.loadTexts: trmLkIndex.setStatus('mandatory') trmLkOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10), ) if mibBuilder.loadTexts: trmLkOperTable.setStatus('mandatory') trmLkOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex")) if mibBuilder.loadTexts: trmLkOperEntry.setStatus('mandatory') trmLkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inactive", 1), ("joining", 2), ("online", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkStatus.setStatus('mandatory') trmLkThroughput = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 640000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkThroughput.setStatus('mandatory') trmLkDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 1500))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkDelay.setStatus('obsolete') trmLkMaxTxUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkMaxTxUnit.setStatus('mandatory') trmLkLinkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkLinkComponentName.setStatus('mandatory') trmLkDelayUsec = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 6), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(10, 15000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkDelayUsec.setStatus('mandatory') trmLkFwdStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11), ) if mibBuilder.loadTexts: trmLkFwdStatsTable.setStatus('mandatory') trmLkFwdStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex")) if mibBuilder.loadTexts: trmLkFwdStatsEntry.setStatus('mandatory') trmLkFciSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkFciSet.setStatus('mandatory') trmLkOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkOverflowAttempts.setStatus('mandatory') trmLkPathOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkPathOverflowAttempts.setStatus('mandatory') trmLkDiscardCongestedTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280), ) if mibBuilder.loadTexts: trmLkDiscardCongestedTable.setStatus('mandatory') trmLkDiscardCongestedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkDiscardCongestedIndex")) if mibBuilder.loadTexts: trmLkDiscardCongestedEntry.setStatus('mandatory') trmLkDiscardCongestedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("discardPriority1", 0), ("discardPriority2", 1), ("discardPriority3", 2)))) if mibBuilder.loadTexts: trmLkDiscardCongestedIndex.setStatus('mandatory') trmLkDiscardCongestedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkDiscardCongestedValue.setStatus('mandatory') trmLg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3)) trmLgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1), ) if mibBuilder.loadTexts: trmLgRowStatusTable.setStatus('mandatory') trmLgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex")) if mibBuilder.loadTexts: trmLgRowStatusEntry.setStatus('mandatory') trmLgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgRowStatus.setStatus('mandatory') trmLgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgComponentName.setStatus('mandatory') trmLgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgStorageType.setStatus('mandatory') trmLgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12))) if mibBuilder.loadTexts: trmLgIndex.setStatus('mandatory') trmLgLk = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2)) trmLgLkRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1), ) if mibBuilder.loadTexts: trmLgLkRowStatusTable.setStatus('mandatory') trmLgLkRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex")) if mibBuilder.loadTexts: trmLgLkRowStatusEntry.setStatus('mandatory') trmLgLkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkRowStatus.setStatus('mandatory') trmLgLkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkComponentName.setStatus('mandatory') trmLgLkStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkStorageType.setStatus('mandatory') trmLgLkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))) if mibBuilder.loadTexts: trmLgLkIndex.setStatus('mandatory') trmLgLkOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10), ) if mibBuilder.loadTexts: trmLgLkOperTable.setStatus('mandatory') trmLgLkOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex")) if mibBuilder.loadTexts: trmLgLkOperEntry.setStatus('mandatory') trmLgLkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inactive", 1), ("joining", 2), ("online", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkStatus.setStatus('mandatory') trmLgLkThroughput = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 640000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkThroughput.setStatus('mandatory') trmLgLkDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 1500))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkDelay.setStatus('obsolete') trmLgLkMaxTxUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkMaxTxUnit.setStatus('mandatory') trmLgLkLinkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkLinkComponentName.setStatus('mandatory') trmLgLkDelayUsec = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 6), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(10, 15000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkDelayUsec.setStatus('mandatory') trmLgLkFwdStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11), ) if mibBuilder.loadTexts: trmLgLkFwdStatsTable.setStatus('mandatory') trmLgLkFwdStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex")) if mibBuilder.loadTexts: trmLgLkFwdStatsEntry.setStatus('mandatory') trmLgLkFciSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkFciSet.setStatus('mandatory') trmLgLkOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkOverflowAttempts.setStatus('mandatory') trmLgLkPathOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkPathOverflowAttempts.setStatus('mandatory') trmLgLkDiscardCongestedTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280), ) if mibBuilder.loadTexts: trmLgLkDiscardCongestedTable.setStatus('mandatory') trmLgLkDiscardCongestedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkDiscardCongestedIndex")) if mibBuilder.loadTexts: trmLgLkDiscardCongestedEntry.setStatus('mandatory') trmLgLkDiscardCongestedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("discardPriority1", 0), ("discardPriority2", 1), ("discardPriority3", 2)))) if mibBuilder.loadTexts: trmLgLkDiscardCongestedIndex.setStatus('mandatory') trmLgLkDiscardCongestedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkDiscardCongestedValue.setStatus('mandatory') trmLgLNN = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3)) trmLgLNNRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1), ) if mibBuilder.loadTexts: trmLgLNNRowStatusTable.setStatus('mandatory') trmLgLNNRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLNNIndex")) if mibBuilder.loadTexts: trmLgLNNRowStatusEntry.setStatus('mandatory') trmLgLNNRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNRowStatus.setStatus('mandatory') trmLgLNNComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNComponentName.setStatus('mandatory') trmLgLNNStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNStorageType.setStatus('mandatory') trmLgLNNIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2047))) if mibBuilder.loadTexts: trmLgLNNIndex.setStatus('mandatory') trmLgLNNOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10), ) if mibBuilder.loadTexts: trmLgLNNOperTable.setStatus('mandatory') trmLgLNNOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLNNIndex")) if mibBuilder.loadTexts: trmLgLNNOperEntry.setStatus('mandatory') trmLgLNNLinkType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("trunk", 0), ("internalGateway", 1), ("externalGateway", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNLinkType.setStatus('mandatory') trmLgLNNAddressPlanComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 2), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNAddressPlanComponentName.setStatus('mandatory') npi = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43)) npiRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1), ) if mibBuilder.loadTexts: npiRowStatusTable.setStatus('mandatory') npiRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex")) if mibBuilder.loadTexts: npiRowStatusEntry.setStatus('mandatory') npiRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiRowStatus.setStatus('mandatory') npiComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiComponentName.setStatus('mandatory') npiStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiStorageType.setStatus('mandatory') npiIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("x121", 0), ("e164", 1)))) if mibBuilder.loadTexts: npiIndex.setStatus('mandatory') npiStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10), ) if mibBuilder.loadTexts: npiStatsTable.setStatus('mandatory') npiStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex")) if mibBuilder.loadTexts: npiStatsEntry.setStatus('mandatory') npiTotalDnas = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: npiTotalDnas.setStatus('mandatory') npiDna = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2)) npiDnaRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1), ) if mibBuilder.loadTexts: npiDnaRowStatusTable.setStatus('mandatory') npiDnaRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiDnaIndex")) if mibBuilder.loadTexts: npiDnaRowStatusEntry.setStatus('mandatory') npiDnaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaRowStatus.setStatus('mandatory') npiDnaComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaComponentName.setStatus('mandatory') npiDnaStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaStorageType.setStatus('mandatory') npiDnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 10), DigitString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))) if mibBuilder.loadTexts: npiDnaIndex.setStatus('mandatory') npiDnaInfoTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10), ) if mibBuilder.loadTexts: npiDnaInfoTable.setStatus('mandatory') npiDnaInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiDnaIndex")) if mibBuilder.loadTexts: npiDnaInfoEntry.setStatus('mandatory') npiDnaDestinationName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaDestinationName.setStatus('mandatory') baseRoutingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1)) baseRoutingGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5)) baseRoutingGroupBE00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1)) baseRoutingGroupBE00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1, 2)) baseRoutingCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3)) baseRoutingCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5)) baseRoutingCapabilitiesBE00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1)) baseRoutingCapabilitiesBE00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1, 2)) mibBuilder.exportSymbols("Nortel-Magellan-Passport-BaseRoutingMIB", rtgTopNodeLgIndex=rtgTopNodeLgIndex, rtgTopNodeLgRowStatus=rtgTopNodeLgRowStatus, rtgIndex=rtgIndex, trmLgLkFwdStatsTable=trmLgLkFwdStatsTable, npiDnaInfoTable=npiDnaInfoTable, trmRowStatusEntry=trmRowStatusEntry, trmLgLkDiscardCongestedTable=trmLgLkDiscardCongestedTable, npiDna=npiDna, trmLkComponentName=trmLkComponentName, rtgTopNodeLgTrkObjFarEndTrmLkInstance=rtgTopNodeLgTrkObjFarEndTrmLkInstance, trmLgLkRowStatusEntry=trmLgLkRowStatusEntry, rtgTopStatsTable=rtgTopStatsTable, trmLkLinkComponentName=trmLkLinkComponentName, trmLgLNNRowStatus=trmLgLNNRowStatus, rtgTopNodeIndex=rtgTopNodeIndex, trmLgLkDelayUsec=trmLgLkDelayUsec, trmLgLkRowStatusTable=trmLgLkRowStatusTable, npiRowStatusTable=npiRowStatusTable, trmLkDiscardCongestedTable=trmLkDiscardCongestedTable, trmLgLNNAddressPlanComponentName=trmLgLNNAddressPlanComponentName, rtgTopNodeStorageType=rtgTopNodeStorageType, rtgTopControlBytesRx=rtgTopControlBytesRx, trmLkPathOverflowAttempts=trmLkPathOverflowAttempts, baseRoutingCapabilities=baseRoutingCapabilities, trmRowStatus=trmRowStatus, trmLkRowStatus=trmLkRowStatus, baseRoutingMIB=baseRoutingMIB, rtgTopNodeLgTrkObjOperTable=rtgTopNodeLgTrkObjOperTable, trmLgLkThroughput=trmLgLkThroughput, npiTotalDnas=npiTotalDnas, rtgTopNodeLgStorageType=rtgTopNodeLgStorageType, rtgRowStatusEntry=rtgRowStatusEntry, rtgProvTable=rtgProvTable, rtgSplittingRegionIdsTable=rtgSplittingRegionIdsTable, npiDnaComponentName=npiDnaComponentName, rtgTopNodeLgTputMetric=rtgTopNodeLgTputMetric, npi=npi, trmLgRowStatus=trmLgRowStatus, rtgTopNodeLgTrkObjCustomerParameter=rtgTopNodeLgTrkObjCustomerParameter, trmLkThroughput=trmLkThroughput, rtgTopNodeLgRowStatusEntry=rtgTopNodeLgRowStatusEntry, rtgTopControlPktTx=rtgTopControlPktTx, rtgTopComponentName=rtgTopComponentName, trmLgComponentName=trmLgComponentName, trmLgLkMaxTxUnit=trmLgLkMaxTxUnit, rtgTopNodeLgTrkObjUnresSetupPriorityIndex=rtgTopNodeLgTrkObjUnresSetupPriorityIndex, baseRoutingGroupBE00=baseRoutingGroupBE00, rtgTopNodeLgTrkObjIndex=rtgTopNodeLgTrkObjIndex, trmComponentName=trmComponentName, rtgTopStatsEntry=rtgTopStatsEntry, baseRoutingGroupBE=baseRoutingGroupBE, trmStorageType=trmStorageType, rtgTopRowStatusEntry=rtgTopRowStatusEntry, rtgTopNodeLgTrkObjSupportedTrafficTypes=rtgTopNodeLgTrkObjSupportedTrafficTypes, rtgStorageType=rtgStorageType, rtgTopNode=rtgTopNode, npiDnaRowStatusEntry=npiDnaRowStatusEntry, rtgTopNodeLgOperEntry=rtgTopNodeLgOperEntry, npiStorageType=npiStorageType, rtgTopNodeLgTrkObjTrunkDelay=rtgTopNodeLgTrkObjTrunkDelay, rtgTopNodeLgTrkObjRowStatus=rtgTopNodeLgTrkObjRowStatus, rtgTopNodeOperEntry=rtgTopNodeOperEntry, rtgTopNodeLgTrkObjUnresTable=rtgTopNodeLgTrkObjUnresTable, trmLkStatus=trmLkStatus, trmLkDiscardCongestedEntry=trmLkDiscardCongestedEntry, trm=trm, trmLkDiscardCongestedValue=trmLkDiscardCongestedValue, trmIndex=trmIndex, rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex=rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex, trmLkRowStatusEntry=trmLkRowStatusEntry, rtgTopNodeLgTrkObjTrunkType=rtgTopNodeLgTrkObjTrunkType, trmLgLNNIndex=trmLgLNNIndex, trmLgLkStatus=trmLgLkStatus, rtgTopNodeLgLnnTable=rtgTopNodeLgLnnTable, rtgTopNodeLgLnnEntry=rtgTopNodeLgLnnEntry, npiStatsEntry=npiStatsEntry, trmLgLkOverflowAttempts=trmLgLkOverflowAttempts, trmLgLNN=trmLgLNN, trmLgIndex=trmLgIndex, trmLgLkPathOverflowAttempts=trmLgLkPathOverflowAttempts, trmRowStatusTable=trmRowStatusTable, npiComponentName=npiComponentName, trmLkRowStatusTable=trmLkRowStatusTable, rtgTopNodeRowStatusEntry=rtgTopNodeRowStatusEntry, rtgTopStorageType=rtgTopStorageType, trmLgLNNRowStatusTable=trmLgLNNRowStatusTable, trmLgLNNRowStatusEntry=trmLgLNNRowStatusEntry, baseRoutingGroup=baseRoutingGroup, trmLkDiscardCongestedIndex=trmLkDiscardCongestedIndex, trmLkOverflowAttempts=trmLkOverflowAttempts, baseRoutingGroupBE00A=baseRoutingGroupBE00A, npiDnaStorageType=npiDnaStorageType, rtgComponentName=rtgComponentName, rtgTopNodeComponentName=rtgTopNodeComponentName, trmLgLkStorageType=trmLgLkStorageType, npiRowStatus=npiRowStatus, trmLk=trmLk, trmLgLkFciSet=trmLgLkFciSet, rtgTop=rtgTop, rtgTopNodeLgTrkObjMaxReservableBwOut=rtgTopNodeLgTrkObjMaxReservableBwOut, trmLgLkDiscardCongestedValue=trmLgLkDiscardCongestedValue, npiRowStatusEntry=npiRowStatusEntry, trmLkFwdStatsTable=trmLkFwdStatsTable, rtgTopNodeLgTrkObjUnresValue=rtgTopNodeLgTrkObjUnresValue, trmLgLNNOperTable=trmLgLNNOperTable, trmLgRowStatusEntry=trmLgRowStatusEntry, trmLgLkLinkComponentName=trmLgLkLinkComponentName, npiDnaRowStatusTable=npiDnaRowStatusTable, rtgTopNodeLgRowStatusTable=rtgTopNodeLgRowStatusTable, rtgTopNodeLgTrkObj=rtgTopNodeLgTrkObj, trmLkStorageType=trmLkStorageType, trmLgLk=trmLgLk, npiIndex=npiIndex, trmLgStorageType=trmLgStorageType, npiDnaIndex=npiDnaIndex, rtg=rtg, rtgTopIndex=rtgTopIndex, rtgTopNodeLg=rtgTopNodeLg, rtgTopNodeLgDelayMetric=rtgTopNodeLgDelayMetric, rtgTopRowStatus=rtgTopRowStatus, rtgRowStatusTable=rtgRowStatusTable, rtgTopNodeLgOperTable=rtgTopNodeLgOperTable, rtgTopNodeLgTrkObjStorageType=rtgTopNodeLgTrkObjStorageType, trmLkFwdStatsEntry=trmLkFwdStatsEntry, trmLgLkIndex=trmLgLkIndex, baseRoutingCapabilitiesBE00A=baseRoutingCapabilitiesBE00A, npiDnaRowStatus=npiDnaRowStatus, rtgTopNodeLgComponentName=rtgTopNodeLgComponentName, trmLgLNNStorageType=trmLgLNNStorageType, rtgTandemTraffic=rtgTandemTraffic, rtgTopNodeOperTable=rtgTopNodeOperTable, npiDnaInfoEntry=npiDnaInfoEntry, rtgRowStatus=rtgRowStatus, trmLkFciSet=trmLkFciSet, trmLgLNNComponentName=trmLgLNNComponentName, rtgTopNodeLgTrkObjComponentName=rtgTopNodeLgTrkObjComponentName, trmLkOperTable=trmLkOperTable, rtgTopNodeRowStatus=rtgTopNodeRowStatus, rtgSplittingRegionIdsEntry=rtgSplittingRegionIdsEntry, npiStatsTable=npiStatsTable, trmLgLkOperTable=trmLgLkOperTable, trmLkIndex=trmLkIndex, trmLkOperEntry=trmLkOperEntry, trmLgLkOperEntry=trmLgLkOperEntry, rtgTopNodeNodeId=rtgTopNodeNodeId, trmLkDelay=trmLkDelay, rtgTopNodeLgTrkObjTrunkCost=rtgTopNodeLgTrkObjTrunkCost, trmLkMaxTxUnit=trmLkMaxTxUnit, trmLgLkDiscardCongestedEntry=trmLgLkDiscardCongestedEntry, trmLgLkDiscardCongestedIndex=trmLgLkDiscardCongestedIndex, rtgTopRowStatusTable=rtgTopRowStatusTable, rtgSplittingRegionIdsRowStatus=rtgSplittingRegionIdsRowStatus, trmLkDelayUsec=trmLkDelayUsec, trmLgLkDelay=trmLgLkDelay, rtgTopNodeLgTrkObjOperEntry=rtgTopNodeLgTrkObjOperEntry, trmLg=trmLg, rtgProvEntry=rtgProvEntry, rtgTopNodeLgTrkObjUnresEntry=rtgTopNodeLgTrkObjUnresEntry, rtgTopNodeLgTrkObjTrunkSecurity=rtgTopNodeLgTrkObjTrunkSecurity, trmLgLNNOperEntry=trmLgLNNOperEntry, npiDnaDestinationName=npiDnaDestinationName, baseRoutingCapabilitiesBE00=baseRoutingCapabilitiesBE00, rtgTopNodeRowStatusTable=rtgTopNodeRowStatusTable, baseRoutingCapabilitiesBE=baseRoutingCapabilitiesBE, trmLgLkComponentName=trmLgLkComponentName, trmLgLkRowStatus=trmLgLkRowStatus, rtgTopControlBytesTx=rtgTopControlBytesTx, trmLgRowStatusTable=trmLgRowStatusTable, rtgTopNodeLgLnnValue=rtgTopNodeLgLnnValue, rtgTopNodeLgTrkObjRowStatusTable=rtgTopNodeLgTrkObjRowStatusTable, trmLgLkFwdStatsEntry=trmLgLkFwdStatsEntry, rtgSplittingRegionIdsValue=rtgSplittingRegionIdsValue, rtgTopNodeLgTrkObjRowStatusEntry=rtgTopNodeLgTrkObjRowStatusEntry, trmLgLNNLinkType=trmLgLNNLinkType, rtgTopControlPktRx=rtgTopControlPktRx)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_size_constraint, constraints_intersection, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint') (row_status, unsigned32, gauge32, row_pointer, storage_type, counter32, integer32, display_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'RowStatus', 'Unsigned32', 'Gauge32', 'RowPointer', 'StorageType', 'Counter32', 'Integer32', 'DisplayString') (fixed_point1, non_replicated, digit_string, ascii_string_index) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'FixedPoint1', 'NonReplicated', 'DigitString', 'AsciiStringIndex') (components, passport_mi_bs) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'components', 'passportMIBs') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (time_ticks, mib_identifier, unsigned32, bits, notification_type, module_identity, counter64, gauge32, iso, object_identity, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'MibIdentifier', 'Unsigned32', 'Bits', 'NotificationType', 'ModuleIdentity', 'Counter64', 'Gauge32', 'iso', 'ObjectIdentity', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Integer32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') base_routing_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18)) rtg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40)) rtg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1)) if mibBuilder.loadTexts: rtgRowStatusTable.setStatus('mandatory') rtg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex')) if mibBuilder.loadTexts: rtgRowStatusEntry.setStatus('mandatory') rtg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rtgRowStatus.setStatus('mandatory') rtg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgComponentName.setStatus('mandatory') rtg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgStorageType.setStatus('mandatory') rtg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: rtgIndex.setStatus('mandatory') rtg_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12)) if mibBuilder.loadTexts: rtgProvTable.setStatus('mandatory') rtg_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex')) if mibBuilder.loadTexts: rtgProvEntry.setStatus('mandatory') rtg_tandem_traffic = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('allowed', 0), ('denied', 1))).clone('allowed')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rtgTandemTraffic.setStatus('mandatory') rtg_splitting_region_ids_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407)) if mibBuilder.loadTexts: rtgSplittingRegionIdsTable.setStatus('mandatory') rtg_splitting_region_ids_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgSplittingRegionIdsValue')) if mibBuilder.loadTexts: rtgSplittingRegionIdsEntry.setStatus('mandatory') rtg_splitting_region_ids_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 126))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rtgSplittingRegionIdsValue.setStatus('mandatory') rtg_splitting_region_ids_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 2), row_status()).setMaxAccess('writeonly') if mibBuilder.loadTexts: rtgSplittingRegionIdsRowStatus.setStatus('mandatory') rtg_top = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5)) rtg_top_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1)) if mibBuilder.loadTexts: rtgTopRowStatusTable.setStatus('mandatory') rtg_top_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex')) if mibBuilder.loadTexts: rtgTopRowStatusEntry.setStatus('mandatory') rtg_top_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopRowStatus.setStatus('mandatory') rtg_top_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopComponentName.setStatus('mandatory') rtg_top_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopStorageType.setStatus('mandatory') rtg_top_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: rtgTopIndex.setStatus('mandatory') rtg_top_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11)) if mibBuilder.loadTexts: rtgTopStatsTable.setStatus('mandatory') rtg_top_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex')) if mibBuilder.loadTexts: rtgTopStatsEntry.setStatus('mandatory') rtg_top_control_pkt_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlPktRx.setStatus('mandatory') rtg_top_control_bytes_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlBytesRx.setStatus('mandatory') rtg_top_control_pkt_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlPktTx.setStatus('mandatory') rtg_top_control_bytes_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlBytesTx.setStatus('mandatory') rtg_top_node = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2)) rtg_top_node_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1)) if mibBuilder.loadTexts: rtgTopNodeRowStatusTable.setStatus('mandatory') rtg_top_node_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex')) if mibBuilder.loadTexts: rtgTopNodeRowStatusEntry.setStatus('mandatory') rtg_top_node_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeRowStatus.setStatus('mandatory') rtg_top_node_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeComponentName.setStatus('mandatory') rtg_top_node_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeStorageType.setStatus('mandatory') rtg_top_node_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeIndex.setStatus('mandatory') rtg_top_node_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10)) if mibBuilder.loadTexts: rtgTopNodeOperTable.setStatus('mandatory') rtg_top_node_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex')) if mibBuilder.loadTexts: rtgTopNodeOperEntry.setStatus('mandatory') rtg_top_node_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeNodeId.setStatus('mandatory') rtg_top_node_lg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2)) rtg_top_node_lg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1)) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusTable.setStatus('mandatory') rtg_top_node_lg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex')) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusEntry.setStatus('mandatory') rtg_top_node_lg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgRowStatus.setStatus('mandatory') rtg_top_node_lg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgComponentName.setStatus('mandatory') rtg_top_node_lg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgStorageType.setStatus('mandatory') rtg_top_node_lg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeLgIndex.setStatus('mandatory') rtg_top_node_lg_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10)) if mibBuilder.loadTexts: rtgTopNodeLgOperTable.setStatus('mandatory') rtg_top_node_lg_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex')) if mibBuilder.loadTexts: rtgTopNodeLgOperEntry.setStatus('mandatory') rtg_top_node_lg_delay_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgDelayMetric.setStatus('mandatory') rtg_top_node_lg_tput_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTputMetric.setStatus('mandatory') rtg_top_node_lg_lnn_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235)) if mibBuilder.loadTexts: rtgTopNodeLgLnnTable.setStatus('mandatory') rtg_top_node_lg_lnn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgLnnValue')) if mibBuilder.loadTexts: rtgTopNodeLgLnnEntry.setStatus('mandatory') rtg_top_node_lg_lnn_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2047))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgLnnValue.setStatus('mandatory') rtg_top_node_lg_trk_obj = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2)) rtg_top_node_lg_trk_obj_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1)) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusTable.setStatus('mandatory') rtg_top_node_lg_trk_obj_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjIndex')) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusEntry.setStatus('mandatory') rtg_top_node_lg_trk_obj_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatus.setStatus('mandatory') rtg_top_node_lg_trk_obj_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjComponentName.setStatus('mandatory') rtg_top_node_lg_trk_obj_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjStorageType.setStatus('mandatory') rtg_top_node_lg_trk_obj_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjIndex.setStatus('mandatory') rtg_top_node_lg_trk_obj_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10)) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperTable.setStatus('mandatory') rtg_top_node_lg_trk_obj_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjIndex')) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperEntry.setStatus('mandatory') rtg_top_node_lg_trk_obj_max_reservable_bw_out = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjMaxReservableBwOut.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_cost = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkCost.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkDelay.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_security = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkSecurity.setStatus('mandatory') rtg_top_node_lg_trk_obj_supported_traffic_types = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjSupportedTrafficTypes.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('terrestrial', 0), ('satellite', 1), ('trunkType1', 2), ('trunkType2', 3), ('trunkType3', 4), ('trunkType4', 5), ('trunkType5', 6), ('trunkType6', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkType.setStatus('mandatory') rtg_top_node_lg_trk_obj_customer_parameter = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjCustomerParameter.setStatus('mandatory') rtg_top_node_lg_trk_obj_far_end_trm_lk_instance = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 1023))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjFarEndTrmLkInstance.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234)) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresTable.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjUnresSetupPriorityIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex')) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresEntry.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_setup_priority_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0))).clone(namedValues=named_values(('bwPartOver255', 0)))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresSetupPriorityIndex.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_unreserved_bw_parts_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 4))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresValue.setStatus('mandatory') trm = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41)) trm_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1)) if mibBuilder.loadTexts: trmRowStatusTable.setStatus('mandatory') trm_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex')) if mibBuilder.loadTexts: trmRowStatusEntry.setStatus('mandatory') trm_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmRowStatus.setStatus('mandatory') trm_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmComponentName.setStatus('mandatory') trm_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmStorageType.setStatus('mandatory') trm_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: trmIndex.setStatus('mandatory') trm_lk = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2)) trm_lk_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1)) if mibBuilder.loadTexts: trmLkRowStatusTable.setStatus('mandatory') trm_lk_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex')) if mibBuilder.loadTexts: trmLkRowStatusEntry.setStatus('mandatory') trm_lk_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkRowStatus.setStatus('mandatory') trm_lk_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkComponentName.setStatus('mandatory') trm_lk_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkStorageType.setStatus('mandatory') trm_lk_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))) if mibBuilder.loadTexts: trmLkIndex.setStatus('mandatory') trm_lk_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10)) if mibBuilder.loadTexts: trmLkOperTable.setStatus('mandatory') trm_lk_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex')) if mibBuilder.loadTexts: trmLkOperEntry.setStatus('mandatory') trm_lk_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inactive', 1), ('joining', 2), ('online', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkStatus.setStatus('mandatory') trm_lk_throughput = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(1, 640000000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkThroughput.setStatus('mandatory') trm_lk_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(1, 1500))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkDelay.setStatus('obsolete') trm_lk_max_tx_unit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkMaxTxUnit.setStatus('mandatory') trm_lk_link_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 5), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkLinkComponentName.setStatus('mandatory') trm_lk_delay_usec = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 6), fixed_point1().subtype(subtypeSpec=value_range_constraint(10, 15000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkDelayUsec.setStatus('mandatory') trm_lk_fwd_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11)) if mibBuilder.loadTexts: trmLkFwdStatsTable.setStatus('mandatory') trm_lk_fwd_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex')) if mibBuilder.loadTexts: trmLkFwdStatsEntry.setStatus('mandatory') trm_lk_fci_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkFciSet.setStatus('mandatory') trm_lk_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkOverflowAttempts.setStatus('mandatory') trm_lk_path_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkPathOverflowAttempts.setStatus('mandatory') trm_lk_discard_congested_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280)) if mibBuilder.loadTexts: trmLkDiscardCongestedTable.setStatus('mandatory') trm_lk_discard_congested_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkDiscardCongestedIndex')) if mibBuilder.loadTexts: trmLkDiscardCongestedEntry.setStatus('mandatory') trm_lk_discard_congested_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('discardPriority1', 0), ('discardPriority2', 1), ('discardPriority3', 2)))) if mibBuilder.loadTexts: trmLkDiscardCongestedIndex.setStatus('mandatory') trm_lk_discard_congested_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkDiscardCongestedValue.setStatus('mandatory') trm_lg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3)) trm_lg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1)) if mibBuilder.loadTexts: trmLgRowStatusTable.setStatus('mandatory') trm_lg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex')) if mibBuilder.loadTexts: trmLgRowStatusEntry.setStatus('mandatory') trm_lg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgRowStatus.setStatus('mandatory') trm_lg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgComponentName.setStatus('mandatory') trm_lg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgStorageType.setStatus('mandatory') trm_lg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12))) if mibBuilder.loadTexts: trmLgIndex.setStatus('mandatory') trm_lg_lk = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2)) trm_lg_lk_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1)) if mibBuilder.loadTexts: trmLgLkRowStatusTable.setStatus('mandatory') trm_lg_lk_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex')) if mibBuilder.loadTexts: trmLgLkRowStatusEntry.setStatus('mandatory') trm_lg_lk_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkRowStatus.setStatus('mandatory') trm_lg_lk_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkComponentName.setStatus('mandatory') trm_lg_lk_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkStorageType.setStatus('mandatory') trm_lg_lk_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))) if mibBuilder.loadTexts: trmLgLkIndex.setStatus('mandatory') trm_lg_lk_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10)) if mibBuilder.loadTexts: trmLgLkOperTable.setStatus('mandatory') trm_lg_lk_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex')) if mibBuilder.loadTexts: trmLgLkOperEntry.setStatus('mandatory') trm_lg_lk_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inactive', 1), ('joining', 2), ('online', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkStatus.setStatus('mandatory') trm_lg_lk_throughput = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(1, 640000000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkThroughput.setStatus('mandatory') trm_lg_lk_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(1, 1500))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkDelay.setStatus('obsolete') trm_lg_lk_max_tx_unit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkMaxTxUnit.setStatus('mandatory') trm_lg_lk_link_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 5), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkLinkComponentName.setStatus('mandatory') trm_lg_lk_delay_usec = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 6), fixed_point1().subtype(subtypeSpec=value_range_constraint(10, 15000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkDelayUsec.setStatus('mandatory') trm_lg_lk_fwd_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11)) if mibBuilder.loadTexts: trmLgLkFwdStatsTable.setStatus('mandatory') trm_lg_lk_fwd_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex')) if mibBuilder.loadTexts: trmLgLkFwdStatsEntry.setStatus('mandatory') trm_lg_lk_fci_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkFciSet.setStatus('mandatory') trm_lg_lk_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkOverflowAttempts.setStatus('mandatory') trm_lg_lk_path_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkPathOverflowAttempts.setStatus('mandatory') trm_lg_lk_discard_congested_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280)) if mibBuilder.loadTexts: trmLgLkDiscardCongestedTable.setStatus('mandatory') trm_lg_lk_discard_congested_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkDiscardCongestedIndex')) if mibBuilder.loadTexts: trmLgLkDiscardCongestedEntry.setStatus('mandatory') trm_lg_lk_discard_congested_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('discardPriority1', 0), ('discardPriority2', 1), ('discardPriority3', 2)))) if mibBuilder.loadTexts: trmLgLkDiscardCongestedIndex.setStatus('mandatory') trm_lg_lk_discard_congested_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkDiscardCongestedValue.setStatus('mandatory') trm_lg_lnn = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3)) trm_lg_lnn_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1)) if mibBuilder.loadTexts: trmLgLNNRowStatusTable.setStatus('mandatory') trm_lg_lnn_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLNNIndex')) if mibBuilder.loadTexts: trmLgLNNRowStatusEntry.setStatus('mandatory') trm_lg_lnn_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNRowStatus.setStatus('mandatory') trm_lg_lnn_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNComponentName.setStatus('mandatory') trm_lg_lnn_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNStorageType.setStatus('mandatory') trm_lg_lnn_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 2047))) if mibBuilder.loadTexts: trmLgLNNIndex.setStatus('mandatory') trm_lg_lnn_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10)) if mibBuilder.loadTexts: trmLgLNNOperTable.setStatus('mandatory') trm_lg_lnn_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLNNIndex')) if mibBuilder.loadTexts: trmLgLNNOperEntry.setStatus('mandatory') trm_lg_lnn_link_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('trunk', 0), ('internalGateway', 1), ('externalGateway', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNLinkType.setStatus('mandatory') trm_lg_lnn_address_plan_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 2), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNAddressPlanComponentName.setStatus('mandatory') npi = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43)) npi_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1)) if mibBuilder.loadTexts: npiRowStatusTable.setStatus('mandatory') npi_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex')) if mibBuilder.loadTexts: npiRowStatusEntry.setStatus('mandatory') npi_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiRowStatus.setStatus('mandatory') npi_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiComponentName.setStatus('mandatory') npi_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiStorageType.setStatus('mandatory') npi_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('x121', 0), ('e164', 1)))) if mibBuilder.loadTexts: npiIndex.setStatus('mandatory') npi_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10)) if mibBuilder.loadTexts: npiStatsTable.setStatus('mandatory') npi_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex')) if mibBuilder.loadTexts: npiStatsEntry.setStatus('mandatory') npi_total_dnas = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: npiTotalDnas.setStatus('mandatory') npi_dna = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2)) npi_dna_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1)) if mibBuilder.loadTexts: npiDnaRowStatusTable.setStatus('mandatory') npi_dna_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiDnaIndex')) if mibBuilder.loadTexts: npiDnaRowStatusEntry.setStatus('mandatory') npi_dna_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaRowStatus.setStatus('mandatory') npi_dna_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaComponentName.setStatus('mandatory') npi_dna_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaStorageType.setStatus('mandatory') npi_dna_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 10), digit_string().subtype(subtypeSpec=value_size_constraint(1, 15))) if mibBuilder.loadTexts: npiDnaIndex.setStatus('mandatory') npi_dna_info_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10)) if mibBuilder.loadTexts: npiDnaInfoTable.setStatus('mandatory') npi_dna_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiDnaIndex')) if mibBuilder.loadTexts: npiDnaInfoEntry.setStatus('mandatory') npi_dna_destination_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaDestinationName.setStatus('mandatory') base_routing_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1)) base_routing_group_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5)) base_routing_group_be00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1)) base_routing_group_be00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1, 2)) base_routing_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3)) base_routing_capabilities_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5)) base_routing_capabilities_be00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1)) base_routing_capabilities_be00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1, 2)) mibBuilder.exportSymbols('Nortel-Magellan-Passport-BaseRoutingMIB', rtgTopNodeLgIndex=rtgTopNodeLgIndex, rtgTopNodeLgRowStatus=rtgTopNodeLgRowStatus, rtgIndex=rtgIndex, trmLgLkFwdStatsTable=trmLgLkFwdStatsTable, npiDnaInfoTable=npiDnaInfoTable, trmRowStatusEntry=trmRowStatusEntry, trmLgLkDiscardCongestedTable=trmLgLkDiscardCongestedTable, npiDna=npiDna, trmLkComponentName=trmLkComponentName, rtgTopNodeLgTrkObjFarEndTrmLkInstance=rtgTopNodeLgTrkObjFarEndTrmLkInstance, trmLgLkRowStatusEntry=trmLgLkRowStatusEntry, rtgTopStatsTable=rtgTopStatsTable, trmLkLinkComponentName=trmLkLinkComponentName, trmLgLNNRowStatus=trmLgLNNRowStatus, rtgTopNodeIndex=rtgTopNodeIndex, trmLgLkDelayUsec=trmLgLkDelayUsec, trmLgLkRowStatusTable=trmLgLkRowStatusTable, npiRowStatusTable=npiRowStatusTable, trmLkDiscardCongestedTable=trmLkDiscardCongestedTable, trmLgLNNAddressPlanComponentName=trmLgLNNAddressPlanComponentName, rtgTopNodeStorageType=rtgTopNodeStorageType, rtgTopControlBytesRx=rtgTopControlBytesRx, trmLkPathOverflowAttempts=trmLkPathOverflowAttempts, baseRoutingCapabilities=baseRoutingCapabilities, trmRowStatus=trmRowStatus, trmLkRowStatus=trmLkRowStatus, baseRoutingMIB=baseRoutingMIB, rtgTopNodeLgTrkObjOperTable=rtgTopNodeLgTrkObjOperTable, trmLgLkThroughput=trmLgLkThroughput, npiTotalDnas=npiTotalDnas, rtgTopNodeLgStorageType=rtgTopNodeLgStorageType, rtgRowStatusEntry=rtgRowStatusEntry, rtgProvTable=rtgProvTable, rtgSplittingRegionIdsTable=rtgSplittingRegionIdsTable, npiDnaComponentName=npiDnaComponentName, rtgTopNodeLgTputMetric=rtgTopNodeLgTputMetric, npi=npi, trmLgRowStatus=trmLgRowStatus, rtgTopNodeLgTrkObjCustomerParameter=rtgTopNodeLgTrkObjCustomerParameter, trmLkThroughput=trmLkThroughput, rtgTopNodeLgRowStatusEntry=rtgTopNodeLgRowStatusEntry, rtgTopControlPktTx=rtgTopControlPktTx, rtgTopComponentName=rtgTopComponentName, trmLgComponentName=trmLgComponentName, trmLgLkMaxTxUnit=trmLgLkMaxTxUnit, rtgTopNodeLgTrkObjUnresSetupPriorityIndex=rtgTopNodeLgTrkObjUnresSetupPriorityIndex, baseRoutingGroupBE00=baseRoutingGroupBE00, rtgTopNodeLgTrkObjIndex=rtgTopNodeLgTrkObjIndex, trmComponentName=trmComponentName, rtgTopStatsEntry=rtgTopStatsEntry, baseRoutingGroupBE=baseRoutingGroupBE, trmStorageType=trmStorageType, rtgTopRowStatusEntry=rtgTopRowStatusEntry, rtgTopNodeLgTrkObjSupportedTrafficTypes=rtgTopNodeLgTrkObjSupportedTrafficTypes, rtgStorageType=rtgStorageType, rtgTopNode=rtgTopNode, npiDnaRowStatusEntry=npiDnaRowStatusEntry, rtgTopNodeLgOperEntry=rtgTopNodeLgOperEntry, npiStorageType=npiStorageType, rtgTopNodeLgTrkObjTrunkDelay=rtgTopNodeLgTrkObjTrunkDelay, rtgTopNodeLgTrkObjRowStatus=rtgTopNodeLgTrkObjRowStatus, rtgTopNodeOperEntry=rtgTopNodeOperEntry, rtgTopNodeLgTrkObjUnresTable=rtgTopNodeLgTrkObjUnresTable, trmLkStatus=trmLkStatus, trmLkDiscardCongestedEntry=trmLkDiscardCongestedEntry, trm=trm, trmLkDiscardCongestedValue=trmLkDiscardCongestedValue, trmIndex=trmIndex, rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex=rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex, trmLkRowStatusEntry=trmLkRowStatusEntry, rtgTopNodeLgTrkObjTrunkType=rtgTopNodeLgTrkObjTrunkType, trmLgLNNIndex=trmLgLNNIndex, trmLgLkStatus=trmLgLkStatus, rtgTopNodeLgLnnTable=rtgTopNodeLgLnnTable, rtgTopNodeLgLnnEntry=rtgTopNodeLgLnnEntry, npiStatsEntry=npiStatsEntry, trmLgLkOverflowAttempts=trmLgLkOverflowAttempts, trmLgLNN=trmLgLNN, trmLgIndex=trmLgIndex, trmLgLkPathOverflowAttempts=trmLgLkPathOverflowAttempts, trmRowStatusTable=trmRowStatusTable, npiComponentName=npiComponentName, trmLkRowStatusTable=trmLkRowStatusTable, rtgTopNodeRowStatusEntry=rtgTopNodeRowStatusEntry, rtgTopStorageType=rtgTopStorageType, trmLgLNNRowStatusTable=trmLgLNNRowStatusTable, trmLgLNNRowStatusEntry=trmLgLNNRowStatusEntry, baseRoutingGroup=baseRoutingGroup, trmLkDiscardCongestedIndex=trmLkDiscardCongestedIndex, trmLkOverflowAttempts=trmLkOverflowAttempts, baseRoutingGroupBE00A=baseRoutingGroupBE00A, npiDnaStorageType=npiDnaStorageType, rtgComponentName=rtgComponentName, rtgTopNodeComponentName=rtgTopNodeComponentName, trmLgLkStorageType=trmLgLkStorageType, npiRowStatus=npiRowStatus, trmLk=trmLk, trmLgLkFciSet=trmLgLkFciSet, rtgTop=rtgTop, rtgTopNodeLgTrkObjMaxReservableBwOut=rtgTopNodeLgTrkObjMaxReservableBwOut, trmLgLkDiscardCongestedValue=trmLgLkDiscardCongestedValue, npiRowStatusEntry=npiRowStatusEntry, trmLkFwdStatsTable=trmLkFwdStatsTable, rtgTopNodeLgTrkObjUnresValue=rtgTopNodeLgTrkObjUnresValue, trmLgLNNOperTable=trmLgLNNOperTable, trmLgRowStatusEntry=trmLgRowStatusEntry, trmLgLkLinkComponentName=trmLgLkLinkComponentName, npiDnaRowStatusTable=npiDnaRowStatusTable, rtgTopNodeLgRowStatusTable=rtgTopNodeLgRowStatusTable, rtgTopNodeLgTrkObj=rtgTopNodeLgTrkObj, trmLkStorageType=trmLkStorageType, trmLgLk=trmLgLk, npiIndex=npiIndex, trmLgStorageType=trmLgStorageType, npiDnaIndex=npiDnaIndex, rtg=rtg, rtgTopIndex=rtgTopIndex, rtgTopNodeLg=rtgTopNodeLg, rtgTopNodeLgDelayMetric=rtgTopNodeLgDelayMetric, rtgTopRowStatus=rtgTopRowStatus, rtgRowStatusTable=rtgRowStatusTable, rtgTopNodeLgOperTable=rtgTopNodeLgOperTable, rtgTopNodeLgTrkObjStorageType=rtgTopNodeLgTrkObjStorageType, trmLkFwdStatsEntry=trmLkFwdStatsEntry, trmLgLkIndex=trmLgLkIndex, baseRoutingCapabilitiesBE00A=baseRoutingCapabilitiesBE00A, npiDnaRowStatus=npiDnaRowStatus, rtgTopNodeLgComponentName=rtgTopNodeLgComponentName, trmLgLNNStorageType=trmLgLNNStorageType, rtgTandemTraffic=rtgTandemTraffic, rtgTopNodeOperTable=rtgTopNodeOperTable, npiDnaInfoEntry=npiDnaInfoEntry, rtgRowStatus=rtgRowStatus, trmLkFciSet=trmLkFciSet, trmLgLNNComponentName=trmLgLNNComponentName, rtgTopNodeLgTrkObjComponentName=rtgTopNodeLgTrkObjComponentName, trmLkOperTable=trmLkOperTable, rtgTopNodeRowStatus=rtgTopNodeRowStatus, rtgSplittingRegionIdsEntry=rtgSplittingRegionIdsEntry, npiStatsTable=npiStatsTable, trmLgLkOperTable=trmLgLkOperTable, trmLkIndex=trmLkIndex, trmLkOperEntry=trmLkOperEntry, trmLgLkOperEntry=trmLgLkOperEntry, rtgTopNodeNodeId=rtgTopNodeNodeId, trmLkDelay=trmLkDelay, rtgTopNodeLgTrkObjTrunkCost=rtgTopNodeLgTrkObjTrunkCost, trmLkMaxTxUnit=trmLkMaxTxUnit, trmLgLkDiscardCongestedEntry=trmLgLkDiscardCongestedEntry, trmLgLkDiscardCongestedIndex=trmLgLkDiscardCongestedIndex, rtgTopRowStatusTable=rtgTopRowStatusTable, rtgSplittingRegionIdsRowStatus=rtgSplittingRegionIdsRowStatus, trmLkDelayUsec=trmLkDelayUsec, trmLgLkDelay=trmLgLkDelay, rtgTopNodeLgTrkObjOperEntry=rtgTopNodeLgTrkObjOperEntry, trmLg=trmLg, rtgProvEntry=rtgProvEntry, rtgTopNodeLgTrkObjUnresEntry=rtgTopNodeLgTrkObjUnresEntry, rtgTopNodeLgTrkObjTrunkSecurity=rtgTopNodeLgTrkObjTrunkSecurity, trmLgLNNOperEntry=trmLgLNNOperEntry, npiDnaDestinationName=npiDnaDestinationName, baseRoutingCapabilitiesBE00=baseRoutingCapabilitiesBE00, rtgTopNodeRowStatusTable=rtgTopNodeRowStatusTable, baseRoutingCapabilitiesBE=baseRoutingCapabilitiesBE, trmLgLkComponentName=trmLgLkComponentName, trmLgLkRowStatus=trmLgLkRowStatus, rtgTopControlBytesTx=rtgTopControlBytesTx, trmLgRowStatusTable=trmLgRowStatusTable, rtgTopNodeLgLnnValue=rtgTopNodeLgLnnValue, rtgTopNodeLgTrkObjRowStatusTable=rtgTopNodeLgTrkObjRowStatusTable, trmLgLkFwdStatsEntry=trmLgLkFwdStatsEntry, rtgSplittingRegionIdsValue=rtgSplittingRegionIdsValue, rtgTopNodeLgTrkObjRowStatusEntry=rtgTopNodeLgTrkObjRowStatusEntry, trmLgLNNLinkType=trmLgLNNLinkType, rtgTopControlPktRx=rtgTopControlPktRx)
def denumerate(enum_list): try: nums = dict(enum_list) maximum = max(nums) + 1 result = ''.join(nums[a] for a in xrange(maximum)) if result.isalnum() and len(result) == maximum: return result except (KeyError, TypeError, ValueError): pass return False
def denumerate(enum_list): try: nums = dict(enum_list) maximum = max(nums) + 1 result = ''.join((nums[a] for a in xrange(maximum))) if result.isalnum() and len(result) == maximum: return result except (KeyError, TypeError, ValueError): pass return False
lines = open('input.txt', 'r').readlines() timestamp = int(lines[0].strip()) buses = lines[1].strip().split(',') m, x = [], [] for i, bus in enumerate(buses): if bus == 'x': continue bus = int(bus) m.append(bus) x.append((bus - i) % bus) def extended_euclidean(a, b): if a == 0: return b, 0, 1 else: g, y, x = extended_euclidean(b % a, a) return g, x - (b // a) * y, y def modinv(a, m): return extended_euclidean(a, m)[1] % m def crt(m, x): while True: temp1 = modinv(m[1], m[0]) * x[0] * m[1] + modinv(m[0], m[1]) * x[1] * m[0] temp2 = m[0] * m[1] m, x = [temp2] + m[2:], [temp1 % temp2] + x[2:] if len(x) == 1: break return x[0] print(crt(m, x))
lines = open('input.txt', 'r').readlines() timestamp = int(lines[0].strip()) buses = lines[1].strip().split(',') (m, x) = ([], []) for (i, bus) in enumerate(buses): if bus == 'x': continue bus = int(bus) m.append(bus) x.append((bus - i) % bus) def extended_euclidean(a, b): if a == 0: return (b, 0, 1) else: (g, y, x) = extended_euclidean(b % a, a) return (g, x - b // a * y, y) def modinv(a, m): return extended_euclidean(a, m)[1] % m def crt(m, x): while True: temp1 = modinv(m[1], m[0]) * x[0] * m[1] + modinv(m[0], m[1]) * x[1] * m[0] temp2 = m[0] * m[1] (m, x) = ([temp2] + m[2:], [temp1 % temp2] + x[2:]) if len(x) == 1: break return x[0] print(crt(m, x))
"""Dependency specific initialization.""" def deps(repo_mapping = {}): pass
"""Dependency specific initialization.""" def deps(repo_mapping={}): pass
#!/usr/bin/env python # -*- coding: utf-8 -*- # def is_whitespaces_str(s): return True if len(s.strip(" \t\n\r\f\v")) == 0 else False
def is_whitespaces_str(s): return True if len(s.strip(' \t\n\r\x0c\x0b')) == 0 else False
command = '/usr/bin/gunicorn' pythonpath = '/usr/share/webapps/netbox' bind = '127.0.0.1:8001' workers = 3 user = 'netbox'
command = '/usr/bin/gunicorn' pythonpath = '/usr/share/webapps/netbox' bind = '127.0.0.1:8001' workers = 3 user = 'netbox'
# Copyright (c) lobsterpy development team # Distributed under the terms of a BSD 3-Clause "New" or "Revised" License """ This package provides the modules for analyzing Lobster files """
""" This package provides the modules for analyzing Lobster files """
# This one's a bit different, representing an unusual (and honestly, # not recommended) strategy for tracking users that sign up for a service. class User: # An (intentionally shared) collection storing users who sign up for some hypothetical service. # There's only one set of members, so it lives at the class level! members = {} names = set() def __init__(self, name): if not self.names: self.names.add(name) else: self.names = set(name) if self.members == {}: self.members = set() # Not signed up to begin with. def sign_up(self): self.members.add(self.name) # Change the code above so that the following lines work: # sarah = User('sarah') heather = User('heather') cristina = User('cristina') print(User.members) # {} heather.sign_up() cristina.sign_up() print(User.members) # {'heather', 'cristina'}
class User: members = {} names = set() def __init__(self, name): if not self.names: self.names.add(name) else: self.names = set(name) if self.members == {}: self.members = set() def sign_up(self): self.members.add(self.name) sarah = user('sarah') heather = user('heather') cristina = user('cristina') print(User.members) heather.sign_up() cristina.sign_up() print(User.members)
def is_knight_removed(matrix: list, row: int, col: int): if row not in range(rows) or col not in range(rows): return False return matrix[row][col] == "K" def affected_knights(matrix: list, row: int, col: int): result = 0 if is_knight_removed(matrix, row - 2, col + 1): result += 1 if is_knight_removed(matrix, row - 1, col + 2): result += 1 if is_knight_removed(matrix, row + 1, col + 2): result += 1 if is_knight_removed(matrix, row + 2, col + 1): result += 1 if is_knight_removed(matrix, row + 2 , col - 1): result += 1 if is_knight_removed(matrix, row + 1, col - 2): result += 1 if is_knight_removed(matrix, row - 1, col - 2): result += 1 if is_knight_removed(matrix, row - 2, col - 1): result += 1 return result rows = int(input()) matrix = [] knights_removed = 0 for row in range(rows): matrix.append(list(input())) while True: pass max_knights_removed, row_knight, col_knight = 0, 0, 0 for row in range(rows): for col in range(rows): if matrix[row][col] == "0": continue elif matrix[row][col] == "K": removed_knights = affected_knights(matrix, row, col) if removed_knights > max_knights_removed: max_knights_removed, row_knight, col_knight = removed_knights, row, col if max_knights_removed == 0: break matrix[row_knight][col_knight] = "0" knights_removed += 1 print(knights_removed)
def is_knight_removed(matrix: list, row: int, col: int): if row not in range(rows) or col not in range(rows): return False return matrix[row][col] == 'K' def affected_knights(matrix: list, row: int, col: int): result = 0 if is_knight_removed(matrix, row - 2, col + 1): result += 1 if is_knight_removed(matrix, row - 1, col + 2): result += 1 if is_knight_removed(matrix, row + 1, col + 2): result += 1 if is_knight_removed(matrix, row + 2, col + 1): result += 1 if is_knight_removed(matrix, row + 2, col - 1): result += 1 if is_knight_removed(matrix, row + 1, col - 2): result += 1 if is_knight_removed(matrix, row - 1, col - 2): result += 1 if is_knight_removed(matrix, row - 2, col - 1): result += 1 return result rows = int(input()) matrix = [] knights_removed = 0 for row in range(rows): matrix.append(list(input())) while True: pass (max_knights_removed, row_knight, col_knight) = (0, 0, 0) for row in range(rows): for col in range(rows): if matrix[row][col] == '0': continue elif matrix[row][col] == 'K': removed_knights = affected_knights(matrix, row, col) if removed_knights > max_knights_removed: (max_knights_removed, row_knight, col_knight) = (removed_knights, row, col) if max_knights_removed == 0: break matrix[row_knight][col_knight] = '0' knights_removed += 1 print(knights_removed)
# Fibonacci """ Using Recursion """ def fibonacci(n): if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2) print(fibonacci(5)) """ Using Dynamic Programming """ def fibonacci2(n): # Taking 1st two fibonacci nubers as 0 and 1 FibArray = [0, 1] while len(FibArray) < n + 1: FibArray.append(0) if n <= 1: return n else: if FibArray[n - 1] == 0: FibArray[n - 1] = fibonacci(n - 1) if FibArray[n - 2] == 0: FibArray[n - 2] = fibonacci(n - 2) FibArray[n] = FibArray[n - 2] + FibArray[n - 1] return FibArray[n] print(fibonacci2(4))
""" Using Recursion """ def fibonacci(n): if n <= 1: return n return fibonacci(n - 1) + fibonacci(n - 2) print(fibonacci(5)) '\nUsing Dynamic Programming\n' def fibonacci2(n): fib_array = [0, 1] while len(FibArray) < n + 1: FibArray.append(0) if n <= 1: return n else: if FibArray[n - 1] == 0: FibArray[n - 1] = fibonacci(n - 1) if FibArray[n - 2] == 0: FibArray[n - 2] = fibonacci(n - 2) FibArray[n] = FibArray[n - 2] + FibArray[n - 1] return FibArray[n] print(fibonacci2(4))
""" Copyright (c) 2021 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with the terms of the License. All rights not expressly granted by the License are reserved. Unless required by applicable law or agreed to separately in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """ # Step 1: Specify the commands that you would like to test on the access devices access_commands = [ "show ip arp", "show ip interface brief", "show mac address-table", "show version", "show inventory", "show running-config", "show boot", "show ip route", "show ip ospf neighbor", "show ip ospf database" ] # Step 2: Specify the commands that you would like to test on the core devices core_commands = [ "show ip arp", "show ip interface brief", "show mac address-table", "show version", "show inventory", "show running-config", "show boot", "show ip route", "show ip ospf neighbor", "show ip bgp summary", "show ip bgp neighbors", "show ip ospf database" ] # Step 3: Create a dictionary with the devices as a key and the commands as the value device_commands = {} device_commands['access1'] = access_commands device_commands['access2'] = access_commands device_commands['core1'] = core_commands device_commands['core2'] = core_commands # Step 4: Specify all the devices that you would like to test in your topology devices = ["access1", "access2", "core1", "core2"] # Step 5: Specify the destinations that you would like to test for reachability destinations = [ [""], #access1 [""], #access2 [""], #core1 [""] #core2 ] # Step 6: Specify the testbed filename testbed_filename = ''
""" Copyright (c) 2021 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with the terms of the License. All rights not expressly granted by the License are reserved. Unless required by applicable law or agreed to separately in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """ access_commands = ['show ip arp', 'show ip interface brief', 'show mac address-table', 'show version', 'show inventory', 'show running-config', 'show boot', 'show ip route', 'show ip ospf neighbor', 'show ip ospf database'] core_commands = ['show ip arp', 'show ip interface brief', 'show mac address-table', 'show version', 'show inventory', 'show running-config', 'show boot', 'show ip route', 'show ip ospf neighbor', 'show ip bgp summary', 'show ip bgp neighbors', 'show ip ospf database'] device_commands = {} device_commands['access1'] = access_commands device_commands['access2'] = access_commands device_commands['core1'] = core_commands device_commands['core2'] = core_commands devices = ['access1', 'access2', 'core1', 'core2'] destinations = [[''], [''], [''], ['']] testbed_filename = ''
def dight(n): sum=0 while n>0: sum=sum+n%10 n=n//10 return sum k=0 l=[] for i in range(2,100): for j in range(2,100): t=i**j d=dight(t) if d==i: k+=1 l.append(t) l=sorted(l) print(l[29])
def dight(n): sum = 0 while n > 0: sum = sum + n % 10 n = n // 10 return sum k = 0 l = [] for i in range(2, 100): for j in range(2, 100): t = i ** j d = dight(t) if d == i: k += 1 l.append(t) l = sorted(l) print(l[29])
load("//cuda:providers.bzl", "CudaInfo") def is_dynamic_input(src): return src.extension in ["so", "dll", "dylib"] def is_object_file(src): return src.extension in ["obj", "o"] def is_static_input(src): return src.extension in ["a", "lib", "lo"] def is_source_file(src): return src.extension in ["c", "cc", "cpp", "cxx", "c++", "C", "cu"] def is_header_file(src): return src.extension in ["h", "hh", "hpp", "hxx", "inc", "inl", "H", "cuh"] def _process_srcs(srcs, source_files, header_files, object_files, static_inputs, dynamic_inputs): for src in srcs: if is_source_file(src): source_files.append(src) if is_header_file(src): header_files.append(src) if is_static_input(src): static_inputs.append(src) if is_dynamic_input(src): dynamic_inputs.append(src) if is_object_file(src): object_files.append(src) def _resolve_include_prefixes( ctx, rule_kind, input_private_header_files, output_private_header_files, input_public_header_files, output_public_header_files, strip_include_prefix, include_prefix, local_include_paths, include_paths, ): if strip_include_prefix == "" and include_prefix == "": # Private headers for header_file in input_private_header_files: output_private_header_files.append(header_file) # Public headers for header_file in input_public_header_files: output_public_header_files.append(header_file) # Public include path if input_public_header_files: include_paths.append(ctx.build_file_path.replace('/BUILD.bazel', '')) return if strip_include_prefix != "": strip_include_prefix = strip_include_prefix[1:] if strip_include_prefix[0] == "/" else strip_include_prefix strip_include_prefix = strip_include_prefix[:-1] if strip_include_prefix[-1] == "/" else strip_include_prefix strip_path = ctx.build_file_path.replace('BUILD.bazel', strip_include_prefix) if include_prefix != "": include_prefix = include_prefix[1:] if include_prefix[0] == "/" else include_prefix include_prefix = include_prefix[:-1] if include_prefix[-1] == "/" else include_prefix add_path = "_virtual_includes/{}/{}".format(ctx.attr.name, include_prefix) # Calculate new include path include_path = ctx.bin_dir.path + "/" + ctx.build_file_path.replace('BUILD.bazel', add_path) # Add include path to private includes local_include_paths.append(include_path) # Add include path to public includes if input_public_header_files: include_paths.append(include_path) # Private headers for header_file in input_private_header_files: if strip_path not in header_file.path: fail("in {} rule {}: header {} is not under the specified strip prefix {}".format( rule_kind, ctx.label, header_file.path, strip_path )) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink( output = new_header_file, target_file = header_file, ) output_private_header_files.append(new_header_file) # Public headers for header_file in input_public_header_files: if strip_path not in header_file.path: fail("in {} rule {}: header {} is not under the specified strip prefix {}".format( ctx.rule.kind, ctx.label, header_file.path, strip_path )) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink( output = new_header_file, target_file = header_file, ) output_public_header_files.append(new_header_file) def _process_deps( deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines, ): for dep in deps: if CcInfo in dep: ctx = dep[CcInfo].compilation_context private_header_files.extend( ctx.direct_public_headers + ctx.direct_textual_headers + ctx.headers.to_list() ) local_include_paths.extend(ctx.includes.to_list()) local_quote_include_paths.extend(ctx.quote_includes.to_list()) local_system_include_paths.extend(ctx.system_includes.to_list()) local_defines.extend(ctx.defines.to_list()) if CudaInfo in dep: object_files.extend(dep[CudaInfo].linking_context.object_files) static_inputs.extend(dep[CudaInfo].linking_context.static_libraries) dynamic_inputs.extend(dep[CudaInfo].linking_context.dynamic_libraries) def preprocess_inputs(ctx, rule_kind): source_files = [] private_header_files = [] public_header_files = [] object_files = [] static_inputs = [] dynamic_inputs = [] # Include paths local_include_paths = [] local_quote_include_paths = [ ".", ctx.bin_dir.path, ] local_system_include_paths = [] include_paths = [] quote_include_paths = [] system_include_paths = list(ctx.attr.includes) # Defines local_defines = list(ctx.attr.local_defines) defines = list(ctx.attr.defines) # Extract different types of inputs from srcs private_header_files_tmp = [] _process_srcs( ctx.files.srcs, source_files, private_header_files_tmp, object_files, static_inputs, dynamic_inputs ) # Resolve source header paths _resolve_include_prefixes( ctx, rule_kind, private_header_files_tmp, private_header_files, ctx.files.hdrs, public_header_files, ctx.attr.strip_include_prefix, ctx.attr.include_prefix, local_include_paths, include_paths, ) # Resolve compile depenedecies _process_deps( ctx.attr.deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines, ) return struct( source_files = source_files, private_header_files = private_header_files, public_header_files = public_header_files, object_files = object_files, static_inputs = static_inputs, dynamic_inputs = dynamic_inputs, local_include_paths = local_include_paths, local_quote_include_paths = local_quote_include_paths, local_system_include_paths = local_system_include_paths, include_paths = include_paths, quote_include_paths = quote_include_paths, system_include_paths = system_include_paths, local_defines = local_defines, defines = defines, ) def process_features(features): requested_features = [] unsupported_features = [] for feature in features: if feature[0] == '-': unsupported_features.append(feature[1:]) else: requested_features.append(feature) return struct( requested_features = requested_features, unsupported_features = unsupported_features, ) def combine_env(ctx, host_env, device_env): host_path = host_env.get("PATH", "").split(ctx.configuration.host_path_separator) host_ld_library_path = host_env.get("LD_LIBRARY_PATH", "").split(ctx.configuration.host_path_separator) device_path = host_env.get("PATH", "").split(ctx.configuration.host_path_separator) device_ld_library_path = host_env.get("LD_LIBRARY_PATH", "").split(ctx.configuration.host_path_separator) update_values = dict(device_env) env = dict(host_env) if host_path or device_path: path = host_path for value in device_path: if value not in path: path.append(value) update_values["PATH"] = ctx.configuration.host_path_separator.join(path) if host_ld_library_path or device_ld_library_path: ld_library_path = host_ld_library_path for value in device_ld_library_path: if value not in ld_library_path: ld_library_path.append(value) update_values["LD_LIBRARY_PATH"] = ctx.configuration.host_path_separator.join(ld_library_path) env.update(update_values) return env def expand_make_variables(ctx, value): for key, value in ctx.var.items(): value = value.replace('$({})'.format(key), value) return value
load('//cuda:providers.bzl', 'CudaInfo') def is_dynamic_input(src): return src.extension in ['so', 'dll', 'dylib'] def is_object_file(src): return src.extension in ['obj', 'o'] def is_static_input(src): return src.extension in ['a', 'lib', 'lo'] def is_source_file(src): return src.extension in ['c', 'cc', 'cpp', 'cxx', 'c++', 'C', 'cu'] def is_header_file(src): return src.extension in ['h', 'hh', 'hpp', 'hxx', 'inc', 'inl', 'H', 'cuh'] def _process_srcs(srcs, source_files, header_files, object_files, static_inputs, dynamic_inputs): for src in srcs: if is_source_file(src): source_files.append(src) if is_header_file(src): header_files.append(src) if is_static_input(src): static_inputs.append(src) if is_dynamic_input(src): dynamic_inputs.append(src) if is_object_file(src): object_files.append(src) def _resolve_include_prefixes(ctx, rule_kind, input_private_header_files, output_private_header_files, input_public_header_files, output_public_header_files, strip_include_prefix, include_prefix, local_include_paths, include_paths): if strip_include_prefix == '' and include_prefix == '': for header_file in input_private_header_files: output_private_header_files.append(header_file) for header_file in input_public_header_files: output_public_header_files.append(header_file) if input_public_header_files: include_paths.append(ctx.build_file_path.replace('/BUILD.bazel', '')) return if strip_include_prefix != '': strip_include_prefix = strip_include_prefix[1:] if strip_include_prefix[0] == '/' else strip_include_prefix strip_include_prefix = strip_include_prefix[:-1] if strip_include_prefix[-1] == '/' else strip_include_prefix strip_path = ctx.build_file_path.replace('BUILD.bazel', strip_include_prefix) if include_prefix != '': include_prefix = include_prefix[1:] if include_prefix[0] == '/' else include_prefix include_prefix = include_prefix[:-1] if include_prefix[-1] == '/' else include_prefix add_path = '_virtual_includes/{}/{}'.format(ctx.attr.name, include_prefix) include_path = ctx.bin_dir.path + '/' + ctx.build_file_path.replace('BUILD.bazel', add_path) local_include_paths.append(include_path) if input_public_header_files: include_paths.append(include_path) for header_file in input_private_header_files: if strip_path not in header_file.path: fail('in {} rule {}: header {} is not under the specified strip prefix {}'.format(rule_kind, ctx.label, header_file.path, strip_path)) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink(output=new_header_file, target_file=header_file) output_private_header_files.append(new_header_file) for header_file in input_public_header_files: if strip_path not in header_file.path: fail('in {} rule {}: header {} is not under the specified strip prefix {}'.format(ctx.rule.kind, ctx.label, header_file.path, strip_path)) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink(output=new_header_file, target_file=header_file) output_public_header_files.append(new_header_file) def _process_deps(deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines): for dep in deps: if CcInfo in dep: ctx = dep[CcInfo].compilation_context private_header_files.extend(ctx.direct_public_headers + ctx.direct_textual_headers + ctx.headers.to_list()) local_include_paths.extend(ctx.includes.to_list()) local_quote_include_paths.extend(ctx.quote_includes.to_list()) local_system_include_paths.extend(ctx.system_includes.to_list()) local_defines.extend(ctx.defines.to_list()) if CudaInfo in dep: object_files.extend(dep[CudaInfo].linking_context.object_files) static_inputs.extend(dep[CudaInfo].linking_context.static_libraries) dynamic_inputs.extend(dep[CudaInfo].linking_context.dynamic_libraries) def preprocess_inputs(ctx, rule_kind): source_files = [] private_header_files = [] public_header_files = [] object_files = [] static_inputs = [] dynamic_inputs = [] local_include_paths = [] local_quote_include_paths = ['.', ctx.bin_dir.path] local_system_include_paths = [] include_paths = [] quote_include_paths = [] system_include_paths = list(ctx.attr.includes) local_defines = list(ctx.attr.local_defines) defines = list(ctx.attr.defines) private_header_files_tmp = [] _process_srcs(ctx.files.srcs, source_files, private_header_files_tmp, object_files, static_inputs, dynamic_inputs) _resolve_include_prefixes(ctx, rule_kind, private_header_files_tmp, private_header_files, ctx.files.hdrs, public_header_files, ctx.attr.strip_include_prefix, ctx.attr.include_prefix, local_include_paths, include_paths) _process_deps(ctx.attr.deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines) return struct(source_files=source_files, private_header_files=private_header_files, public_header_files=public_header_files, object_files=object_files, static_inputs=static_inputs, dynamic_inputs=dynamic_inputs, local_include_paths=local_include_paths, local_quote_include_paths=local_quote_include_paths, local_system_include_paths=local_system_include_paths, include_paths=include_paths, quote_include_paths=quote_include_paths, system_include_paths=system_include_paths, local_defines=local_defines, defines=defines) def process_features(features): requested_features = [] unsupported_features = [] for feature in features: if feature[0] == '-': unsupported_features.append(feature[1:]) else: requested_features.append(feature) return struct(requested_features=requested_features, unsupported_features=unsupported_features) def combine_env(ctx, host_env, device_env): host_path = host_env.get('PATH', '').split(ctx.configuration.host_path_separator) host_ld_library_path = host_env.get('LD_LIBRARY_PATH', '').split(ctx.configuration.host_path_separator) device_path = host_env.get('PATH', '').split(ctx.configuration.host_path_separator) device_ld_library_path = host_env.get('LD_LIBRARY_PATH', '').split(ctx.configuration.host_path_separator) update_values = dict(device_env) env = dict(host_env) if host_path or device_path: path = host_path for value in device_path: if value not in path: path.append(value) update_values['PATH'] = ctx.configuration.host_path_separator.join(path) if host_ld_library_path or device_ld_library_path: ld_library_path = host_ld_library_path for value in device_ld_library_path: if value not in ld_library_path: ld_library_path.append(value) update_values['LD_LIBRARY_PATH'] = ctx.configuration.host_path_separator.join(ld_library_path) env.update(update_values) return env def expand_make_variables(ctx, value): for (key, value) in ctx.var.items(): value = value.replace('$({})'.format(key), value) return value
def custMin(paramList): n = len(paramList)-1 for pos in range(n): if paramList[pos] < paramList[pos+1]: paramList[pos], paramList[pos+1] = paramList[pos+1], paramList[pos] return paramList[n] print(custMin([5, 2, 9, 10, -2, 90]))
def cust_min(paramList): n = len(paramList) - 1 for pos in range(n): if paramList[pos] < paramList[pos + 1]: (paramList[pos], paramList[pos + 1]) = (paramList[pos + 1], paramList[pos]) return paramList[n] print(cust_min([5, 2, 9, 10, -2, 90]))
# -*- coding: utf-8 -*- # # Copyright (c) 2013 Clione Software # Copyright (c) 2010-2013 Cidadania S. Coop. Galega # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ Module to store space related url names. """ # Spaces SPACE_ADD = 'create-space' SPACE_EDIT = 'edit-space' SPACE_DELETE = 'delete-space' SPACE_INDEX = 'space-index' SPACE_FEED = 'space-feed' SPACE_LIST = 'list-spaces' GOTO_SPACE = 'goto-space' EDIT_ROLES = 'edit-roles' SEARCH_USER = 'search-user' # News # Notes: SPACE_NEWS is held only for backwards compatibility, it should be # removed when every reverse is cleaned SPACE_NEWS = 'list-space-news' NEWS_ARCHIVE = 'post-archive' NEWS_MONTH = 'post-archive-month' NEWS_YEAR = 'post-archive-year' # Documents DOCUMENT_ADD = 'add-document' DOCUMENT_EDIT = 'edit-document' DOCUMENT_DELETE = 'delete-document' DOCUMENT_LIST = 'list-documents' # Events EVENT_ADD = 'add-event' EVENT_EDIT = 'edit-event' EVENT_DELETE = 'delete-event' EVENT_LIST = 'list-events' EVENT_VIEW = 'view-event' # Intents INTENT_ADD = 'add-intent' INTENT_VALIDATE = 'validate-intent'
""" Module to store space related url names. """ space_add = 'create-space' space_edit = 'edit-space' space_delete = 'delete-space' space_index = 'space-index' space_feed = 'space-feed' space_list = 'list-spaces' goto_space = 'goto-space' edit_roles = 'edit-roles' search_user = 'search-user' space_news = 'list-space-news' news_archive = 'post-archive' news_month = 'post-archive-month' news_year = 'post-archive-year' document_add = 'add-document' document_edit = 'edit-document' document_delete = 'delete-document' document_list = 'list-documents' event_add = 'add-event' event_edit = 'edit-event' event_delete = 'delete-event' event_list = 'list-events' event_view = 'view-event' intent_add = 'add-intent' intent_validate = 'validate-intent'
# Copyright (c) 2018, WSO2 Inc. (http://wso2.com) All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. INTEGRATOR = "bin/integrator" ANALYTICS = "wso2/analytics/wso2/worker/bin/carbon" BROKER = "wso2/broker/bin/wso2server" BP = "wso2/business-process/bin/wso2server" MICRO_INTG = "wso2/micro-integrator/bin/wso2server" DATASOURCE_PATHS = {"product-apim": {}, "product-is": {}, "product-ei": {"CORE": ["conf/datasources/master-datasources.xml"], "BROKER": ["wso2/broker/conf/datasources/master-datasources.xml", "wso2/broker/conf/datasources/metrics-datasources.xml"], "BPS": ["wso2/business-process/conf/datasources/master-datasources.xml", "wso2/business-process/conf/datasources/bps-datasources.xml", "wso2/business-process/conf/datasources/activiti-datasources.xml"]}, } M2_PATH = {"product-is": "is/wso2is", "product-apim": "am/wso2am", "product-ei": "ei/wso2ei"} DIST_POM_PATH = {"product-is": "modules/distribution/pom.xml", "product-apim": "modules/distribution/product/pom.xml", "product-ei": "distribution/pom.xml"} LIB_PATH = {"product-apim": "", "product-is": "", "product-ei": "lib"} DISTRIBUTION_PATH = {"product-apim": "modules/distribution/product/target", "product-is": "modules/distribution/target", "product-ei": "distribution/target"} INTEGRATION_PATH = {"product-apim": "modules/integration", "product-is": "modules/integration", "product-ei": "integration/mediation-tests/tests-mediator-1/"} POM_FILE_PATHS = {"product-is": "", "product-apim": "", "product-ei": ""} # Add testng files to be replaced. E.g "integration/mediation-tests/tests-mediator-1/src/test/resources/testng.xml" TESTNG_DIST_XML_PATHS = {"integration/business-process-tests/pom.xml", "integration/business-process-tests/tests-integration/bpel/src/test/resources/testng-server-mgt.xml", "integration/business-process-tests/tests-integration/bpel/src/test/resources/testng.xml", "integration/business-process-tests/tests-integration/bpmn/src/test/resources/testng.xml", "integration/business-process-tests/tests-integration/humantasks/src/test/resources/testng.xml", "integration/business-process-tests/tests-integration/pom.xml", "integration/mediation-tests/pom.xml", "integration/mediation-tests/tests-mediator-2/src/test/resources/testng.xml", "integration/mediation-tests/tests-patches/src/test/resources/testng.xml", "integration/mediation-tests/tests-service/src/test/resources/testng.xml", "integration/mediation-tests/tests-transport/src/test/resources/testng.xml", "integration/pom.xml"} ARTIFACT_REPORTS_PATHS = {"product-apim": [], "product-is": [], "product-ei": {"mediation-tests-mediator-1": ["integration/mediation-tests/tests-mediator-1/target/surefire-reports", "integration/mediation-tests/tests-mediator-1/target/logs/automation.log"] } } IGNORE_DIR_TYPES = {"product-apim": [], "product-is": [], "product-ei": ["ESBTestSuite","junitreports","BPS Test Suite","bps-server-startup","BPS HumanTask TestSuite","BPS HumanTask Coordination TestSuite","DssTestSuite"] } DB_META_DATA = { "MYSQL": {"prefix": "jdbc:mysql://", "driverClassName": "com.mysql.jdbc.Driver", "jarName": "mysql.jar", "DB_SETUP": { "product-apim": {}, "product-is": {}, "product-ei": {"WSO2_CARBON_DB_CORE": ['dbscripts/mysql5.7.sql'], "WSO2_CARBON_DB_BROKER": ['wso2/broker/dbscripts/mysql5.7.sql'], "WSO2_CARBON_DB_BPS": ['wso2/business-process/dbscripts/mysql5.7.sql'], "WSO2_MB_STORE_DB_BROKER": ['wso2/broker/dbscripts/mb-store/mysql-mb.sql'], "WSO2_METRICS_DB_BROKER": ['wso2/broker/dbscripts/metrics/mysql.sql'], "BPS_DS_BPS": ['wso2/business-process/dbscripts/bps/bpel/create/mysql.sql'], "ACTIVITI_DB_BPS": [ 'wso2/business-process/dbscripts/bps/bpmn/create/activiti.mysql.create.identity.sql'] }}}, "SQLSERVER-SE": {"prefix": "jdbc:sqlserver://", "driverClassName": "com.microsoft.sqlserver.jdbc.SQLServerDriver", "jarName": "sqlserver-ex.jar", "DB_SETUP": { "product-apim": {}, "product-is": {}, "product-ei": {"WSO2_CARBON_DB_CORE": ['dbscripts/mssql.sql'], "WSO2_CARBON_DB_BROKER": ['wso2/broker/dbscripts/mssql.sql'], "WSO2_CARBON_DB_BPS": ['wso2/business-process/dbscripts/mssql.sql'], "WSO2_MB_STORE_DB_BROKER": ['wso2/broker/dbscripts/mb-store/mssql-mb.sql'], "WSO2_METRICS_DB_BROKER": ['wso2/broker/dbscripts/metrics/mssql.sql'], "BPS_DS_BPS": ['wso2/business-process/dbscripts/bps/bpel/create/mssql.sql'], "ACTIVITI_DB_BPS": [ 'wso2/business-process/dbscripts/bps/bpmn/create/activiti.mssql.create.identity.sql']}}}, "ORACLE-SE2": {"prefix": "jdbc:oracle:thin:@", "driverClassName": "oracle.jdbc.OracleDriver", "jarName": "oracle-se.jar", "DB_SETUP": { "product-apim": {}, "product-is": {}, "product-ei": {"WSO2_CARBON_DB_CORE": ['dbscripts/oracle.sql'], "WSO2_CARBON_DB_BROKER": ['wso2/broker/dbscripts/oracle.sql'], "WSO2_CARBON_DB_BPS": ['wso2/business-process/dbscripts/oracle.sql'], "WSO2_MB_STORE_DB_BROKER": ['wso2/broker/dbscripts/mb-store/oracle-mb.sql'], "WSO2_METRICS_DB_BROKER": ['wso2/broker/dbscripts/metrics/oracle.sql'], "BPS_DS_BPS": ['wso2/business-process/dbscripts/bps/bpel/create/oracle.sql'], "ACTIVITI_DB_BPS": [ 'wso2/business-process/dbscripts/bps/bpmn/create/activiti.oracle.create.identity.sql']}}}, "POSTGRESQL": {"prefix": "jdbc:postgresql://", "driverClassName": "org.postgresql.Driver", "jarName": "postgres.jar", "DB_SETUP": {"product-apim": {}, "product-is": {}, "product-ei": {}} }}
integrator = 'bin/integrator' analytics = 'wso2/analytics/wso2/worker/bin/carbon' broker = 'wso2/broker/bin/wso2server' bp = 'wso2/business-process/bin/wso2server' micro_intg = 'wso2/micro-integrator/bin/wso2server' datasource_paths = {'product-apim': {}, 'product-is': {}, 'product-ei': {'CORE': ['conf/datasources/master-datasources.xml'], 'BROKER': ['wso2/broker/conf/datasources/master-datasources.xml', 'wso2/broker/conf/datasources/metrics-datasources.xml'], 'BPS': ['wso2/business-process/conf/datasources/master-datasources.xml', 'wso2/business-process/conf/datasources/bps-datasources.xml', 'wso2/business-process/conf/datasources/activiti-datasources.xml']}} m2_path = {'product-is': 'is/wso2is', 'product-apim': 'am/wso2am', 'product-ei': 'ei/wso2ei'} dist_pom_path = {'product-is': 'modules/distribution/pom.xml', 'product-apim': 'modules/distribution/product/pom.xml', 'product-ei': 'distribution/pom.xml'} lib_path = {'product-apim': '', 'product-is': '', 'product-ei': 'lib'} distribution_path = {'product-apim': 'modules/distribution/product/target', 'product-is': 'modules/distribution/target', 'product-ei': 'distribution/target'} integration_path = {'product-apim': 'modules/integration', 'product-is': 'modules/integration', 'product-ei': 'integration/mediation-tests/tests-mediator-1/'} pom_file_paths = {'product-is': '', 'product-apim': '', 'product-ei': ''} testng_dist_xml_paths = {'integration/business-process-tests/pom.xml', 'integration/business-process-tests/tests-integration/bpel/src/test/resources/testng-server-mgt.xml', 'integration/business-process-tests/tests-integration/bpel/src/test/resources/testng.xml', 'integration/business-process-tests/tests-integration/bpmn/src/test/resources/testng.xml', 'integration/business-process-tests/tests-integration/humantasks/src/test/resources/testng.xml', 'integration/business-process-tests/tests-integration/pom.xml', 'integration/mediation-tests/pom.xml', 'integration/mediation-tests/tests-mediator-2/src/test/resources/testng.xml', 'integration/mediation-tests/tests-patches/src/test/resources/testng.xml', 'integration/mediation-tests/tests-service/src/test/resources/testng.xml', 'integration/mediation-tests/tests-transport/src/test/resources/testng.xml', 'integration/pom.xml'} artifact_reports_paths = {'product-apim': [], 'product-is': [], 'product-ei': {'mediation-tests-mediator-1': ['integration/mediation-tests/tests-mediator-1/target/surefire-reports', 'integration/mediation-tests/tests-mediator-1/target/logs/automation.log']}} ignore_dir_types = {'product-apim': [], 'product-is': [], 'product-ei': ['ESBTestSuite', 'junitreports', 'BPS Test Suite', 'bps-server-startup', 'BPS HumanTask TestSuite', 'BPS HumanTask Coordination TestSuite', 'DssTestSuite']} db_meta_data = {'MYSQL': {'prefix': 'jdbc:mysql://', 'driverClassName': 'com.mysql.jdbc.Driver', 'jarName': 'mysql.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {'WSO2_CARBON_DB_CORE': ['dbscripts/mysql5.7.sql'], 'WSO2_CARBON_DB_BROKER': ['wso2/broker/dbscripts/mysql5.7.sql'], 'WSO2_CARBON_DB_BPS': ['wso2/business-process/dbscripts/mysql5.7.sql'], 'WSO2_MB_STORE_DB_BROKER': ['wso2/broker/dbscripts/mb-store/mysql-mb.sql'], 'WSO2_METRICS_DB_BROKER': ['wso2/broker/dbscripts/metrics/mysql.sql'], 'BPS_DS_BPS': ['wso2/business-process/dbscripts/bps/bpel/create/mysql.sql'], 'ACTIVITI_DB_BPS': ['wso2/business-process/dbscripts/bps/bpmn/create/activiti.mysql.create.identity.sql']}}}, 'SQLSERVER-SE': {'prefix': 'jdbc:sqlserver://', 'driverClassName': 'com.microsoft.sqlserver.jdbc.SQLServerDriver', 'jarName': 'sqlserver-ex.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {'WSO2_CARBON_DB_CORE': ['dbscripts/mssql.sql'], 'WSO2_CARBON_DB_BROKER': ['wso2/broker/dbscripts/mssql.sql'], 'WSO2_CARBON_DB_BPS': ['wso2/business-process/dbscripts/mssql.sql'], 'WSO2_MB_STORE_DB_BROKER': ['wso2/broker/dbscripts/mb-store/mssql-mb.sql'], 'WSO2_METRICS_DB_BROKER': ['wso2/broker/dbscripts/metrics/mssql.sql'], 'BPS_DS_BPS': ['wso2/business-process/dbscripts/bps/bpel/create/mssql.sql'], 'ACTIVITI_DB_BPS': ['wso2/business-process/dbscripts/bps/bpmn/create/activiti.mssql.create.identity.sql']}}}, 'ORACLE-SE2': {'prefix': 'jdbc:oracle:thin:@', 'driverClassName': 'oracle.jdbc.OracleDriver', 'jarName': 'oracle-se.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {'WSO2_CARBON_DB_CORE': ['dbscripts/oracle.sql'], 'WSO2_CARBON_DB_BROKER': ['wso2/broker/dbscripts/oracle.sql'], 'WSO2_CARBON_DB_BPS': ['wso2/business-process/dbscripts/oracle.sql'], 'WSO2_MB_STORE_DB_BROKER': ['wso2/broker/dbscripts/mb-store/oracle-mb.sql'], 'WSO2_METRICS_DB_BROKER': ['wso2/broker/dbscripts/metrics/oracle.sql'], 'BPS_DS_BPS': ['wso2/business-process/dbscripts/bps/bpel/create/oracle.sql'], 'ACTIVITI_DB_BPS': ['wso2/business-process/dbscripts/bps/bpmn/create/activiti.oracle.create.identity.sql']}}}, 'POSTGRESQL': {'prefix': 'jdbc:postgresql://', 'driverClassName': 'org.postgresql.Driver', 'jarName': 'postgres.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {}}}}
def get_digit(num): root = num ** 0.5 if root % 1 == 0: return counting = [] b = (root // 1) c = 1 while True: d = (c / (root - b)) // 1 e = num - b ** 2 if e % c == 0: c = e / c else: c = e b = (c * d - b) if [b, c] in counting: return counting else: counting.append([b, c]) result = 0 for i in range(10001): token = get_digit(i) if token != None and len(token) % 2 == 1: result += 1 print(result)
def get_digit(num): root = num ** 0.5 if root % 1 == 0: return counting = [] b = root // 1 c = 1 while True: d = c / (root - b) // 1 e = num - b ** 2 if e % c == 0: c = e / c else: c = e b = c * d - b if [b, c] in counting: return counting else: counting.append([b, c]) result = 0 for i in range(10001): token = get_digit(i) if token != None and len(token) % 2 == 1: result += 1 print(result)
""" Generate a JSON file for pre-configuration .. only:: development_administrator Created on Jul. 6, 2020 @author: jgossage """ def genpre(file: str = 'preconfig.json'): pass
""" Generate a JSON file for pre-configuration .. only:: development_administrator Created on Jul. 6, 2020 @author: jgossage """ def genpre(file: str='preconfig.json'): pass
# https://youtu.be/wNVCJj642n4?list=PLAB1DA9F452D9466C def binary_search(items, target): low = 0 high = len(items) while (high - low) > 1: middle = (low + high) // 2 if target < items[middle]: high = middle if target >= items[middle]: low = middle if items[low] == target: return low raise ValueError("{} was not found in the list".format(target))
def binary_search(items, target): low = 0 high = len(items) while high - low > 1: middle = (low + high) // 2 if target < items[middle]: high = middle if target >= items[middle]: low = middle if items[low] == target: return low raise value_error('{} was not found in the list'.format(target))
# https://www.hackerrank.com/challenges/count-luck/problem def findMove(matrix,now,gone): x,y = now moves = list() moves.append((x+1,y)) if(x!=len(matrix)-1 and matrix[x+1][y]!='X' ) else None moves.append((x,y+1)) if(y!=len(matrix[0])-1 and matrix[x][y+1]!='X') else None moves.append((x-1,y)) if(x!=0 and matrix[x-1][y]!='X') else None moves.append((x,y-1)) if(y!=0 and matrix[x][y-1]!='X') else None for move in moves: if(move in gone): moves.remove(move) return moves def findPath(matrix,now): wave=0 gone = [now] stack= [] moves =[now] while(True): gone.append(moves[0]) if(matrix[moves[0][0]][moves[0][1]]=='*'): return wave moves = findMove(matrix,moves[0],gone) if(len(moves)>1): wave +=1 for i in range(1,len(moves)): stack.append(moves[i]) elif(len(moves)<1): moves = [stack.pop()] def countLuck(matrix, k): for m in range(len(matrix)): if('M' in matrix[m]): start = (m,matrix[m].index('M')) print('Impressed' if findPath(matrix,start)==k else 'Oops!') def main(): t = int(input()) for t_itr in range(t): nm = input().split() n = int(nm[0]) m = int(nm[1]) matrix = [] for _ in range(n): matrix_item = input() matrix.append(matrix_item) k = int(input()) countLuck(matrix, k) if __name__ == '__main__': main()
def find_move(matrix, now, gone): (x, y) = now moves = list() moves.append((x + 1, y)) if x != len(matrix) - 1 and matrix[x + 1][y] != 'X' else None moves.append((x, y + 1)) if y != len(matrix[0]) - 1 and matrix[x][y + 1] != 'X' else None moves.append((x - 1, y)) if x != 0 and matrix[x - 1][y] != 'X' else None moves.append((x, y - 1)) if y != 0 and matrix[x][y - 1] != 'X' else None for move in moves: if move in gone: moves.remove(move) return moves def find_path(matrix, now): wave = 0 gone = [now] stack = [] moves = [now] while True: gone.append(moves[0]) if matrix[moves[0][0]][moves[0][1]] == '*': return wave moves = find_move(matrix, moves[0], gone) if len(moves) > 1: wave += 1 for i in range(1, len(moves)): stack.append(moves[i]) elif len(moves) < 1: moves = [stack.pop()] def count_luck(matrix, k): for m in range(len(matrix)): if 'M' in matrix[m]: start = (m, matrix[m].index('M')) print('Impressed' if find_path(matrix, start) == k else 'Oops!') def main(): t = int(input()) for t_itr in range(t): nm = input().split() n = int(nm[0]) m = int(nm[1]) matrix = [] for _ in range(n): matrix_item = input() matrix.append(matrix_item) k = int(input()) count_luck(matrix, k) if __name__ == '__main__': main()
""" future: clean single-source support for Python 3 and 2 ====================================================== The ``future`` module helps run Python 3.x-compatible code under Python 2 with minimal code cruft. The goal is to allow you to write clean, modern, forward-compatible Python 3 code today and to run it with minimal effort under Python 2 alongside a Python 2 stack that may contain dependencies that have not yet been ported to Python 3. It is designed to be used as follows:: from __future__ import (absolute_import, division, print_function, unicode_literals) from future import standard_library from future.builtins import * followed by clean Python 3 code (with a few restrictions) that can run unchanged on Python 2.7. On Python 3, the import lines have zero effect (and zero namespace pollution). On Python 2, ``from future import standard_library`` installs import hooks to allow renamed and moved standard library modules to be imported from their new Py3 locations. On Python 2, the ``from future.builtins import *`` line shadows builtins to provide their Python 3 semantics. (See below for the explicit import form.) Documentation ------------- See: http://python-future.org Also see the docstrings for each of these modules for more info:: - future.standard_library - future.builtins - future.utils Automatic conversion -------------------- An experimental script called ``futurize`` is included to aid in making either Python 2 code or Python 3 code compatible with both platforms using the ``future`` module. See `<http://python-future.org/automatic_conversion.html>`_. Credits ------- :Author: Ed Schofield :Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte Ltd, Singapore. http://pythoncharmers.com :Others: - The backported ``super()`` and ``range()`` functions are derived from Ryan Kelly's ``magicsuper`` module and Dan Crosta's ``xrange`` module. - The ``futurize`` script uses ``lib2to3``, ``lib3to2``, and parts of Armin Ronacher's ``python-modernize`` code. - The ``python_2_unicode_compatible`` decorator is from Django. The ``implements_iterator`` and ``with_metaclass`` decorators are from Jinja2. - ``future`` incorporates the ``six`` module by Benjamin Peterson as ``future.utils.six``. - Documentation is generated using ``sphinx`` using an adaptation of Armin Ronacher's stylesheets from Jinja2. Licensing --------- Copyright 2013 Python Charmers Pty Ltd, Australia. The software is distributed under an MIT licence. See LICENSE.txt. """ # No namespace pollution __all__ = [] __ver_major__ = 0 __ver_minor__ = 9 __ver_patch__ = 0 __ver_sub__ = '' __version__ = "%d.%d.%d%s" % (__ver_major__, __ver_minor__, __ver_patch__, __ver_sub__)
""" future: clean single-source support for Python 3 and 2 ====================================================== The ``future`` module helps run Python 3.x-compatible code under Python 2 with minimal code cruft. The goal is to allow you to write clean, modern, forward-compatible Python 3 code today and to run it with minimal effort under Python 2 alongside a Python 2 stack that may contain dependencies that have not yet been ported to Python 3. It is designed to be used as follows:: from __future__ import (absolute_import, division, print_function, unicode_literals) from future import standard_library from future.builtins import * followed by clean Python 3 code (with a few restrictions) that can run unchanged on Python 2.7. On Python 3, the import lines have zero effect (and zero namespace pollution). On Python 2, ``from future import standard_library`` installs import hooks to allow renamed and moved standard library modules to be imported from their new Py3 locations. On Python 2, the ``from future.builtins import *`` line shadows builtins to provide their Python 3 semantics. (See below for the explicit import form.) Documentation ------------- See: http://python-future.org Also see the docstrings for each of these modules for more info:: - future.standard_library - future.builtins - future.utils Automatic conversion -------------------- An experimental script called ``futurize`` is included to aid in making either Python 2 code or Python 3 code compatible with both platforms using the ``future`` module. See `<http://python-future.org/automatic_conversion.html>`_. Credits ------- :Author: Ed Schofield :Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte Ltd, Singapore. http://pythoncharmers.com :Others: - The backported ``super()`` and ``range()`` functions are derived from Ryan Kelly's ``magicsuper`` module and Dan Crosta's ``xrange`` module. - The ``futurize`` script uses ``lib2to3``, ``lib3to2``, and parts of Armin Ronacher's ``python-modernize`` code. - The ``python_2_unicode_compatible`` decorator is from Django. The ``implements_iterator`` and ``with_metaclass`` decorators are from Jinja2. - ``future`` incorporates the ``six`` module by Benjamin Peterson as ``future.utils.six``. - Documentation is generated using ``sphinx`` using an adaptation of Armin Ronacher's stylesheets from Jinja2. Licensing --------- Copyright 2013 Python Charmers Pty Ltd, Australia. The software is distributed under an MIT licence. See LICENSE.txt. """ __all__ = [] __ver_major__ = 0 __ver_minor__ = 9 __ver_patch__ = 0 __ver_sub__ = '' __version__ = '%d.%d.%d%s' % (__ver_major__, __ver_minor__, __ver_patch__, __ver_sub__)
# # PySNMP MIB module CISCO-LWAPP-DOT11-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LWAPP-DOT11-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:47:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection") CLDot11ChannelBandwidth, CLDot11Band = mibBuilder.importSymbols("CISCO-LWAPP-TC-MIB", "CLDot11ChannelBandwidth", "CLDot11Band") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, ModuleIdentity, NotificationType, Integer32, iso, TimeTicks, Counter32, Counter64, ObjectIdentity, IpAddress, MibIdentifier, Gauge32, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "ModuleIdentity", "NotificationType", "Integer32", "iso", "TimeTicks", "Counter32", "Counter64", "ObjectIdentity", "IpAddress", "MibIdentifier", "Gauge32", "Unsigned32") DisplayString, TextualConvention, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "TruthValue") ciscoLwappDot11MIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 612)) ciscoLwappDot11MIB.setRevisions(('2010-05-06 00:00', '2007-01-04 00:00',)) if mibBuilder.loadTexts: ciscoLwappDot11MIB.setLastUpdated('201005060000Z') if mibBuilder.loadTexts: ciscoLwappDot11MIB.setOrganization('Cisco Systems Inc.') ciscoLwappDot11MIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 0)) ciscoLwappDot11MIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1)) ciscoLwappDot11MIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2)) cldConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1)) cldStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2)) cldHtMacOperationsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1), ) if mibBuilder.loadTexts: cldHtMacOperationsTable.setStatus('current') cldHtMacOperationsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cldHtDot11nBand")) if mibBuilder.loadTexts: cldHtMacOperationsEntry.setStatus('current') cldHtDot11nBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 1), CLDot11Band()) if mibBuilder.loadTexts: cldHtDot11nBand.setStatus('current') cldHtDot11nChannelBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 2), CLDot11ChannelBandwidth().clone('twenty')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nChannelBandwidth.setStatus('current') cldHtDot11nRifsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nRifsEnable.setStatus('current') cldHtDot11nAmsduEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 4), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nAmsduEnable.setStatus('current') cldHtDot11nAmpduEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 5), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nAmpduEnable.setStatus('current') cldHtDot11nGuardIntervalEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 6), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nGuardIntervalEnable.setStatus('current') cldHtDot11nEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nEnable.setStatus('current') cldMultipleCountryCode = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldMultipleCountryCode.setStatus('current') cldRegulatoryDomain = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cldRegulatoryDomain.setStatus('current') cld11nMcsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4), ) if mibBuilder.loadTexts: cld11nMcsTable.setStatus('current') cld11nMcsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cld11nMcsBand"), (0, "CISCO-LWAPP-DOT11-MIB", "cld11nMcsDataRateIndex")) if mibBuilder.loadTexts: cld11nMcsEntry.setStatus('current') cld11nMcsBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 1), CLDot11Band()) if mibBuilder.loadTexts: cld11nMcsBand.setStatus('current') cld11nMcsDataRateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 2), Unsigned32()) if mibBuilder.loadTexts: cld11nMcsDataRateIndex.setStatus('current') cld11nMcsDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsDataRate.setStatus('current') cld11nMcsSupportEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 4), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cld11nMcsSupportEnable.setStatus('current') cld11nMcsChannelWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 5), Unsigned32()).setUnits('MHz').setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsChannelWidth.setStatus('current') cld11nMcsGuardInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 6), Unsigned32()).setUnits('ns').setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsGuardInterval.setStatus('current') cld11nMcsModulation = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsModulation.setStatus('current') cld11acMcsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6), ) if mibBuilder.loadTexts: cld11acMcsTable.setStatus('current') cld11acMcsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cld11acMcsSpatialStreamIndex"), (0, "CISCO-LWAPP-DOT11-MIB", "cld11acMcsDataRateIndex")) if mibBuilder.loadTexts: cld11acMcsEntry.setStatus('current') cld11acMcsSpatialStreamIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 1), Unsigned32()) if mibBuilder.loadTexts: cld11acMcsSpatialStreamIndex.setStatus('current') cld11acMcsDataRateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 2), Unsigned32()) if mibBuilder.loadTexts: cld11acMcsDataRateIndex.setStatus('current') cld11acMcsSupportEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cld11acMcsSupportEnable.setStatus('current') cld11acConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5)) cldVhtDot11acEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5, 1), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldVhtDot11acEnable.setStatus('current') cldLoadBalancing = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8)) cldLoadBalancingEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readonly") if mibBuilder.loadTexts: cldLoadBalancingEnable.setStatus('current') cldLoadBalancingWindowSize = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldLoadBalancingWindowSize.setStatus('current') cldLoadBalancingDenialCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldLoadBalancingDenialCount.setStatus('current') cldLoadBalancingTrafficThreshold = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 4), Unsigned32().clone(50)).setUnits('Percent').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldLoadBalancingTrafficThreshold.setStatus('current') cldBandSelect = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9)) cldBandSelectEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readonly") if mibBuilder.loadTexts: cldBandSelectEnable.setStatus('current') cldBandSelectCycleCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectCycleCount.setStatus('current') cldBandSelectCycleThreshold = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000)).clone(200)).setUnits('milliseconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectCycleThreshold.setStatus('current') cldBandSelectAgeOutSuppression = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 200)).clone(20)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectAgeOutSuppression.setStatus('current') cldBandSelectAgeOutDualBand = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 300)).clone(60)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectAgeOutDualBand.setStatus('current') cldBandSelectClientRssi = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-90, -20)).clone(-80)).setUnits('dBm').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectClientRssi.setStatus('current') cldCountryTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1), ) if mibBuilder.loadTexts: cldCountryTable.setStatus('current') cldCountryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cldCountryCode")) if mibBuilder.loadTexts: cldCountryEntry.setStatus('current') cldCountryCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))) if mibBuilder.loadTexts: cldCountryCode.setStatus('current') cldCountryName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryName.setStatus('current') cldCountryDot11aChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11aChannels.setStatus('current') cldCountryDot11bChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11bChannels.setStatus('current') cldCountryDot11aDcaChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11aDcaChannels.setStatus('current') cldCountryDot11bDcaChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11bDcaChannels.setStatus('current') cldCountryChangeNotifEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldCountryChangeNotifEnable.setStatus('current') ciscoLwappDot11CountryChangeNotif = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 612, 0, 1)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldMultipleCountryCode")) if mibBuilder.loadTexts: ciscoLwappDot11CountryChangeNotif.setStatus('current') ciscoLwappDot11MIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1)) ciscoLwappDot11MIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2)) ciscoLwappDot11MIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 1)).setObjects(("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBMacOperGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBCompliance = ciscoLwappDot11MIBCompliance.setStatus('deprecated') ciscoLwappDot11MIBComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 2)).setObjects(("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBMacOperGroup"), ("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBConfigGroup"), ("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBNotifsGroup"), ("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBStatusGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBComplianceRev1 = ciscoLwappDot11MIBComplianceRev1.setStatus('current') ciscoLwappDot11MIBMacOperGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 1)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nChannelBandwidth"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nRifsEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nAmsduEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nAmpduEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nGuardIntervalEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBMacOperGroup = ciscoLwappDot11MIBMacOperGroup.setStatus('current') ciscoLwappDot11MIBConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 2)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldMultipleCountryCode"), ("CISCO-LWAPP-DOT11-MIB", "cldRegulatoryDomain"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsDataRate"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsSupportEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryChangeNotifEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldLoadBalancingEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldLoadBalancingWindowSize"), ("CISCO-LWAPP-DOT11-MIB", "cldLoadBalancingDenialCount"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectCycleCount"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectCycleThreshold"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectAgeOutSuppression"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectAgeOutDualBand"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectClientRssi"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsChannelWidth"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsGuardInterval"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsModulation")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBConfigGroup = ciscoLwappDot11MIBConfigGroup.setStatus('current') ciscoLwappDot11MIBNotifsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 3)).setObjects(("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11CountryChangeNotif")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBNotifsGroup = ciscoLwappDot11MIBNotifsGroup.setStatus('current') ciscoLwappDot11MIBStatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 4)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldCountryName"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11aChannels"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11bChannels"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11aDcaChannels"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11bDcaChannels")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBStatusGroup = ciscoLwappDot11MIBStatusGroup.setStatus('current') mibBuilder.exportSymbols("CISCO-LWAPP-DOT11-MIB", cld11nMcsGuardInterval=cld11nMcsGuardInterval, cld11nMcsEntry=cld11nMcsEntry, cldBandSelectCycleThreshold=cldBandSelectCycleThreshold, cldBandSelectEnable=cldBandSelectEnable, cldConfig=cldConfig, cldMultipleCountryCode=cldMultipleCountryCode, cld11acMcsSpatialStreamIndex=cld11acMcsSpatialStreamIndex, ciscoLwappDot11MIBCompliances=ciscoLwappDot11MIBCompliances, ciscoLwappDot11MIBMacOperGroup=ciscoLwappDot11MIBMacOperGroup, ciscoLwappDot11MIBConfigGroup=ciscoLwappDot11MIBConfigGroup, cldBandSelectAgeOutSuppression=cldBandSelectAgeOutSuppression, ciscoLwappDot11MIBNotifs=ciscoLwappDot11MIBNotifs, cldHtDot11nEnable=cldHtDot11nEnable, cldLoadBalancingEnable=cldLoadBalancingEnable, cldHtDot11nRifsEnable=cldHtDot11nRifsEnable, cld11acMcsSupportEnable=cld11acMcsSupportEnable, ciscoLwappDot11MIBConform=ciscoLwappDot11MIBConform, ciscoLwappDot11MIBComplianceRev1=ciscoLwappDot11MIBComplianceRev1, ciscoLwappDot11CountryChangeNotif=ciscoLwappDot11CountryChangeNotif, cldHtMacOperationsTable=cldHtMacOperationsTable, ciscoLwappDot11MIBObjects=ciscoLwappDot11MIBObjects, cld11acConfig=cld11acConfig, ciscoLwappDot11MIBCompliance=ciscoLwappDot11MIBCompliance, cld11acMcsTable=cld11acMcsTable, cld11acMcsEntry=cld11acMcsEntry, cldCountryCode=cldCountryCode, cld11acMcsDataRateIndex=cld11acMcsDataRateIndex, ciscoLwappDot11MIBGroups=ciscoLwappDot11MIBGroups, cldRegulatoryDomain=cldRegulatoryDomain, cldStatus=cldStatus, cldLoadBalancingWindowSize=cldLoadBalancingWindowSize, cld11nMcsModulation=cld11nMcsModulation, cldBandSelect=cldBandSelect, cldLoadBalancing=cldLoadBalancing, cldVhtDot11acEnable=cldVhtDot11acEnable, cldBandSelectCycleCount=cldBandSelectCycleCount, cldBandSelectAgeOutDualBand=cldBandSelectAgeOutDualBand, cldCountryDot11aChannels=cldCountryDot11aChannels, cldCountryDot11aDcaChannels=cldCountryDot11aDcaChannels, cldCountryChangeNotifEnable=cldCountryChangeNotifEnable, cldBandSelectClientRssi=cldBandSelectClientRssi, cldHtDot11nBand=cldHtDot11nBand, cld11nMcsDataRateIndex=cld11nMcsDataRateIndex, cldCountryTable=cldCountryTable, cldHtMacOperationsEntry=cldHtMacOperationsEntry, cldHtDot11nAmsduEnable=cldHtDot11nAmsduEnable, PYSNMP_MODULE_ID=ciscoLwappDot11MIB, cldHtDot11nGuardIntervalEnable=cldHtDot11nGuardIntervalEnable, cldCountryName=cldCountryName, cldCountryEntry=cldCountryEntry, cldLoadBalancingTrafficThreshold=cldLoadBalancingTrafficThreshold, cld11nMcsTable=cld11nMcsTable, cldCountryDot11bChannels=cldCountryDot11bChannels, cld11nMcsDataRate=cld11nMcsDataRate, cldHtDot11nAmpduEnable=cldHtDot11nAmpduEnable, cld11nMcsBand=cld11nMcsBand, cldCountryDot11bDcaChannels=cldCountryDot11bDcaChannels, cld11nMcsSupportEnable=cld11nMcsSupportEnable, ciscoLwappDot11MIBNotifsGroup=ciscoLwappDot11MIBNotifsGroup, ciscoLwappDot11MIBStatusGroup=ciscoLwappDot11MIBStatusGroup, ciscoLwappDot11MIB=ciscoLwappDot11MIB, cld11nMcsChannelWidth=cld11nMcsChannelWidth, cldLoadBalancingDenialCount=cldLoadBalancingDenialCount, cldHtDot11nChannelBandwidth=cldHtDot11nChannelBandwidth)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_size_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection') (cl_dot11_channel_bandwidth, cl_dot11_band) = mibBuilder.importSymbols('CISCO-LWAPP-TC-MIB', 'CLDot11ChannelBandwidth', 'CLDot11Band') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, bits, module_identity, notification_type, integer32, iso, time_ticks, counter32, counter64, object_identity, ip_address, mib_identifier, gauge32, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'ModuleIdentity', 'NotificationType', 'Integer32', 'iso', 'TimeTicks', 'Counter32', 'Counter64', 'ObjectIdentity', 'IpAddress', 'MibIdentifier', 'Gauge32', 'Unsigned32') (display_string, textual_convention, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'TruthValue') cisco_lwapp_dot11_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 612)) ciscoLwappDot11MIB.setRevisions(('2010-05-06 00:00', '2007-01-04 00:00')) if mibBuilder.loadTexts: ciscoLwappDot11MIB.setLastUpdated('201005060000Z') if mibBuilder.loadTexts: ciscoLwappDot11MIB.setOrganization('Cisco Systems Inc.') cisco_lwapp_dot11_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 0)) cisco_lwapp_dot11_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1)) cisco_lwapp_dot11_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2)) cld_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1)) cld_status = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2)) cld_ht_mac_operations_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1)) if mibBuilder.loadTexts: cldHtMacOperationsTable.setStatus('current') cld_ht_mac_operations_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nBand')) if mibBuilder.loadTexts: cldHtMacOperationsEntry.setStatus('current') cld_ht_dot11n_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 1), cl_dot11_band()) if mibBuilder.loadTexts: cldHtDot11nBand.setStatus('current') cld_ht_dot11n_channel_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 2), cl_dot11_channel_bandwidth().clone('twenty')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nChannelBandwidth.setStatus('current') cld_ht_dot11n_rifs_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nRifsEnable.setStatus('current') cld_ht_dot11n_amsdu_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 4), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nAmsduEnable.setStatus('current') cld_ht_dot11n_ampdu_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 5), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nAmpduEnable.setStatus('current') cld_ht_dot11n_guard_interval_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 6), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nGuardIntervalEnable.setStatus('current') cld_ht_dot11n_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nEnable.setStatus('current') cld_multiple_country_code = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldMultipleCountryCode.setStatus('current') cld_regulatory_domain = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cldRegulatoryDomain.setStatus('current') cld11n_mcs_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4)) if mibBuilder.loadTexts: cld11nMcsTable.setStatus('current') cld11n_mcs_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cld11nMcsBand'), (0, 'CISCO-LWAPP-DOT11-MIB', 'cld11nMcsDataRateIndex')) if mibBuilder.loadTexts: cld11nMcsEntry.setStatus('current') cld11n_mcs_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 1), cl_dot11_band()) if mibBuilder.loadTexts: cld11nMcsBand.setStatus('current') cld11n_mcs_data_rate_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 2), unsigned32()) if mibBuilder.loadTexts: cld11nMcsDataRateIndex.setStatus('current') cld11n_mcs_data_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsDataRate.setStatus('current') cld11n_mcs_support_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 4), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cld11nMcsSupportEnable.setStatus('current') cld11n_mcs_channel_width = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 5), unsigned32()).setUnits('MHz').setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsChannelWidth.setStatus('current') cld11n_mcs_guard_interval = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 6), unsigned32()).setUnits('ns').setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsGuardInterval.setStatus('current') cld11n_mcs_modulation = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsModulation.setStatus('current') cld11ac_mcs_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6)) if mibBuilder.loadTexts: cld11acMcsTable.setStatus('current') cld11ac_mcs_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cld11acMcsSpatialStreamIndex'), (0, 'CISCO-LWAPP-DOT11-MIB', 'cld11acMcsDataRateIndex')) if mibBuilder.loadTexts: cld11acMcsEntry.setStatus('current') cld11ac_mcs_spatial_stream_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 1), unsigned32()) if mibBuilder.loadTexts: cld11acMcsSpatialStreamIndex.setStatus('current') cld11ac_mcs_data_rate_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 2), unsigned32()) if mibBuilder.loadTexts: cld11acMcsDataRateIndex.setStatus('current') cld11ac_mcs_support_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cld11acMcsSupportEnable.setStatus('current') cld11ac_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5)) cld_vht_dot11ac_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5, 1), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldVhtDot11acEnable.setStatus('current') cld_load_balancing = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8)) cld_load_balancing_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readonly') if mibBuilder.loadTexts: cldLoadBalancingEnable.setStatus('current') cld_load_balancing_window_size = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 20)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldLoadBalancingWindowSize.setStatus('current') cld_load_balancing_denial_count = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldLoadBalancingDenialCount.setStatus('current') cld_load_balancing_traffic_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 4), unsigned32().clone(50)).setUnits('Percent').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldLoadBalancingTrafficThreshold.setStatus('current') cld_band_select = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9)) cld_band_select_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readonly') if mibBuilder.loadTexts: cldBandSelectEnable.setStatus('current') cld_band_select_cycle_count = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectCycleCount.setStatus('current') cld_band_select_cycle_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000)).clone(200)).setUnits('milliseconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectCycleThreshold.setStatus('current') cld_band_select_age_out_suppression = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 4), integer32().subtype(subtypeSpec=value_range_constraint(10, 200)).clone(20)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectAgeOutSuppression.setStatus('current') cld_band_select_age_out_dual_band = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 5), integer32().subtype(subtypeSpec=value_range_constraint(10, 300)).clone(60)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectAgeOutDualBand.setStatus('current') cld_band_select_client_rssi = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 6), integer32().subtype(subtypeSpec=value_range_constraint(-90, -20)).clone(-80)).setUnits('dBm').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectClientRssi.setStatus('current') cld_country_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1)) if mibBuilder.loadTexts: cldCountryTable.setStatus('current') cld_country_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cldCountryCode')) if mibBuilder.loadTexts: cldCountryEntry.setStatus('current') cld_country_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))) if mibBuilder.loadTexts: cldCountryCode.setStatus('current') cld_country_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryName.setStatus('current') cld_country_dot11a_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11aChannels.setStatus('current') cld_country_dot11b_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11bChannels.setStatus('current') cld_country_dot11a_dca_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11aDcaChannels.setStatus('current') cld_country_dot11b_dca_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11bDcaChannels.setStatus('current') cld_country_change_notif_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldCountryChangeNotifEnable.setStatus('current') cisco_lwapp_dot11_country_change_notif = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 612, 0, 1)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldMultipleCountryCode')) if mibBuilder.loadTexts: ciscoLwappDot11CountryChangeNotif.setStatus('current') cisco_lwapp_dot11_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1)) cisco_lwapp_dot11_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2)) cisco_lwapp_dot11_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 1)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBMacOperGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_compliance = ciscoLwappDot11MIBCompliance.setStatus('deprecated') cisco_lwapp_dot11_mib_compliance_rev1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 2)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBMacOperGroup'), ('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBConfigGroup'), ('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBNotifsGroup'), ('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBStatusGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_compliance_rev1 = ciscoLwappDot11MIBComplianceRev1.setStatus('current') cisco_lwapp_dot11_mib_mac_oper_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 1)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nChannelBandwidth'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nRifsEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nAmsduEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nAmpduEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nGuardIntervalEnable')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_mac_oper_group = ciscoLwappDot11MIBMacOperGroup.setStatus('current') cisco_lwapp_dot11_mib_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 2)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldMultipleCountryCode'), ('CISCO-LWAPP-DOT11-MIB', 'cldRegulatoryDomain'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsDataRate'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsSupportEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryChangeNotifEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldLoadBalancingEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldLoadBalancingWindowSize'), ('CISCO-LWAPP-DOT11-MIB', 'cldLoadBalancingDenialCount'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectCycleCount'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectCycleThreshold'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectAgeOutSuppression'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectAgeOutDualBand'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectClientRssi'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsChannelWidth'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsGuardInterval'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsModulation')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_config_group = ciscoLwappDot11MIBConfigGroup.setStatus('current') cisco_lwapp_dot11_mib_notifs_group = notification_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 3)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11CountryChangeNotif')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_notifs_group = ciscoLwappDot11MIBNotifsGroup.setStatus('current') cisco_lwapp_dot11_mib_status_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 4)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldCountryName'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11aChannels'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11bChannels'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11aDcaChannels'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11bDcaChannels')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_status_group = ciscoLwappDot11MIBStatusGroup.setStatus('current') mibBuilder.exportSymbols('CISCO-LWAPP-DOT11-MIB', cld11nMcsGuardInterval=cld11nMcsGuardInterval, cld11nMcsEntry=cld11nMcsEntry, cldBandSelectCycleThreshold=cldBandSelectCycleThreshold, cldBandSelectEnable=cldBandSelectEnable, cldConfig=cldConfig, cldMultipleCountryCode=cldMultipleCountryCode, cld11acMcsSpatialStreamIndex=cld11acMcsSpatialStreamIndex, ciscoLwappDot11MIBCompliances=ciscoLwappDot11MIBCompliances, ciscoLwappDot11MIBMacOperGroup=ciscoLwappDot11MIBMacOperGroup, ciscoLwappDot11MIBConfigGroup=ciscoLwappDot11MIBConfigGroup, cldBandSelectAgeOutSuppression=cldBandSelectAgeOutSuppression, ciscoLwappDot11MIBNotifs=ciscoLwappDot11MIBNotifs, cldHtDot11nEnable=cldHtDot11nEnable, cldLoadBalancingEnable=cldLoadBalancingEnable, cldHtDot11nRifsEnable=cldHtDot11nRifsEnable, cld11acMcsSupportEnable=cld11acMcsSupportEnable, ciscoLwappDot11MIBConform=ciscoLwappDot11MIBConform, ciscoLwappDot11MIBComplianceRev1=ciscoLwappDot11MIBComplianceRev1, ciscoLwappDot11CountryChangeNotif=ciscoLwappDot11CountryChangeNotif, cldHtMacOperationsTable=cldHtMacOperationsTable, ciscoLwappDot11MIBObjects=ciscoLwappDot11MIBObjects, cld11acConfig=cld11acConfig, ciscoLwappDot11MIBCompliance=ciscoLwappDot11MIBCompliance, cld11acMcsTable=cld11acMcsTable, cld11acMcsEntry=cld11acMcsEntry, cldCountryCode=cldCountryCode, cld11acMcsDataRateIndex=cld11acMcsDataRateIndex, ciscoLwappDot11MIBGroups=ciscoLwappDot11MIBGroups, cldRegulatoryDomain=cldRegulatoryDomain, cldStatus=cldStatus, cldLoadBalancingWindowSize=cldLoadBalancingWindowSize, cld11nMcsModulation=cld11nMcsModulation, cldBandSelect=cldBandSelect, cldLoadBalancing=cldLoadBalancing, cldVhtDot11acEnable=cldVhtDot11acEnable, cldBandSelectCycleCount=cldBandSelectCycleCount, cldBandSelectAgeOutDualBand=cldBandSelectAgeOutDualBand, cldCountryDot11aChannels=cldCountryDot11aChannels, cldCountryDot11aDcaChannels=cldCountryDot11aDcaChannels, cldCountryChangeNotifEnable=cldCountryChangeNotifEnable, cldBandSelectClientRssi=cldBandSelectClientRssi, cldHtDot11nBand=cldHtDot11nBand, cld11nMcsDataRateIndex=cld11nMcsDataRateIndex, cldCountryTable=cldCountryTable, cldHtMacOperationsEntry=cldHtMacOperationsEntry, cldHtDot11nAmsduEnable=cldHtDot11nAmsduEnable, PYSNMP_MODULE_ID=ciscoLwappDot11MIB, cldHtDot11nGuardIntervalEnable=cldHtDot11nGuardIntervalEnable, cldCountryName=cldCountryName, cldCountryEntry=cldCountryEntry, cldLoadBalancingTrafficThreshold=cldLoadBalancingTrafficThreshold, cld11nMcsTable=cld11nMcsTable, cldCountryDot11bChannels=cldCountryDot11bChannels, cld11nMcsDataRate=cld11nMcsDataRate, cldHtDot11nAmpduEnable=cldHtDot11nAmpduEnable, cld11nMcsBand=cld11nMcsBand, cldCountryDot11bDcaChannels=cldCountryDot11bDcaChannels, cld11nMcsSupportEnable=cld11nMcsSupportEnable, ciscoLwappDot11MIBNotifsGroup=ciscoLwappDot11MIBNotifsGroup, ciscoLwappDot11MIBStatusGroup=ciscoLwappDot11MIBStatusGroup, ciscoLwappDot11MIB=ciscoLwappDot11MIB, cld11nMcsChannelWidth=cld11nMcsChannelWidth, cldLoadBalancingDenialCount=cldLoadBalancingDenialCount, cldHtDot11nChannelBandwidth=cldHtDot11nChannelBandwidth)
#!/usr/bin/env python3 __version__ = (0, 5, 2) __version_info__ = ".".join(map(str, __version__)) APP_NAME = 'pseudo-interpreter' APP_AUTHOR = 'bell345' APP_VERSION = __version_info__
__version__ = (0, 5, 2) __version_info__ = '.'.join(map(str, __version__)) app_name = 'pseudo-interpreter' app_author = 'bell345' app_version = __version_info__
class DiagonalDisproportion: def getDisproportion(self, matrix): r = 0 for i, s in enumerate(matrix): r += int(s[i]) - int(s[-i-1]) return r
class Diagonaldisproportion: def get_disproportion(self, matrix): r = 0 for (i, s) in enumerate(matrix): r += int(s[i]) - int(s[-i - 1]) return r
for num in range(101): div = 0 for x in range(1, num+1): resto = num % x if resto == 0: div += 1 if div == 2: print(num)
for num in range(101): div = 0 for x in range(1, num + 1): resto = num % x if resto == 0: div += 1 if div == 2: print(num)
#weight = 50 State.PS_veliki=_State(False,name='PS_veliki',shared=True) State.PS_mali=_State(False,name='PS_mali',shared=True) def run(): r.setpos(-1500+155+125+10,-1000+600+220,90) #bocno absrot90 r.conf_set('send_status_interval', 10) State.color = 'ljubicasta' # init servos llift(0) rlift(0) rfliper(0) lfliper(0) return
State.PS_veliki = __state(False, name='PS_veliki', shared=True) State.PS_mali = __state(False, name='PS_mali', shared=True) def run(): r.setpos(-1500 + 155 + 125 + 10, -1000 + 600 + 220, 90) r.conf_set('send_status_interval', 10) State.color = 'ljubicasta' llift(0) rlift(0) rfliper(0) lfliper(0) return
def join_dictionaries( dictionaries: list) -> dict: joined_dictionary = \ dict() for dictionary in dictionaries: joined_dictionary.update( dictionary) return \ joined_dictionary
def join_dictionaries(dictionaries: list) -> dict: joined_dictionary = dict() for dictionary in dictionaries: joined_dictionary.update(dictionary) return joined_dictionary
"""Version file.""" # __ __ # ______ _/ /_ / / # /_ __/__ /_ __/_________ / /______,- ___ __ _____ __ # / / / _ \/ / / ___/ /_/_/ // / __ // _ '_ \/ ___/ _ \ # __/ /_/ / / / /_/ ___/ _ \/ _' / /_/ // // // / ___/ / / / # /_____/_/ /_/\__/____/_/ /_/_/ \_\_____/_//_//_/____/_/ /_/ VERSION = (1, 18, 9) __version__ = '.'.join(map(str, VERSION))
"""Version file.""" version = (1, 18, 9) __version__ = '.'.join(map(str, VERSION))
APIAE_PARAMS = dict( n_x=90, # dimension of x; observation n_z=3, # dimension of z; latent space n_u=1, # dimension of u; control K=10, # the number of time steps R=1, # the number of adaptations L=32, # the number of trajectory sampled dt=.1, # time interval ur=.1, # update rate lr=1e-3, # learning ) TRAINING_EPOCHS = 3000 OFFSET_STD = 1e-5
apiae_params = dict(n_x=90, n_z=3, n_u=1, K=10, R=1, L=32, dt=0.1, ur=0.1, lr=0.001) training_epochs = 3000 offset_std = 1e-05
class Computer: def __init__(self): self.__maxprice = 900 def sell(self): print("Selling Price: {}".format(self.__maxprice)) def setMaxPrice(self, price): self.__maxprice = price c = Computer() c.sell() # change the price c.__maxprice = 1000 c.sell() # using setter function c.setMaxPrice(1000) c.sell()
class Computer: def __init__(self): self.__maxprice = 900 def sell(self): print('Selling Price: {}'.format(self.__maxprice)) def set_max_price(self, price): self.__maxprice = price c = computer() c.sell() c.__maxprice = 1000 c.sell() c.setMaxPrice(1000) c.sell()
if __name__ == "__main__": ant_map = """ ------a------------------------------------ ------------------o---------------------- -----------------o----------------------- ------------------------------------------ ------------------------------------------ ------------------------------------------ ------------------------------------------# """ print(ant_map)
if __name__ == '__main__': ant_map = '\n ------a------------------------------------\n ------------------o----------------------\n -----------------o-----------------------\n ------------------------------------------\n ------------------------------------------\n ------------------------------------------\n ------------------------------------------#\n ' print(ant_map)
COMPANY_PRESENTATION = "company_presentation" LUNCH_PRESENTATION = "lunch_presentation" ALTERNATIVE_PRESENTATION = "alternative_presentation" COURSE = "course" KID_EVENT = "kid_event" PARTY = "party" SOCIAL = "social" OTHER = "other" EVENT = "event" EVENT_TYPES = ( (COMPANY_PRESENTATION, COMPANY_PRESENTATION), (LUNCH_PRESENTATION, LUNCH_PRESENTATION), (ALTERNATIVE_PRESENTATION, ALTERNATIVE_PRESENTATION), (COURSE, COURSE), (KID_EVENT, KID_EVENT), (PARTY, PARTY), (SOCIAL, SOCIAL), (OTHER, OTHER), (EVENT, EVENT), ) """ Events marked as NORMAL are events that can have infinite pools. This even status type should be used for most events. """ NORMAL = "NORMAL" """ Events marked as INFINITE should have exactly 1 pool, with capacity set to 0. A user _should_ be able to sign up to the event. There are no permissions (except Abakom). This even status type should be used for events such as Abakom Works, etc. """ INFINITE = "INFINITE" """ Events marked as OPEN should have 0 pools, like TBA. Location is required. A user should _not_ be able to sign up to the event. There are no permissions (except Abakom). This even status type should be used for events hosted by LaBamba, etc. """ OPEN = "OPEN" """ Events marked as TBA should have 0 pools, location will be set to TBA. A user should _not_ be able to sign up to the event. There are no permissions (except Abakom). TBA should be used for events that need additional information, as a placeholder. This is the default even status type. """ TBA = "TBA" EVENT_STATUS_TYPES = ((NORMAL, NORMAL), (INFINITE, INFINITE), (OPEN, OPEN), (TBA, TBA)) UNKNOWN = "UNKNOWN" PRESENT = "PRESENT" NOT_PRESENT = "NOT_PRESENT" PRESENCE_CHOICES = ((UNKNOWN, UNKNOWN), (PRESENT, PRESENT), (NOT_PRESENT, NOT_PRESENT)) PHOTO_CONSENT = "PHOTO_CONSENT" PHOTO_NOT_CONSENT = "PHOTO_NOT_CONSENT" PHOTO_CONSENT_CHOICES = ( (UNKNOWN, UNKNOWN), (PHOTO_CONSENT, PHOTO_CONSENT), (PHOTO_NOT_CONSENT, PHOTO_NOT_CONSENT), ) PENDING_REGISTER = "PENDING_REGISTER" SUCCESS_REGISTER = "SUCCESS_REGISTER" FAILURE_REGISTER = "FAILURE_REGISTER" PENDING_UNREGISTER = "PENDING_UNREGISTER" SUCCESS_UNREGISTER = "SUCCESS_UNREGISTER" FAILURE_UNREGISTER = "FAILURE_UNREGISTER" STATUSES = ( (PENDING_REGISTER, PENDING_REGISTER), (SUCCESS_REGISTER, SUCCESS_REGISTER), (FAILURE_REGISTER, FAILURE_REGISTER), (PENDING_UNREGISTER, PENDING_UNREGISTER), (SUCCESS_UNREGISTER, SUCCESS_UNREGISTER), (FAILURE_UNREGISTER, FAILURE_UNREGISTER), ) PAYMENT_PENDING = "pending" PAYMENT_SUCCESS = "succeeded" PAYMENT_FAILURE = "failed" PAYMENT_MANUAL = "manual" PAYMENT_CANCELED = "canceled" PAYMENT_STATUS_CHOICES = ( (PAYMENT_MANUAL, PAYMENT_MANUAL), (PAYMENT_SUCCESS, PAYMENT_SUCCESS), (PAYMENT_FAILURE, PAYMENT_FAILURE), (PAYMENT_PENDING, PAYMENT_PENDING), ) STRIPE_EVENT_INTENT_SUCCESS = "payment_intent.succeeded" STRIPE_EVENT_INTENT_PAYMENT_FAILED = "payment_intent.payment_failed" STRIPE_EVENT_INTENT_PAYMENT_CANCELED = "payment_intent.canceled" STRIPE_EVENT_CHARGE_REFUNDED = "charge.refunded" # See https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status STRIPE_INTENT_REQUIRES_PAYMENT = "requires_payment_method" STRIPE_INTENT_REQUIRES_CONFIRMATION = "requires_confirmaion" STRIPE_INTENT_SUCCEEDED = "succeeded" STRIPE_INTENT_PROCESSING = "processing" STRIPE_INTENT_CANCELED = "canceled" STRIPE_INTENT_REQUIRES_ACTION = "requires_action" STRIPE_INTENT_REQUIRES_CAPTURE = "requires_capture" SOCKET_INITIATE_PAYMENT_SUCCESS = "Event.SOCKET_INITIATE_PAYMENT.SUCCESS" SOCKET_INITIATE_PAYMENT_FAILURE = "Event.SOCKET_INITIATE_PAYMENT.FAILURE" SOCKET_PAYMENT_SUCCESS = "Event.SOCKET_PAYMENT.SUCCESS" SOCKET_PAYMENT_FAILURE = "Event.SOCKET_PAYMENT.FAILURE" SOCKET_REGISTRATION_SUCCESS = "Event.SOCKET_REGISTRATION.SUCCESS" SOCKET_REGISTRATION_FAILURE = "Event.SOCKET_REGISTRATION.FAILURE" SOCKET_UNREGISTRATION_SUCCESS = "Event.SOCKET_UNREGISTRATION.SUCCESS" SOCKET_UNREGISTRATION_FAILURE = "Event.SOCKET_UNREGISTRATION.FAILURE" DAYS_BETWEEN_NOTIFY = 1 # Event registration and unregistration closes a certain amount of hours before the start time REGISTRATION_CLOSE_TIME = 2 UNREGISTRATION_CLOSE_TIME = 2
company_presentation = 'company_presentation' lunch_presentation = 'lunch_presentation' alternative_presentation = 'alternative_presentation' course = 'course' kid_event = 'kid_event' party = 'party' social = 'social' other = 'other' event = 'event' event_types = ((COMPANY_PRESENTATION, COMPANY_PRESENTATION), (LUNCH_PRESENTATION, LUNCH_PRESENTATION), (ALTERNATIVE_PRESENTATION, ALTERNATIVE_PRESENTATION), (COURSE, COURSE), (KID_EVENT, KID_EVENT), (PARTY, PARTY), (SOCIAL, SOCIAL), (OTHER, OTHER), (EVENT, EVENT)) '\nEvents marked as NORMAL are events that can have infinite pools.\nThis even status type should be used for most events.\n' normal = 'NORMAL' '\nEvents marked as INFINITE should have exactly 1 pool, with capacity set to 0.\nA user _should_ be able to sign up to the event.\nThere are no permissions (except Abakom).\nThis even status type should be used for events such as Abakom Works, etc.\n' infinite = 'INFINITE' '\nEvents marked as OPEN should have 0 pools, like TBA. Location is required.\nA user should _not_ be able to sign up to the event.\nThere are no permissions (except Abakom).\nThis even status type should be used for events hosted by LaBamba, etc.\n' open = 'OPEN' '\nEvents marked as TBA should have 0 pools, location will be set to TBA.\nA user should _not_ be able to sign up to the event.\nThere are no permissions (except Abakom).\nTBA should be used for events that need additional information, as a placeholder.\nThis is the default even status type.\n' tba = 'TBA' event_status_types = ((NORMAL, NORMAL), (INFINITE, INFINITE), (OPEN, OPEN), (TBA, TBA)) unknown = 'UNKNOWN' present = 'PRESENT' not_present = 'NOT_PRESENT' presence_choices = ((UNKNOWN, UNKNOWN), (PRESENT, PRESENT), (NOT_PRESENT, NOT_PRESENT)) photo_consent = 'PHOTO_CONSENT' photo_not_consent = 'PHOTO_NOT_CONSENT' photo_consent_choices = ((UNKNOWN, UNKNOWN), (PHOTO_CONSENT, PHOTO_CONSENT), (PHOTO_NOT_CONSENT, PHOTO_NOT_CONSENT)) pending_register = 'PENDING_REGISTER' success_register = 'SUCCESS_REGISTER' failure_register = 'FAILURE_REGISTER' pending_unregister = 'PENDING_UNREGISTER' success_unregister = 'SUCCESS_UNREGISTER' failure_unregister = 'FAILURE_UNREGISTER' statuses = ((PENDING_REGISTER, PENDING_REGISTER), (SUCCESS_REGISTER, SUCCESS_REGISTER), (FAILURE_REGISTER, FAILURE_REGISTER), (PENDING_UNREGISTER, PENDING_UNREGISTER), (SUCCESS_UNREGISTER, SUCCESS_UNREGISTER), (FAILURE_UNREGISTER, FAILURE_UNREGISTER)) payment_pending = 'pending' payment_success = 'succeeded' payment_failure = 'failed' payment_manual = 'manual' payment_canceled = 'canceled' payment_status_choices = ((PAYMENT_MANUAL, PAYMENT_MANUAL), (PAYMENT_SUCCESS, PAYMENT_SUCCESS), (PAYMENT_FAILURE, PAYMENT_FAILURE), (PAYMENT_PENDING, PAYMENT_PENDING)) stripe_event_intent_success = 'payment_intent.succeeded' stripe_event_intent_payment_failed = 'payment_intent.payment_failed' stripe_event_intent_payment_canceled = 'payment_intent.canceled' stripe_event_charge_refunded = 'charge.refunded' stripe_intent_requires_payment = 'requires_payment_method' stripe_intent_requires_confirmation = 'requires_confirmaion' stripe_intent_succeeded = 'succeeded' stripe_intent_processing = 'processing' stripe_intent_canceled = 'canceled' stripe_intent_requires_action = 'requires_action' stripe_intent_requires_capture = 'requires_capture' socket_initiate_payment_success = 'Event.SOCKET_INITIATE_PAYMENT.SUCCESS' socket_initiate_payment_failure = 'Event.SOCKET_INITIATE_PAYMENT.FAILURE' socket_payment_success = 'Event.SOCKET_PAYMENT.SUCCESS' socket_payment_failure = 'Event.SOCKET_PAYMENT.FAILURE' socket_registration_success = 'Event.SOCKET_REGISTRATION.SUCCESS' socket_registration_failure = 'Event.SOCKET_REGISTRATION.FAILURE' socket_unregistration_success = 'Event.SOCKET_UNREGISTRATION.SUCCESS' socket_unregistration_failure = 'Event.SOCKET_UNREGISTRATION.FAILURE' days_between_notify = 1 registration_close_time = 2 unregistration_close_time = 2
class FilteredElementIdIterator(object,IEnumerator[ElementId],IDisposable,IEnumerator): """ An iterator to a set of element ids filtered by the settings of a FilteredElementCollector. """ def Dispose(self): """ Dispose(self: FilteredElementIdIterator) """ pass def GetCurrent(self): """ GetCurrent(self: FilteredElementIdIterator) -> ElementId The current element id found by the iterator. Returns: The element id. """ pass def IsDone(self): """ IsDone(self: FilteredElementIdIterator) -> bool Identifies if the iteration has completed. Returns: True if the iteration has no more matching elements. False if there are more element ids to be iterated. """ pass def MoveNext(self): """ MoveNext(self: FilteredElementIdIterator) -> bool Increments the iterator to the next element id passing the filter. Returns: True if there is another available element id passing the filter in this iterator. False if the iterator has completed all available element ids. """ pass def next(self,*args): """ next(self: object) -> object """ pass def ReleaseUnmanagedResources(self,*args): """ ReleaseUnmanagedResources(self: FilteredElementIdIterator,disposing: bool) """ pass def Reset(self): """ Reset(self: FilteredElementIdIterator) Resets the iterator to the beginning. """ pass def __contains__(self,*args): """ __contains__[ElementId](enumerator: IEnumerator[ElementId],value: ElementId) -> bool """ pass def __enter__(self,*args): """ __enter__(self: IDisposable) -> object """ pass def __exit__(self,*args): """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """ pass def __init__(self,*args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def __iter__(self,*args): """ __iter__(self: IEnumerator) -> object """ pass def __repr__(self,*args): """ __repr__(self: object) -> str """ pass Current=property(lambda self: object(),lambda self,v: None,lambda self: None) """Gets the item at the current position of the iterator. Get: Current(self: FilteredElementIdIterator) -> ElementId """ IsValidObject=property(lambda self: object(),lambda self,v: None,lambda self: None) """Specifies whether the .NET object represents a valid Revit entity. Get: IsValidObject(self: FilteredElementIdIterator) -> bool """
class Filteredelementiditerator(object, IEnumerator[ElementId], IDisposable, IEnumerator): """ An iterator to a set of element ids filtered by the settings of a FilteredElementCollector. """ def dispose(self): """ Dispose(self: FilteredElementIdIterator) """ pass def get_current(self): """ GetCurrent(self: FilteredElementIdIterator) -> ElementId The current element id found by the iterator. Returns: The element id. """ pass def is_done(self): """ IsDone(self: FilteredElementIdIterator) -> bool Identifies if the iteration has completed. Returns: True if the iteration has no more matching elements. False if there are more element ids to be iterated. """ pass def move_next(self): """ MoveNext(self: FilteredElementIdIterator) -> bool Increments the iterator to the next element id passing the filter. Returns: True if there is another available element id passing the filter in this iterator. False if the iterator has completed all available element ids. """ pass def next(self, *args): """ next(self: object) -> object """ pass def release_unmanaged_resources(self, *args): """ ReleaseUnmanagedResources(self: FilteredElementIdIterator,disposing: bool) """ pass def reset(self): """ Reset(self: FilteredElementIdIterator) Resets the iterator to the beginning. """ pass def __contains__(self, *args): """ __contains__[ElementId](enumerator: IEnumerator[ElementId],value: ElementId) -> bool """ pass def __enter__(self, *args): """ __enter__(self: IDisposable) -> object """ pass def __exit__(self, *args): """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """ pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def __iter__(self, *args): """ __iter__(self: IEnumerator) -> object """ pass def __repr__(self, *args): """ __repr__(self: object) -> str """ pass current = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Gets the item at the current position of the iterator.\n\n\n\nGet: Current(self: FilteredElementIdIterator) -> ElementId\n\n\n\n' is_valid_object = property(lambda self: object(), lambda self, v: None, lambda self: None) 'Specifies whether the .NET object represents a valid Revit entity.\n\n\n\nGet: IsValidObject(self: FilteredElementIdIterator) -> bool\n\n\n\n'
# -*- coding: utf-8 -*- """ Created on Thu Aug 6 10:26:35 2020 @author: ruy Automation of German Lloyd 2012 High Speed Craft strucutural rules calculation """
""" Created on Thu Aug 6 10:26:35 2020 @author: ruy Automation of German Lloyd 2012 High Speed Craft strucutural rules calculation """
n,m = input().split(' ') my_array = list(input().split(' ')) A = set(input().split(' ')) B = set(input().split(' ')) happiness = 0 for i in my_array: happiness += (i in A) - (i in B) print(happiness)
(n, m) = input().split(' ') my_array = list(input().split(' ')) a = set(input().split(' ')) b = set(input().split(' ')) happiness = 0 for i in my_array: happiness += (i in A) - (i in B) print(happiness)
buf = "" buf += "\xdb\xdd\xd9\x74\x24\xf4\x58\xbf\x63\x6e\x69\x90\x33" buf += "\xc9\xb1\x52\x83\xe8\xfc\x31\x78\x13\x03\x1b\x7d\x8b" buf += "\x65\x27\x69\xc9\x86\xd7\x6a\xae\x0f\x32\x5b\xee\x74" buf += "\x37\xcc\xde\xff\x15\xe1\x95\x52\x8d\x72\xdb\x7a\xa2" buf += "\x33\x56\x5d\x8d\xc4\xcb\x9d\x8c\x46\x16\xf2\x6e\x76" buf += "\xd9\x07\x6f\xbf\x04\xe5\x3d\x68\x42\x58\xd1\x1d\x1e" buf += "\x61\x5a\x6d\x8e\xe1\xbf\x26\xb1\xc0\x6e\x3c\xe8\xc2" buf += "\x91\x91\x80\x4a\x89\xf6\xad\x05\x22\xcc\x5a\x94\xe2" buf += "\x1c\xa2\x3b\xcb\x90\x51\x45\x0c\x16\x8a\x30\x64\x64" buf += "\x37\x43\xb3\x16\xe3\xc6\x27\xb0\x60\x70\x83\x40\xa4" buf += "\xe7\x40\x4e\x01\x63\x0e\x53\x94\xa0\x25\x6f\x1d\x47" buf += "\xe9\xf9\x65\x6c\x2d\xa1\x3e\x0d\x74\x0f\x90\x32\x66" buf += "\xf0\x4d\x97\xed\x1d\x99\xaa\xac\x49\x6e\x87\x4e\x8a" buf += "\xf8\x90\x3d\xb8\xa7\x0a\xa9\xf0\x20\x95\x2e\xf6\x1a" buf += "\x61\xa0\x09\xa5\x92\xe9\xcd\xf1\xc2\x81\xe4\x79\x89" buf += "\x51\x08\xac\x1e\x01\xa6\x1f\xdf\xf1\x06\xf0\xb7\x1b" buf += "\x89\x2f\xa7\x24\x43\x58\x42\xdf\x04\xa7\x3b\xde\xac" buf += "\x4f\x3e\xe0\x57\xa9\xb7\x06\x0d\xd9\x91\x91\xba\x40" buf += "\xb8\x69\x5a\x8c\x16\x14\x5c\x06\x95\xe9\x13\xef\xd0" buf += "\xf9\xc4\x1f\xaf\xa3\x43\x1f\x05\xcb\x08\xb2\xc2\x0b" buf += "\x46\xaf\x5c\x5c\x0f\x01\x95\x08\xbd\x38\x0f\x2e\x3c" buf += "\xdc\x68\xea\x9b\x1d\x76\xf3\x6e\x19\x5c\xe3\xb6\xa2" buf += "\xd8\x57\x67\xf5\xb6\x01\xc1\xaf\x78\xfb\x9b\x1c\xd3" buf += "\x6b\x5d\x6f\xe4\xed\x62\xba\x92\x11\xd2\x13\xe3\x2e" buf += "\xdb\xf3\xe3\x57\x01\x64\x0b\x82\x81\x84\xee\x06\xfc" buf += "\x2c\xb7\xc3\xbd\x30\x48\x3e\x81\x4c\xcb\xca\x7a\xab" buf += "\xd3\xbf\x7f\xf7\x53\x2c\xf2\x68\x36\x52\xa1\x89\x13"
buf = '' buf += 'ÛÝÙt$ôX¿cni\x903' buf += 'ɱR\x83èü1x\x13\x03\x1b}\x8b' buf += "e'iÉ\x86×j®\x0f2[ît" buf += '7ÌÞÿ\x15á\x95R\x8drÛz¢' buf += '3V]\x8dÄË\x9d\x8cF\x16ònv' buf += 'Ù\x07o¿\x04å=hBXÑ\x1d\x1e' buf += 'aZm\x8eá¿&±Àn<èÂ' buf += '\x91\x91\x80J\x89ö\xad\x05"ÌZ\x94â' buf += '\x1c¢;Ë\x90QE\x0c\x16\x8a0dd' buf += "7C³\x16ãÆ'°`p\x83@¤" buf += 'ç@N\x01c\x0eS\x94\xa0%o\x1dG' buf += 'éùel-¡>\rt\x0f\x902f' buf += 'ðM\x97í\x1d\x99ª¬In\x87N\x8a' buf += 'ø\x90=¸§\n©ð \x95.ö\x1a' buf += 'a\xa0\t¥\x92éÍñÂ\x81äy\x89' buf += 'Q\x08¬\x1e\x01¦\x1fßñ\x06ð·\x1b' buf += '\x89/§$CXBß\x04§;Þ¬' buf += 'O>àW©·\x06\rÙ\x91\x91º@' buf += '¸iZ\x8c\x16\x14\\\x06\x95é\x13ïÐ' buf += 'ùÄ\x1f¯£C\x1f\x05Ë\x08²Â\x0b' buf += 'F¯\\\\\x0f\x01\x95\x08½8\x0f.<' buf += 'Ühê\x9b\x1dvón\x19\\ã¶¢' buf += 'ØWgõ¶\x01Á¯xû\x9b\x1cÓ' buf += 'k]oäíbº\x92\x11Ò\x13ã.' buf += 'ÛóãW\x01d\x0b\x82\x81\x84î\x06ü' buf += ',·Ã½0H>\x81LËÊz«' buf += 'Ó¿\x7f÷S,òh6R¡\x89\x13'
print(" "*7 + "A") print(" "*6 + "B B") print(" "*5 + "C C") print(" "*4 + "D" + " "*5 + "D") print(" "*3 + "E" + " "*7 + "E") print(" "*4 + "D" + " "*5 + "D") print(" "*5 + "C C") print(" "*6 + "B B") print(" "*7 + "A")
print(' ' * 7 + 'A') print(' ' * 6 + 'B B') print(' ' * 5 + 'C C') print(' ' * 4 + 'D' + ' ' * 5 + 'D') print(' ' * 3 + 'E' + ' ' * 7 + 'E') print(' ' * 4 + 'D' + ' ' * 5 + 'D') print(' ' * 5 + 'C C') print(' ' * 6 + 'B B') print(' ' * 7 + 'A')
subscription_service = paymill_context.get_subscription_service() subscription_with_offer_and_different_values = subscription_service.create_with_offer_id( payment_id='pay_5e078197cde8a39e4908f8aa', offer_id='offer_b33253c73ae0dae84ff4', name='Example Subscription', period_of_validity='2 YEAR', start_at=1400575533 )
subscription_service = paymill_context.get_subscription_service() subscription_with_offer_and_different_values = subscription_service.create_with_offer_id(payment_id='pay_5e078197cde8a39e4908f8aa', offer_id='offer_b33253c73ae0dae84ff4', name='Example Subscription', period_of_validity='2 YEAR', start_at=1400575533)
class Monkey(object): '''Store data of placed monkey''' def __init__(self, position=None, name=None, mtype=None) -> None: ''' :arg position: position, list :arg name: name :arg mtype: type of monkey (get from action.action) ''' self.position = position self.upgrades = [0,0,0] self.name = name self.mtype = mtype def upgrade(self, path): ''' Increase the stored paths of a monkey when upgrading. :arg path: Path of upgrade taking place. <1, 2, 3> (1 being the top path) ''' if path == 1: self.upgrades[0] += 1 if self.upgrades[0] > 5 and (self.mtype != 'Dart Monkey' or self.mtype != 'Boomerang Monkey'): print('invalid upgrade (higher than 5)') if path == 2: self.upgrades[1] += 1 if self.upgrades[1] > 5 and (self.mtype != 'Dart Monkey' or self.mtype != 'Boomerang Monkey'): print('invalid upgrade (higher than 5)') if path == 3: self.upgrades[2] += 1 if self.upgrades[2] > 5 and (self.mtype != 'Dart Monkey' or self.mtype != 'Boomerang Monkey'): print('invalid upgrade (higher than 5)')
class Monkey(object): """Store data of placed monkey""" def __init__(self, position=None, name=None, mtype=None) -> None: """ :arg position: position, list :arg name: name :arg mtype: type of monkey (get from action.action) """ self.position = position self.upgrades = [0, 0, 0] self.name = name self.mtype = mtype def upgrade(self, path): """ Increase the stored paths of a monkey when upgrading. :arg path: Path of upgrade taking place. <1, 2, 3> (1 being the top path) """ if path == 1: self.upgrades[0] += 1 if self.upgrades[0] > 5 and (self.mtype != 'Dart Monkey' or self.mtype != 'Boomerang Monkey'): print('invalid upgrade (higher than 5)') if path == 2: self.upgrades[1] += 1 if self.upgrades[1] > 5 and (self.mtype != 'Dart Monkey' or self.mtype != 'Boomerang Monkey'): print('invalid upgrade (higher than 5)') if path == 3: self.upgrades[2] += 1 if self.upgrades[2] > 5 and (self.mtype != 'Dart Monkey' or self.mtype != 'Boomerang Monkey'): print('invalid upgrade (higher than 5)')
labelClassification = """ border-style: none; font-weight: bold; font-size: 40px; color: white; """ mainWindowFrame = """ border: 2px solid rgb(40, 40, 40); border-radius: 4px; background-color: rgb(70,70,73); background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(70,70,70), stop: 0.8 rgb(54,54,54)); """ labelComboBox = """ border-style: none; background-color: rgba(0, 0, 0, 0); font-weight: bold; font-size: 25px; color: rgb(200, 200, 200); """ comboBox = """ QComboBox{ border: 2px solid rgb(40, 40, 40); background: rgba(0, 0, 0, 0); font-weight: bold; font-size: 30px; color: grey; } QComboBox:hover{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(90,90,90), stop: 0.8 rgb(80,80,80)); color: rgb(200, 200, 200);; } """ frame = """ border-style: outset; border-width: 2px; border-color: rgb(30, 30, 30); border-radius: 4px; background-color: rgb(70,70,73); background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(40,40,40), stop: 0.8 rgb(43,43,43)); """ objectNameLabel = """ border-style: none; font-weight: bold; font-size:30px; color: rgb(200, 200, 200); background-color: rgba(0,0,0,0); """ objectNameLabel_highlighted = """ border-style: inset; border-width: 3px; font-weight: bold; font-size:30px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(100,100,100), stop: 0.8 rgb(110,110,110)); """ calibrateButton = """ QPushButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(80,80,80), stop: 0.8 rgb(70,70,70)); font-weight: bold; font-size:20px; color: rgb(200, 200, 200); border-style: outset; border-color: rgb(40, 40, 40); border-width: 2px; border-radius: 5px; } QPushButton:hover{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(90,90,90), stop: 0.8 rgb(80,80,80)); } """ calibrateButton_highlighted = """ QPushButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(110,110,110), stop: 0.8 rgb(100,100,100)); font-weight: bold; font-size:20px; color: rgb(200, 200, 200); border-style: outset; border-color: rgb(40, 40, 40); border-width: 2px; border-radius: 5px; } QPushButton:hover{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(130,130,130), stop: 0.8 rgb(120,120,120)); } """ calibrateButton_calibrated = """ QPushButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(40,80,40), stop: 0.8 rgb(35,70,35)); font-weight: bold; font-size:20px; color: rgb(200, 200, 200); border-style: outset; border-color: rgb(40, 40, 40); border-width: 2px; border-radius: 5px; } QPushButton:hover{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(45,90,45), stop: 0.8 rgb(40,80,40)); } """ calibrateButton_calibrated_highlighted = """ QPushButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(70,110,70), stop: 0.8 rgb(65,100,65)); font-weight: bold; font-size:20px; color: rgb(200, 200, 200); border-style: outset; border-color: rgb(40, 40, 40); border-width: 2px; border-radius: 5px; } QPushButton:hover{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(45,90,45), stop: 0.8 rgb(40,80,40)); } """ addObjectButton = """ QPushButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(80,80,80), stop: 0.8 rgb(70,70,70)); font-weight: bold; font-size:20px; color: rgb(200, 200, 200); border-style: outset; border-color: rgb(40, 40, 40); border-width: 2px; border-radius: 5px; } QPushButton:hover{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(90,90,90), stop: 0.8 rgb(80,80,80)); } """ labelMyObjects = """ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(100,100,100), stop: 0.8 rgb(90,90,90)); font-weight: bold; font-size:30px; color: rgb(230, 230, 230); border-style: solid; border-color: rgba(0, 0, 0, 0); border-width: 2px; border-radius: 0px; """ statusBar = """ border-style: none; font-weight: bold; font-size: 20px; color: rgb(250, 250, 250); min-height: 50; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(100,100,100), stop: 0.8 rgb(90,90,90)); """ statusBarError = """ border-style: none; font-weight: bold; font-size: 20px; color: rgb(40, 20, 20); min-height: 50; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(200,100,100), stop: 0.8 rgb(180,90,90)); """ toolbar = """ QToolBar{ border-style: none; font-weight: bold; font-size: 20px; color: rgb(40, 20, 20); min-height: 50; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(100,100,100), stop: 0.8 rgb(90,90,90)); } QToolButton:hover{ border-style: none; font-weight: bold; font-size: 20px; color: rgb(40, 20, 20); min-height: 50; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(130,130,130), stop: 0.8 rgb(120,120,120)); } """ menuBar = """ QMenuBar{ border-style: none; font-weight: bold; font-size: 20px; color: rgb(200, 200, 200); min-height: 50; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(80,80,80), stop: 0.8 rgb(70,70,70)); } QMenuBar:item:selected{ border-style: none; font-weight: bold; font-size: 20px; color: rgb(230, 230, 230); min-height: 50; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(110,110,110), stop: 0.8 rgb(100,100,100)); } """
label_classification = '\n border-style: none;\n font-weight: bold;\n font-size: 40px;\n color: white;\n' main_window_frame = '\n border: 2px solid rgb(40, 40, 40);\n border-radius: 4px;\n background-color: rgb(70,70,73);\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(70,70,70),\n stop: 0.8 rgb(54,54,54));\n ' label_combo_box = '\n border-style: none;\n background-color: rgba(0, 0, 0, 0);\n font-weight: bold;\n font-size: 25px;\n color: rgb(200, 200, 200);\n' combo_box = '\n QComboBox{\n border: 2px solid rgb(40, 40, 40);\n background: rgba(0, 0, 0, 0);\n font-weight: bold;\n font-size: 30px;\n color: grey;\n }\n\n QComboBox:hover{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(90,90,90),\n stop: 0.8 rgb(80,80,80));\n color: rgb(200, 200, 200);;\n }\n' frame = '\n border-style: outset;\n border-width: 2px;\n border-color: rgb(30, 30, 30);\n border-radius: 4px;\n background-color: rgb(70,70,73);\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(40,40,40),\n stop: 0.8 rgb(43,43,43));\n' object_name_label = '\n border-style: none;\n font-weight: bold;\n font-size:30px;\n color: rgb(200, 200, 200);\n background-color: rgba(0,0,0,0);\n' object_name_label_highlighted = '\n border-style: inset;\n border-width: 3px;\n font-weight: bold;\n font-size:30px;\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(100,100,100),\n stop: 0.8 rgb(110,110,110));\n' calibrate_button = '\n QPushButton{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(80,80,80),\n stop: 0.8 rgb(70,70,70));\n font-weight: bold;\n font-size:20px;\n color: rgb(200, 200, 200);\n border-style: outset;\n border-color: rgb(40, 40, 40);\n border-width: 2px;\n border-radius: 5px;\n }\n\n QPushButton:hover{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(90,90,90),\n stop: 0.8 rgb(80,80,80));\n }\n ' calibrate_button_highlighted = '\n QPushButton{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(110,110,110),\n stop: 0.8 rgb(100,100,100));\n font-weight: bold;\n font-size:20px;\n color: rgb(200, 200, 200);\n border-style: outset;\n border-color: rgb(40, 40, 40);\n border-width: 2px;\n border-radius: 5px;\n }\n\n QPushButton:hover{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(130,130,130),\n stop: 0.8 rgb(120,120,120));\n }\n ' calibrate_button_calibrated = '\n QPushButton{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(40,80,40),\n stop: 0.8 rgb(35,70,35));\n font-weight: bold;\n font-size:20px;\n color: rgb(200, 200, 200);\n border-style: outset;\n border-color: rgb(40, 40, 40);\n border-width: 2px;\n border-radius: 5px;\n }\n\n QPushButton:hover{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(45,90,45),\n stop: 0.8 rgb(40,80,40));\n }\n ' calibrate_button_calibrated_highlighted = '\n QPushButton{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(70,110,70),\n stop: 0.8 rgb(65,100,65));\n font-weight: bold;\n font-size:20px;\n color: rgb(200, 200, 200);\n border-style: outset;\n border-color: rgb(40, 40, 40);\n border-width: 2px;\n border-radius: 5px;\n }\n\n QPushButton:hover{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(45,90,45),\n stop: 0.8 rgb(40,80,40));\n }\n ' add_object_button = '\n QPushButton{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(80,80,80),\n stop: 0.8 rgb(70,70,70));\n font-weight: bold;\n font-size:20px;\n color: rgb(200, 200, 200);\n border-style: outset;\n border-color: rgb(40, 40, 40);\n border-width: 2px;\n border-radius: 5px;\n }\n\n QPushButton:hover{\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(90,90,90),\n stop: 0.8 rgb(80,80,80));\n }\n ' label_my_objects = '\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(100,100,100),\n stop: 0.8 rgb(90,90,90));\n font-weight: bold;\n font-size:30px;\n color: rgb(230, 230, 230);\n border-style: solid;\n border-color: rgba(0, 0, 0, 0);\n border-width: 2px;\n border-radius: 0px;\n ' status_bar = '\n border-style: none;\n font-weight: bold;\n font-size: 20px;\n color: rgb(250, 250, 250);\n min-height: 50;\n\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(100,100,100),\n stop: 0.8 rgb(90,90,90));\n ' status_bar_error = '\n border-style: none;\n font-weight: bold;\n font-size: 20px;\n color: rgb(40, 20, 20);\n min-height: 50;\n\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(200,100,100),\n stop: 0.8 rgb(180,90,90));\n ' toolbar = '\n QToolBar{\n border-style: none;\n font-weight: bold;\n font-size: 20px;\n color: rgb(40, 20, 20);\n min-height: 50;\n\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(100,100,100),\n stop: 0.8 rgb(90,90,90));\n }\n\n QToolButton:hover{\n border-style: none;\n font-weight: bold;\n font-size: 20px;\n color: rgb(40, 20, 20);\n min-height: 50;\n\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(130,130,130),\n stop: 0.8 rgb(120,120,120));\n }\n ' menu_bar = '\n QMenuBar{\n border-style: none;\n font-weight: bold;\n font-size: 20px;\n color: rgb(200, 200, 200);\n min-height: 50;\n\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(80,80,80),\n stop: 0.8 rgb(70,70,70));\n }\n\n QMenuBar:item:selected{\n border-style: none;\n font-weight: bold;\n font-size: 20px;\n color: rgb(230, 230, 230);\n min-height: 50;\n\n background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,\n stop: 0 rgb(110,110,110),\n stop: 0.8 rgb(100,100,100));\n }\n\n '
matched = [[0, 450], [1, 466], [2, 566], [3, 974], [4, 1000], [5, 1222], [6, 1298], [7, 1322], [8, 1340], [9, 1704], [10, 1752], [11, 2022], [12, 2114], [13, 2332], [14, 2360], [15, 2380], [16, 2388], [17, 2596], [18, 2662], [19, 2706], [20, 2842], [21, 2914], [22, 3132], [23, 3148], [24, 3158], [25, 3164], [26, 3244], [27, 3360], [28, 3386], [29, 3626], [30, 3726], [31, 3832], [32, 3912], [33, 3944], [34, 4063], [35, 4084], [36, 4146], [37, 4162], [38, 4240], [39, 4356], [40, 4398], [41, 4408], [42, 4470], [43, 4646], [44, 4692], [45, 4852], [46, 4930], [47, 5122], [48, 5126], [49, 5216], [50, 5222], [51, 5310], [52, 5400], [53, 5408], [54, 5422], [55, 5482], [56, 5490], [57, 5504], [58, 5546], [59, 5720], [60, 5744], [61, 5766], [62, 5800], [63, 5826], [64, 5950], [65, 5964], [66, 5970], [67, 5986], [68, 6010], [69, 6038], [70, 6124], [71, 6166], [72, 6167], [73, 6169], [74, 6215], [75, 6261], [76, 6275], [77, 6279], [78, 6283], [79, 6289], [80, 6293], [81, 6294], [82, 6295], [83, 6296], [84, 6304], [85, 6418], [86, 6419], [87, 6454], [88, 6458], [89, 6472], [90, 6484], [91, 6504], [92, 6506], [93, 6508], [94, 6540], [95, 6541], [96, 6561], [97, 6615], [98, 6662], [99, 6663], [100, 6676], [101, 6750], [102, 6756], [103, 6758], [104, 6772], [105, 6784], [106, 6785], [107, 6789], [108, 6887], [109, 6906], [110, 6907], [111, 6921], [112, 6947], [113, 6957], [114, 6995], [115, 6997], [116, 6999], [117, 7001], [118, 7027], [119, 7028], [120, 7036], [121, 7056], [122, 7102], [123, 7118], [124, 7147], [125, 7148], [126, 7165], [127, 7229], [128, 7233], [129, 7237], [130, 7239], [131, 7243], [132, 7267], [133, 7268], [134, 7272], [135, 7358], [136, 7360], [137, 7387], [138, 7388], [139, 7401], [140, 7427], [141, 7451], [142, 7469], [143, 7475], [144, 7477], [145, 7479], [146, 7481], [147, 7501], [148, 7505], [149, 7507], [150, 7508], [151, 7512], [152, 7516], [153, 7598], [154, 7600], [155, 7627], [156, 7628], [157, 7639], [158, 7655], [159, 7665], [160, 7683], [161, 7701], [162, 7707], [163, 7711], [164, 7717], [165, 7719], [166, 7721], [167, 7725], [168, 7731], [169, 7747], [170, 7748], [171, 7867], [172, 7868], [173, 7883], [174, 7933], [175, 7947], [176, 7949], [177, 7951], [178, 7953], [179, 7955], [180, 7957], [181, 7961], [182, 7975], [183, 7987], [184, 7988], [185, 7992], [186, 7994], [187, 8107], [188, 8108], [189, 8153], [190, 8163], [191, 8181], [192, 8187], [193, 8189], [194, 8191], [195, 8193], [196, 8195], [197, 8221], [198, 8227], [199, 8228], [200, 8236], [201, 8239], [202, 8347], [203, 8348], [204, 8363], [205, 8375], [206, 8385], [207, 8397], [208, 8409], [209, 8427], [210, 8429], [211, 8431], [212, 8433], [213, 8435], [214, 8441], [215, 8457], [216, 8467], [217, 8468], [218, 8472], [219, 8587], [220, 8588], [221, 8649], [222, 8661], [223, 8667], [224, 8669], [225, 8671], [226, 8673], [227, 8677], [228, 8679], [229, 8681], [230, 8685], [231, 8705], [232, 8707], [233, 8708], [234, 8716], [235, 8798], [236, 8800], [237, 8827], [238, 8828], [239, 8841], [240, 8843], [241, 8875], [242, 8891], [243, 8907], [244, 8915], [245, 8917], [246, 8919], [247, 8921], [248, 8931], [249, 8934], [250, 8947], [251, 8948], [252, 8954], [253, 8956], [254, 8984], [255, 9038], [256, 9040], [257, 9067], [258, 9068], [259, 9157], [260, 9159], [261, 9161], [262, 9187], [263, 9188], [264, 9192], [265, 9206], [266, 9278], [267, 9286], [268, 9299], [269, 9307], [270, 9308], [271, 9321], [272, 9349], [273, 9383], [274, 9397], [275, 9399], [276, 9427], [277, 9428], [278, 9436], [279, 9522], [280, 9547], [281, 9548], [282, 9561], [283, 9567], [284, 9583], [285, 9587], [286, 9601], [287, 9633], [288, 9635], [289, 9637], [290, 9655], [291, 9665], [292, 9667], [293, 9668], [294, 9670], [295, 9787], [296, 9788], [297, 9876], [298, 9882], [299, 9884], [300, 9908], [301, 9909], [302, 9919], [303, 10030], [304, 10031], [305, 10065], [306, 10087], [307, 10105], [308, 10135], [309, 10153], [310, 10154], [311, 10155], [312, 10175], [313, 10239], [314, 10277], [315, 10278], [316, 10280], [317, 10304], [318, 10330], [319, 10342], [320, 10350], [321, 10392], [322, 10396], [323, 10400], [324, 10404], [325, 10405], [326, 10407], [327, 10533], [328, 10613], [329, 10623], [330, 10651], [331, 10671], [332, 10709], [333, 10807], [334, 10849], [335, 10855], [336, 10885], [337, 10891], [338, 10893], [339, 10955], [340, 11047], [341, 11073], [342, 11143], [343, 11149], [344, 11159], [345, 11321], [346, 11337], [347, 11353], [348, 11379], [349, 11395], [350, 11425], [351, 11431], [352, 11625], [353, 11823], [354, 11885], [355, 11923], [356, 11933], [357, 12109], [358, 12125], [359, 12133], [360, 12329], [361, 12345], [362, 12357], [363, 12373], [364, 12385], [365, 12397], [366, 12401], [367, 12409], [368, 12441], [369, 12639], [370, 12821], [371, 13125], [372, 13181], [373, 13195], [374, 13211], [375, 13297], [376, 13351], [377, 13403], [378, 13689], [379, 13713], [380, 13853], [381, 13931], [382, 14117], [383, 14163], [384, 14181], [385, 14217], [386, 14227], [387, 14306], [388, 14339], [389, 14381], [390, 14455], [391, 14881], [392, 15127], [393, 15167], [394, 15405], [395, 15909], [396, 16133], [397, 16203], [398, 16237], [399, 16238], [400, 16239], [401, 16240], [402, 16241], [403, 16242], [404, 16243], [405, 16244], [406, 16245], [407, 16246], [408, 16247], [409, 16248], [410, 16249], [411, 16250], [412, 16251], [413, 16252], [414, 16266], [415, 16267], [416, 16268], [417, 16269], [418, 16270], [419, 16271], [420, 16272], [421, 16273], [422, 16274], [423, 16275], [424, 16276], [425, 16277], [426, 16301], [427, 16302], [428, 16303], [429, 16304], [430, 16305], [431, 16306], [432, 16307], [433, 16308], [434, 16340], [435, 16341], [436, 16342], [437, 16343], [438, 16344], [439, 16364], [440, 16383], [441, 16425], [442, 16459], [443, 16468], [444, 16482], [445, 16512], [446, 16556], [447, 16557], [448, 16558], [449, 16559], [450, 16605], [451, 16654], [452, 16704], [453, 16705], [454, 16706], [455, 16710], [456, 16740], [457, 16757], [458, 16811], [459, 16861], [460, 16866], [461, 16922], [462, 16979], [463, 17037], [464, 17096], [465, 17156], [466, 17217], [467, 17279], [468, 17299], [469, 17311], [470, 17342], [471, 17343], [472, 17344], [473, 17408], [474, 17460], [475, 17475], [476, 17541], [477, 17543], [478, 17557], [479, 17612], [480, 17682], [481, 17688], [482, 17753], [483, 17825], [484, 17841], [485, 17898], [486, 17928], [487, 17972], [488, 17976], [489, 18047], [490, 18123], [491, 18185], [492, 18200], [493, 18278], [494, 18286], [495, 18357], [496, 18437], [497, 18467], [498, 18518], [499, 18562], [500, 18600], [501, 18606], [502, 18612], [503, 18620], [504, 18626], [505, 18632], [506, 18638], [507, 18683], [508, 18767], [509, 18787], [510, 18789], [511, 18793], [512, 18799], [513, 18803], [514, 18852], [515, 18938], [516, 18956], [517, 18958], [518, 18962], [519, 18966], [520, 18980], [521, 19025], [522, 19109], [523, 19113], [524, 19127], [525, 19131], [526, 19147], [527, 19153], [528, 19157], [529, 19163], [530, 19202], [531, 19292], [532, 19308], [533, 19312], [534, 19330], [535, 19383], [536, 19475], [537, 19483], [538, 19491], [539, 19501], [540, 19503], [541, 19505], [542, 19509], [543, 19519], [544, 19523], [545, 19568], [546, 19569], [547, 19570], [548, 19664], [549, 19665], [550, 19666], [551, 19690], [552, 19694], [553, 19696], [554, 19700], [555, 19706], [556, 19716], [557, 19720], [558, 19763], [559, 19764], [560, 19765], [561, 19865], [562, 19866], [563, 19867], [564, 19868], [565, 19869], [566, 19891], [567, 19895], [568, 19901], [569, 19903], [570, 19907], [571, 19909], [572, 19913], [573, 19919], [574, 19929], [575, 19972], [576, 19973], [577, 19974], [578, 20022], [579, 20082], [580, 20083], [581, 20084], [582, 20098], [583, 20122], [584, 20124], [585, 20126], [586, 20128], [587, 20132], [588, 20142], [589, 20195], [590, 20196], [591, 20197], [592, 20245], [593, 20253], [594, 20311], [595, 20353], [596, 20355], [597, 20361], [598, 20363], [599, 20365], [600, 20367], [601, 20371], [602, 20381], [603, 20389], [604, 20428], [605, 20429], [606, 20430], [607, 20548], [608, 20549], [609, 20550], [610, 20560], [611, 20580], [612, 20582], [613, 20590], [614, 20594], [615, 20598], [616, 20600], [617, 20604], [618, 20606], [619, 20608], [620, 20610], [621, 20612], [622, 20671], [623, 20795], [624, 20796], [625, 20797], [626, 20849], [627, 20855], [628, 20859], [629, 20861], [630, 20863], [631, 20865], [632, 20922], [633, 20923], [634, 21101], [635, 21105], [636, 21117], [637, 21119], [638, 21121], [639, 21125], [640, 21137], [641, 21223], [642, 21315], [643, 21369], [644, 21371], [645, 21375], [646, 21381], [647, 21389], [648, 21499], [649, 21593], [650, 21609], [651, 21613], [652, 21633], [653, 21635], [654, 21657], [655, 21881], [656, 21889], [657, 22077], [658, 22087], [659, 22117], [660, 22137], [661, 22153], [662, 22285], [663, 22403], [664, 22795], [665, 22893], [666, 22905], [667, 22964], [668, 23145], [669, 23187], [670, 23387], [671, 23885], [672, 23941], [673, 24299], [674, 24334], [675, 24379], [676, 24541], [677, 24577], [678, 24845], [679, 24855], [680, 24907], [681, 25073], [682, 25355], [683, 25659], [684, 26109], [685, 26141], [686, 26191], [687, 26405], [688, 26653], [689, 26671], [690, 26885], [691, 26907], [692, 27423], [693, 27927], [694, 27943], [695, 27957], [696, 28171], [697, 28441], [698, 28515], [699, 28709], [700, 28745], [701, 29199], [702, 29241], [703, 29606], [704, 29745], [705, 29799], [706, 29809], [707, 30138], [708, 30221], [709, 30285], [710, 30829], [711, 30869], [712, 31147], [713, 31169], [714, 31411], [715, 31618], [716, 31699], [717, 32061], [718, 32175], [719, 32347], [720, 32455], [721, 32461], [722, 32467], [723, 32669], [724, 32699], [725, 32709], [726, 32715], [727, 32729], [728, 32969], [729, 32977], [730, 32983], [731, 33117], [732, 33177], [733, 33215], [734, 33237], [735, 33239], [736, 33243], [737, 33253], [738, 33349], [739, 33455], [740, 33491], [741, 33503], [742, 33507], [743, 33515], [744, 33559], [745, 33564], [746, 33565], [747, 33577], [748, 33629], [749, 33663], [750, 33693], [751, 33694], [752, 33695], [753, 33721], [754, 33739], [755, 33751], [756, 33755], [757, 33757], [758, 33759], [759, 33761], [760, 33765], [761, 33820], [762, 33944], [763, 33945], [764, 33946], [765, 33990], [766, 33994], [767, 33996], [768, 33998], [769, 34002], [770, 34004], [771, 34006], [772, 34008], [773, 34067], [774, 34068], [775, 34069], [776, 34187], [777, 34213], [778, 34221], [779, 34231], [780, 34233], [781, 34237], [782, 34239], [783, 34241], [784, 34243], [785, 34247], [786, 34304], [787, 34305], [788, 34306], [789, 34420], [790, 34421], [791, 34422], [792, 34456], [793, 34460], [794, 34466], [795, 34468], [796, 34470], [797, 34474], [798, 34482], [799, 34488], [800, 34533], [801, 34534], [802, 34535], [803, 34573], [804, 34583], [805, 34643], [806, 34644], [807, 34645], [808, 34646], [809, 34647], [810, 34669], [811, 34671], [812, 34675], [813, 34679], [814, 34681], [815, 34683], [816, 34685], [817, 34687], [818, 34691], [819, 34699], [820, 34703], [821, 34750], [822, 34751], [823, 34752], [824, 34852], [825, 34853], [826, 34854], [827, 34874], [828, 34882], [829, 34884], [830, 34888], [831, 34894], [832, 34908], [833, 34910], [834, 34951], [835, 34952], [836, 34953], [837, 35047], [838, 35055], [839, 35067], [840, 35071], [841, 35073], [842, 35075], [843, 35077], [844, 35091], [845, 35135], [846, 35140], [847, 35210], [848, 35232], [849, 35248], [850, 35252], [851, 35256], [852, 35266], [853, 35270], [854, 35323], [855, 35413], [856, 35427], [857, 35431], [858, 35453], [859, 35455], [860, 35457], [861, 35502], [862, 35590], [863, 35608], [864, 35612], [865, 35616], [866, 35622], [867, 35632], [868, 35677], [869, 35763], [870, 35767], [871, 35775], [872, 35781], [873, 35785], [874, 35789], [875, 35797], [876, 35801], [877, 35848], [878, 35932], [879, 35950], [880, 35954], [881, 35962], [882, 35964], [883, 35970], [884, 36015], [885, 36097], [886, 36127], [887, 36143], [888, 36163], [889, 36178], [890, 36258], [891, 36316], [892, 36337], [893, 36413], [894, 36415], [895, 36421], [896, 36492], [897, 36528], [898, 36568], [899, 36578], [900, 36643], [901, 36717], [902, 36733], [903, 36790], [904, 36862], [905, 36886], [906, 36916], [907, 36933], [908, 37003], [909, 37015], [910, 37072], [911, 37140], [912, 37207], [913, 37208], [914, 37209], [915, 37273], [916, 37336], [917, 37398], [918, 37459], [919, 37519], [920, 37561], [921, 37578], [922, 37636], [923, 37693], [924, 37749], [925, 37759], [926, 37799], [927, 37804], [928, 37858], [929, 37859], [930, 37860], [931, 37911], [932, 37961], [933, 38010], [934, 38011], [935, 38012], [936, 38056], [937, 38058], [938, 38084], [939, 38103], [940, 38119], [941, 38147], [942, 38190], [943, 38232], [944, 38233], [945, 38234], [946, 38273], [947, 38274], [948, 38275], [949, 38276], [950, 38277], [951, 38309], [952, 38310], [953, 38311], [954, 38312], [955, 38313], [956, 38314], [957, 38315], [958, 38339], [959, 38340], [960, 38341], [961, 38342], [962, 38343], [963, 38344], [964, 38358], [965, 38359], [966, 38360], [967, 38361], [968, 38362], [969, 38363], [970, 38364], [971, 38365], [972, 38366], [973, 38367], [974, 38368], [975, 38369], [976, 38370], [977, 38371], [978, 38372], [979, 38373], [980, 38374], [981, 38375], [982, 38376], [983, 38377], [984, 38378], [985, 38427], [986, 38431], [987, 38472], [988, 38475], [989, 38522], [990, 38534], [991, 38568], [992, 38613], [993, 38657], [994, 38688], [995, 38701], [996, 38745], [997, 38788], [998, 38790], [999, 38830], [1000, 38871], [1001, 38878], [1002, 38912], [1003, 38953], [1004, 38993], [1005, 39032], [1006, 39069], [1007, 39070], [1008, 39108], [1009, 39146], [1010, 39168], [1011, 39183], [1012, 39186], [1013, 39220], [1014, 39257], [1015, 39267], [1016, 39291], [1017, 39293], [1018, 39328], [1019, 39333], [1020, 39363], [1021, 39398], [1022, 39430], [1023, 39432], [1024, 39466], [1025, 39500], [1026, 39533], [1027, 39536], [1028, 39544], [1029, 39554], [1030, 39566], [1031, 39599], [1032, 39631], [1033, 39663], [1034, 39693], [1035, 39695], [1036, 39726], [1037, 39747], [1038, 39757], [1039, 39788], [1040, 39790], [1041, 39818], [1042, 39848], [1043, 39854], [1044, 39870], [1045, 39876], [1046, 39878], [1047, 39907], [1048, 39910], [1049, 39920], [1050, 39936], [1051, 39965], [1052, 39971], [1053, 39985], [1054, 39993], [1055, 40021], [1056, 40023], [1057, 40033], [1058, 40037], [1059, 40049], [1060, 40074], [1061, 40077], [1062, 40105], [1063, 40125], [1064, 40132], [1065, 40135], [1066, 40137], [1067, 40159], [1068, 40174], [1069, 40177], [1070, 40183], [1071, 40186], [1072, 40189], [1073, 40193], [1074, 40198], [1075, 40213], [1076, 40240], [1077, 40267], [1078, 40283], [1079, 40285], [1080, 40294], [1081, 40296], [1082, 40320], [1083, 40343], [1084, 40346], [1085, 40348], [1086, 40372], [1087, 40379], [1088, 40387], [1089, 40398], [1090, 40424], [1091, 40441], [1092, 40450], [1093, 40452], [1094, 40458], [1095, 40476], [1096, 40502], [1097, 40506], [1098, 40528], [1099, 40553], [1100, 40554], [1101, 40556], [1102, 40580], [1103, 40595], [1104, 40606], [1105, 40610], [1106, 40614], [1107, 40632], [1108, 40658], [1109, 40660], [1110, 40684], [1111, 40699], [1112, 40707], [1113, 40710], [1114, 40736], [1115, 40748], [1116, 40754], [1117, 40763], [1118, 40766], [1119, 40768], [1120, 40790], [1121, 40810], [1122, 40817], [1123, 40828], [1124, 40844], [1125, 40862], [1126, 40871], [1127, 40872], [1128, 40886], [1129, 40898], [1130, 40925], [1131, 40927], [1132, 40931], [1133, 40953], [1134, 40977], [1135, 40981], [1136, 40983], [1137, 40993], [1138, 41001], [1139, 41009], [1140, 41037], [1141, 41065], [1142, 41094], [1143, 41095], [1144, 41099], [1145, 41123], [1146, 41152], [1147, 41166], [1148, 41182], [1149, 41212], [1150, 41214], [1151, 41234], [1152, 41240], [1153, 41242], [1154, 41273], [1155, 41280], [1156, 41304], [1157, 41335], [1158, 41367], [1159, 41384], [1160, 41399], [1161, 41403], [1162, 41431], [1163, 41464], [1164, 41493], [1165, 41497], [1166, 41530], [1167, 41534], [1168, 41538], [1169, 41564], [1170, 41583], [1171, 41598], [1172, 41632], [1173, 41667], [1174, 41700], [1175, 41702], [1176, 41737], [1177, 41773], [1178, 41810], [1179, 41817], [1180, 41821], [1181, 41847], [1182, 41884], [1183, 41922], [1184, 41949], [1185, 41960], [1186, 41962], [1187, 41998], [1188, 42034], [1189, 42037], [1190, 42077], [1191, 42118], [1192, 42133], [1193, 42159], [1194, 42200], [1195, 42242], [1196, 42282], [1197, 42285], [1198, 42329], [1199, 42362], [1200, 42373], [1201, 42379], [1202, 42417], [1203, 42462], [1204, 42508], [1205, 42555], [1206, 42567], [1207, 42603], [1208, 42670], [1209, 42760], [1210, 42836], [1211, 42868], [1212, 42879], [1213, 42976], [1214, 43084], [1215, 43191], [1216, 43253], [1217, 43297], [1218, 43334], [1219, 43402], [1220, 43506], [1221, 43607], [1222, 43610], [1223, 43714], [1224, 43767], [1225, 43817], [1226, 43919], [1227, 43938], [1228, 43980], [1229, 44020], [1230, 44056], [1231, 44108], [1232, 44120], [1233, 44219], [1234, 44311], [1235, 44317], [1236, 44414], [1237, 44442], [1238, 44494], [1239, 44510], [1240, 44555], [1241, 44563], [1242, 44575], [1243, 44605], [1244, 44699], [1245, 44712], [1246, 44792], [1247, 44878], [1248, 44884], [1249, 44975], [1250, 45033], [1251, 45065], [1252, 45136], [1253, 45154], [1254, 45179], [1255, 45242], [1256, 45291], [1257, 45305], [1258, 45329], [1259, 45409], [1260, 45415], [1261, 45468], [1262, 45500], [1263, 45584], [1264, 45625], [1265, 45660], [1266, 45667], [1267, 45683], [1268, 45689], [1269, 45749], [1270, 45822], [1271, 45830], [1272, 45840], [1273, 45876], [1274, 45910], [1275, 45969], [1276, 45979], [1277, 45989], [1278, 46015], [1279, 46067], [1280, 46144], [1281, 46220], [1282, 46227], [1283, 46285], [1284, 46295], [1285, 46313], [1286, 46369], [1287, 46438], [1288, 46442], [1289, 46514], [1290, 46561], [1291, 46573], [1292, 46585], [1293, 46617], [1294, 46647], [1295, 46655], [1296, 46658], [1297, 46722], [1298, 46724], [1299, 46742], [1300, 46746], [1301, 46762], [1302, 46792], [1303, 46843], [1304, 46853], [1305, 46859], [1306, 46871], [1307, 46901], [1308, 46925], [1309, 46990], [1310, 47000], [1311, 47004], [1312, 47048], [1313, 47055], [1314, 47118], [1315, 47120], [1316, 47128], [1317, 47132], [1318, 47144], [1319, 47168], [1320, 47185], [1321, 47246], [1322, 47250], [1323, 47256], [1324, 47260], [1325, 47266], [1326, 47272], [1327, 47286], [1328, 47315], [1329, 47378], [1330, 47380], [1331, 47384], [1332, 47392], [1333, 47394], [1334, 47412], [1335, 47422], [1336, 47434], [1337, 47445], [1338, 47510], [1339, 47515], [1340, 47518], [1341, 47520], [1342, 47526], [1343, 47562], [1344, 47575], [1345, 47578], [1346, 47634], [1347, 47640], [1348, 47646], [1349, 47650], [1350, 47652], [1351, 47654], [1352, 47662], [1353, 47676], [1354, 47705], [1355, 47708], [1356, 47760], [1357, 47770], [1358, 47778], [1359, 47780], [1360, 47786], [1361, 47802], [1362, 47808], [1363, 47816], [1364, 47835], [1365, 47836], [1366, 47840], [1367, 47888], [1368, 47897], [1369, 47900], [1370, 47912], [1371, 47914], [1372, 47922], [1373, 47965], [1374, 47968], [1375, 48028], [1376, 48030], [1377, 48035], [1378, 48038], [1379, 48040], [1380, 48046], [1381, 48078], [1382, 48095], [1383, 48098], [1384, 48152], [1385, 48160], [1386, 48166], [1387, 48168], [1388, 48170], [1389, 48172], [1390, 48174], [1391, 48186], [1392, 48194], [1393, 48202], [1394, 48225], [1395, 48279], [1396, 48290], [1397, 48294], [1398, 48298], [1399, 48306], [1400, 48312], [1401, 48326], [1402, 48354], [1403, 48355], [1404, 48420], [1405, 48434], [1406, 48468], [1407, 48485], [1408, 48546], [1409, 48548], [1410, 48550], [1411, 48554], [1412, 48556], [1413, 48558], [1414, 48560], [1415, 48562], [1416, 48572], [1417, 48590], [1418, 48604], [1419, 48615], [1420, 48616], [1421, 48680], [1422, 48694], [1423, 48698], [1424, 48716], [1425, 48724], [1426, 48745], [1427, 48753], [1428, 48810], [1429, 48822], [1430, 48828], [1431, 48870], [1432, 48872], [1433, 48875], [1434, 48940], [1435, 48950], [1436, 48962], [1437, 48976], [1438, 49006], [1439, 49061], [1440, 49068], [1441, 49073], [1442, 49123], [1443, 49139], [1444, 49141], [1445, 49146], [1446, 49210], [1447, 49256], [1448, 49270], [1449, 49280], [1450, 49347], [1451, 49351], [1452, 49373], [1453, 49383], [1454, 49393], [1455, 49423], [1456, 49430], [1457, 49486], [1458, 49496], [1459, 49498], [1460, 49570], [1461, 49621], [1462, 49639], [1463, 49641], [1464, 49645], [1465, 49721], [1466, 49780], [1467, 49798], [1468, 49814], [1469, 49820], [1470, 49876], [1471, 49949], [1472, 49955], [1473, 49983], [1474, 50019], [1475, 50035], [1476, 50044], [1477, 50116], [1478, 50158], [1479, 50172], [1480, 50192], [1481, 50198], [1482, 50245], [1483, 50249], [1484, 50281], [1485, 50347], [1486, 50365], [1487, 50450], [1488, 50530], [1489, 50536], [1490, 50547], [1491, 50623], [1492, 50647], [1493, 50655], [1494, 50707], [1495, 50711], [1496, 50800], [1497, 50868], [1498, 50874], [1499, 50890], [1500, 50939], [1501, 50953], [1502, 50981], [1503, 51073], [1504, 51132], [1505, 51166], [1506, 51246], [1507, 51256], [1508, 51260], [1509, 51275], [1510, 51286], [1511, 51294], [1512, 51355], [1513, 51451], [1514, 51548], [1515, 51602], [1516, 51646], [1517, 51715], [1518, 51745], [1519, 51845], [1520, 51946], [1521, 52026], [1522, 52032], [1523, 52040], [1524, 52048], [1525, 52077], [1526, 52151], [1527, 52255], [1528, 52314], [1529, 52356], [1530, 52359], [1531, 52463], [1532, 52480], [1533, 52530], [1534, 52568], [1535, 52630], [1536, 52674], [1537, 52781], [1538, 52788], [1539, 52889], [1540, 52918], [1541, 52997], [1542, 53035], [1543, 53105], [1544, 53214]] simple_tri = [[3, 691, 8], [688, 1, 2], [7, 691, 988], [692, 3, 1], [687, 2, 5], [687, 5, 1213], [1, 3, 6], [2, 1, 4], [1, 6, 4], [2, 4, 5], [691, 7, 14], [14, 10, 691], [3, 9, 6], [1213, 5, 20], [691, 10, 8], [4, 12, 5], [1007, 7, 988], [3, 8, 15], [10, 14, 18], [3, 15, 9], [4, 6, 11], [4, 11, 12], [15, 13, 9], [9, 13, 16], [9, 16, 6], [1007, 21, 7], [16, 17, 6], [6, 17, 11], [11, 17, 19], [11, 19, 12], [12, 31, 5], [1007, 1017, 21], [8, 10, 15], [5, 31, 20], [7, 21, 14], [13, 25, 16], [17, 16, 26], [17, 22, 19], [18, 27, 10], [15, 10, 23], [12, 19, 31], [27, 29, 10], [13, 15, 24], [13, 24, 25], [16, 25, 26], [21, 28, 14], [10, 29, 23], [18, 14, 30], [18, 30, 27], [17, 26, 22], [24, 35, 25], [19, 22, 32], [28, 30, 14], [23, 33, 15], [26, 34, 22], [22, 36, 32], [29, 38, 23], [15, 33, 24], [22, 34, 36], [30, 37, 27], [27, 37, 29], [23, 38, 33], [24, 33, 45], [19, 32, 31], [31, 1283, 20], [28, 1035, 44], [28, 44, 30], [25, 35, 26], [26, 35, 34], [31, 32, 39], [29, 37, 42], [44, 41, 30], [30, 41, 37], [24, 50, 35], [32, 36, 48], [32, 40, 39], [39, 1283, 31], [35, 46, 34], [34, 46, 43], [34, 43, 36], [32, 48, 40], [29, 42, 38], [45, 50, 24], [39, 59, 1283], [37, 41, 52], [42, 47, 38], [38, 47, 33], [35, 51, 46], [36, 43, 48], [1035, 1046, 44], [35, 50, 51], [40, 49, 53], [40, 53, 39], [39, 53, 54], [39, 54, 59], [44, 55, 41], [48, 49, 40], [42, 37, 52], [42, 52, 47], [43, 46, 58], [59, 54, 63], [41, 65, 52], [47, 66, 67], [51, 57, 46], [52, 66, 47], [47, 67, 33], [33, 67, 45], [45, 60, 50], [57, 69, 46], [43, 58, 62], [43, 62, 48], [48, 62, 49], [55, 65, 41], [50, 60, 68], [56, 57, 51], [58, 46, 77], [52, 64, 66], [50, 68, 51], [51, 68, 56], [56, 61, 57], [52, 65, 64], [45, 67, 60], [69, 77, 46], [58, 78, 62], [49, 74, 53], [53, 101, 54], [65, 55, 88], [68, 60, 91], [56, 71, 61], [61, 76, 57], [77, 78, 58], [49, 62, 80], [49, 80, 74], [53, 74, 85], [64, 89, 75], [64, 75, 66], [62, 79, 80], [53, 85, 101], [101, 63, 54], [64, 65, 89], [66, 90, 67], [68, 98, 56], [71, 93, 61], [61, 94, 76], [74, 72, 70], [70, 73, 74], [66, 75, 90], [60, 67, 91], [98, 71, 56], [61, 93, 94], [76, 104, 57], [57, 104, 69], [77, 69, 109], [62, 78, 79], [74, 80, 81], [74, 81, 72], [73, 82, 74], [74, 82, 83], [74, 84, 85], [74, 83, 84], [85, 121, 101], [55, 1061, 88], [93, 71, 92], [69, 104, 132], [80, 86, 81], [84, 87, 85], [65, 88, 89], [67, 90, 91], [69, 132, 109], [80, 95, 86], [87, 96, 85], [85, 96, 108], [71, 98, 123], [71, 128, 92], [94, 103, 76], [78, 77, 105], [79, 78, 148], [95, 80, 99], [96, 100, 108], [63, 101, 112], [63, 112, 97], [71, 123, 128], [92, 102, 93], [93, 102, 94], [94, 102, 115], [94, 115, 103], [76, 103, 104], [80, 106, 99], [100, 107, 108], [1061, 1071, 122], [1061, 122, 88], [88, 122, 89], [89, 122, 113], [89, 113, 75], [75, 114, 90], [90, 114, 91], [91, 142, 68], [103, 118, 104], [78, 105, 148], [80, 79, 149], [80, 149, 106], [106, 149, 110], [107, 111, 108], [112, 127, 97], [75, 113, 114], [91, 114, 142], [68, 142, 98], [115, 116, 103], [103, 116, 117], [103, 117, 118], [104, 118, 132], [79, 148, 149], [149, 119, 110], [111, 120, 108], [85, 108, 121], [1071, 159, 122], [113, 122, 141], [113, 141, 114], [114, 161, 142], [92, 128, 102], [102, 129, 115], [115, 130, 116], [116, 130, 124], [116, 124, 117], [77, 109, 105], [119, 149, 125], [120, 135, 108], [120, 126, 135], [108, 135, 121], [101, 121, 153], [101, 153, 112], [115, 129, 144], [115, 144, 130], [124, 130, 131], [124, 131, 117], [117, 131, 137], [117, 137, 118], [105, 183, 148], [149, 133, 125], [126, 134, 135], [153, 140, 112], [112, 140, 127], [122, 159, 141], [141, 161, 114], [142, 162, 98], [98, 162, 123], [123, 162, 143], [123, 143, 128], [128, 143, 102], [102, 164, 129], [130, 136, 131], [109, 183, 105], [109, 169, 183], [133, 149, 138], [134, 139, 135], [135, 152, 121], [143, 164, 102], [144, 145, 130], [130, 145, 136], [136, 146, 131], [136, 145, 146], [131, 146, 137], [137, 146, 147], [137, 147, 118], [118, 147, 132], [132, 147, 167], [132, 167, 168], [132, 168, 109], [109, 168, 169], [149, 150, 138], [139, 151, 135], [135, 151, 152], [121, 152, 153], [141, 160, 161], [162, 163, 143], [144, 165, 145], [145, 165, 154], [145, 154, 146], [146, 154, 166], [146, 155, 147], [146, 166, 155], [147, 155, 167], [150, 149, 156], [151, 157, 152], [153, 158, 140], [140, 174, 127], [141, 159, 160], [142, 161, 162], [143, 163, 164], [129, 165, 144], [154, 165, 166], [155, 166, 167], [149, 170, 156], [157, 171, 152], [152, 171, 186], [186, 187, 152], [152, 187, 153], [163, 176, 177], [163, 177, 164], [164, 177, 178], [164, 178, 179], [164, 179, 129], [129, 179, 165], [165, 179, 180], [165, 181, 166], [166, 181, 167], [167, 181, 182], [167, 182, 168], [148, 198, 149], [170, 149, 172], [171, 173, 186], [1100, 206, 159], [161, 160, 191], [161, 191, 175], [161, 175, 162], [162, 175, 176], [162, 176, 163], [165, 180, 181], [149, 184, 172], [173, 185, 186], [187, 201, 153], [153, 201, 158], [158, 202, 140], [140, 202, 205], [140, 205, 174], [159, 190, 160], [159, 206, 190], [160, 190, 191], [175, 191, 192], [175, 192, 176], [176, 192, 193], [176, 193, 194], [176, 194, 177], [177, 194, 178], [181, 197, 182], [168, 231, 169], [148, 183, 198], [198, 232, 149], [149, 232, 184], [184, 232, 188], [185, 189, 186], [178, 194, 195], [178, 195, 196], [178, 196, 179], [179, 196, 197], [179, 197, 180], [180, 197, 181], [183, 169, 250], [232, 199, 188], [189, 200, 186], [158, 201, 202], [206, 207, 190], [190, 208, 191], [193, 192, 210], [193, 210, 194], [194, 212, 195], [195, 212, 196], [197, 215, 182], [199, 232, 203], [200, 219, 186], [200, 204, 219], [186, 219, 187], [174, 205, 1366], [190, 207, 208], [191, 208, 209], [191, 209, 192], [192, 209, 210], [194, 210, 211], [194, 211, 212], [212, 213, 196], [196, 213, 197], [197, 213, 214], [197, 214, 215], [182, 215, 168], [168, 215, 231], [231, 249, 169], [183, 250, 216], [183, 216, 198], [232, 217, 203], [204, 218, 219], [187, 219, 201], [202, 240, 205], [205, 241, 1366], [210, 224, 211], [169, 249, 250], [217, 232, 220], [218, 221, 219], [201, 235, 202], [202, 235, 240], [207, 242, 208], [209, 208, 222], [209, 222, 223], [209, 223, 210], [210, 223, 224], [211, 224, 225], [211, 225, 212], [212, 225, 226], [212, 226, 213], [213, 226, 227], [213, 227, 214], [214, 228, 229], [214, 229, 215], [215, 229, 230], [232, 233, 220], [221, 234, 219], [219, 253, 201], [201, 253, 235], [240, 241, 205], [206, 284, 207], [208, 242, 222], [222, 243, 223], [223, 244, 224], [224, 244, 225], [214, 227, 245], [214, 245, 228], [228, 236, 229], [229, 237, 230], [215, 230, 231], [233, 232, 238], [234, 265, 219], [234, 239, 265], [207, 255, 242], [222, 242, 243], [228, 245, 246], [228, 246, 236], [236, 247, 229], [236, 246, 247], [229, 247, 237], [237, 248, 230], [237, 247, 248], [230, 248, 231], [232, 251, 238], [239, 252, 265], [219, 265, 253], [235, 253, 254], [226, 225, 288], [245, 227, 289], [246, 245, 260], [246, 260, 256], [246, 256, 247], [247, 256, 261], [247, 261, 257], [247, 257, 248], [248, 262, 231], [231, 262, 268], [249, 291, 250], [216, 269, 198], [251, 232, 258], [252, 259, 265], [235, 272, 240], [235, 254, 272], [240, 272, 241], [207, 285, 255], [207, 284, 285], [255, 273, 242], [242, 273, 287], [242, 287, 243], [223, 243, 274], [223, 274, 244], [225, 244, 288], [226, 288, 227], [245, 289, 260], [256, 260, 261], [257, 262, 248], [231, 268, 249], [249, 268, 291], [232, 263, 258], [232, 292, 263], [259, 264, 265], [265, 279, 253], [253, 279, 254], [241, 272, 266], [206, 1113, 284], [284, 306, 285], [227, 288, 289], [260, 267, 261], [261, 267, 276], [261, 276, 257], [257, 276, 262], [262, 280, 268], [250, 291, 216], [216, 291, 269], [198, 269, 323], [198, 323, 232], [263, 292, 270], [264, 271, 265], [254, 279, 272], [255, 285, 273], [274, 314, 244], [289, 275, 260], [260, 275, 267], [267, 275, 276], [232, 323, 292], [292, 277, 270], [271, 278, 265], [265, 278, 295], [265, 295, 279], [273, 307, 287], [275, 290, 276], [276, 280, 262], [280, 300, 268], [277, 292, 281], [278, 282, 295], [279, 283, 272], [272, 283, 266], [285, 286, 273], [273, 286, 307], [243, 308, 274], [244, 314, 288], [275, 289, 290], [276, 290, 280], [268, 309, 291], [292, 293, 281], [282, 294, 295], [295, 303, 279], [279, 303, 283], [286, 319, 307], [287, 307, 321], [287, 321, 243], [289, 298, 290], [290, 299, 280], [280, 299, 300], [291, 322, 269], [293, 292, 296], [294, 297, 332], [294, 332, 295], [266, 283, 1421], [284, 318, 306], [274, 308, 314], [289, 288, 298], [290, 298, 299], [292, 301, 296], [297, 302, 332], [283, 313, 1421], [285, 306, 286], [286, 306, 333], [307, 320, 321], [243, 321, 308], [288, 314, 337], [288, 337, 298], [268, 300, 309], [323, 324, 292], [301, 292, 304], [302, 305, 332], [283, 303, 313], [286, 333, 319], [308, 330, 314], [291, 309, 322], [292, 310, 304], [305, 312, 332], [295, 332, 303], [319, 336, 307], [319, 335, 336], [299, 298, 338], [300, 339, 309], [309, 345, 322], [269, 322, 323], [292, 324, 315], [292, 315, 310], [311, 316, 327], [311, 327, 317], [312, 317, 327], [312, 327, 332], [1421, 313, 342], [299, 339, 300], [315, 324, 325], [316, 326, 327], [307, 336, 320], [321, 329, 308], [308, 329, 330], [314, 330, 337], [299, 338, 339], [325, 324, 328], [326, 328, 341], [326, 341, 327], [303, 334, 313], [306, 318, 340], [306, 340, 333], [319, 333, 335], [320, 329, 321], [298, 337, 338], [322, 331, 323], [328, 324, 341], [332, 334, 303], [320, 336, 349], [320, 349, 329], [322, 345, 331], [327, 354, 332], [318, 347, 340], [340, 348, 333], [339, 345, 309], [331, 352, 323], [323, 341, 324], [327, 341, 354], [335, 353, 336], [329, 350, 330], [337, 330, 343], [337, 343, 338], [338, 344, 339], [331, 351, 352], [323, 352, 341], [313, 346, 342], [329, 349, 350], [343, 344, 338], [332, 346, 334], [334, 346, 313], [333, 348, 335], [335, 348, 353], [331, 345, 351], [330, 350, 343], [343, 356, 344], [339, 344, 345], [341, 352, 354], [354, 346, 332], [348, 340, 359], [353, 355, 336], [343, 350, 356], [345, 357, 351], [340, 347, 359], [344, 357, 345], [348, 359, 365], [349, 336, 368], [351, 354, 352], [346, 1460, 342], [348, 365, 360], [348, 360, 353], [336, 355, 368], [351, 357, 361], [1153, 364, 347], [344, 356, 357], [351, 361, 354], [346, 354, 362], [347, 364, 359], [360, 366, 353], [350, 349, 374], [356, 369, 357], [361, 362, 354], [346, 362, 1460], [358, 364, 1153], [353, 367, 355], [353, 366, 367], [355, 367, 368], [349, 368, 374], [350, 371, 356], [357, 369, 361], [1460, 362, 363], [364, 370, 359], [359, 370, 365], [356, 371, 369], [362, 372, 363], [367, 373, 368], [361, 377, 362], [358, 378, 364], [360, 376, 366], [365, 376, 360], [366, 376, 367], [350, 374, 371], [1477, 363, 384], [1477, 384, 1491], [358, 1175, 378], [371, 375, 369], [369, 375, 361], [363, 372, 384], [376, 379, 367], [375, 377, 361], [378, 385, 364], [364, 385, 382], [364, 382, 370], [365, 370, 382], [368, 380, 374], [374, 380, 371], [371, 381, 375], [367, 379, 373], [368, 373, 386], [380, 381, 371], [375, 381, 377], [377, 390, 362], [362, 390, 372], [382, 391, 365], [365, 391, 376], [368, 386, 380], [381, 383, 377], [378, 1175, 388], [378, 388, 385], [376, 391, 379], [379, 389, 373], [383, 390, 377], [380, 387, 381], [386, 387, 380], [373, 389, 386], [381, 392, 383], [390, 384, 372], [381, 387, 392], [379, 391, 389], [388, 397, 385], [387, 393, 392], [383, 395, 390], [391, 694, 389], [386, 389, 393], [386, 393, 387], [390, 395, 394], [390, 394, 384], [1491, 384, 1539], [385, 397, 382], [392, 395, 383], [382, 397, 391], [393, 396, 392], [392, 396, 395], [384, 394, 1539], [1197, 697, 388], [388, 697, 397], [389, 694, 393], [393, 693, 396], [391, 397, 694], [395, 398, 394], [396, 696, 395], [394, 398, 1539], [694, 693, 393], [395, 696, 398], [399, 414, 440], [399, 440, 400], [400, 440, 401], [401, 440, 402], [402, 440, 403], [403, 440, 404], [404, 440, 405], [405, 440, 406], [406, 440, 407], [407, 440, 408], [408, 440, 409], [409, 440, 443], [409, 443, 410], [410, 443, 411], [411, 443, 415], [412, 426, 445], [412, 445, 413], [413, 445, 414], [414, 445, 440], [415, 443, 416], [416, 443, 417], [417, 443, 418], [418, 443, 419], [419, 443, 420], [420, 443, 421], [421, 443, 427], [422, 434, 445], [422, 445, 423], [423, 445, 424], [424, 445, 425], [425, 445, 426], [427, 443, 428], [428, 443, 429], [429, 443, 435], [430, 439, 456], [430, 456, 431], [431, 456, 432], [432, 456, 433], [433, 456, 434], [434, 456, 445], [440, 445, 457], [435, 447, 436], [435, 443, 447], [437, 441, 456], [437, 456, 438], [438, 456, 439], [441, 442, 456], [442, 444, 456], [440, 457, 443], [444, 446, 456], [446, 450, 456], [448, 451, 456], [448, 456, 449], [449, 456, 450], [456, 469, 445], [445, 469, 457], [451, 452, 456], [443, 457, 447], [447, 457, 460], [452, 455, 456], [453, 458, 479], [453, 479, 454], [454, 479, 455], [455, 479, 456], [458, 459, 479], [459, 461, 479], [461, 462, 479], [457, 469, 470], [457, 475, 460], [460, 475, 477], [462, 463, 479], [463, 464, 479], [464, 465, 479], [460, 477, 1232], [465, 466, 479], [466, 467, 482], [466, 482, 479], [456, 479, 469], [457, 470, 475], [467, 468, 482], [468, 473, 482], [471, 474, 482], [471, 482, 472], [472, 482, 473], [474, 476, 482], [469, 487, 470], [475, 492, 477], [476, 478, 482], [479, 487, 469], [478, 480, 489], [478, 489, 482], [482, 489, 479], [479, 485, 487], [480, 481, 489], [481, 483, 489], [489, 485, 479], [477, 492, 1211], [483, 484, 489], [484, 486, 489], [487, 507, 470], [486, 488, 489], [488, 490, 489], [489, 504, 485], [485, 498, 487], [490, 491, 489], [489, 495, 504], [504, 498, 485], [470, 492, 475], [491, 493, 502], [491, 502, 489], [504, 495, 503], [493, 494, 502], [470, 507, 500], [494, 496, 502], [496, 497, 502], [489, 502, 495], [498, 507, 487], [470, 500, 604], [497, 499, 502], [502, 503, 495], [504, 505, 498], [498, 506, 507], [499, 501, 502], [503, 517, 504], [498, 505, 506], [507, 521, 500], [492, 523, 1211], [501, 508, 502], [503, 526, 517], [517, 510, 504], [504, 512, 505], [506, 505, 513], [506, 514, 507], [508, 509, 502], [502, 525, 503], [504, 510, 511], [504, 511, 512], [505, 512, 513], [506, 513, 514], [514, 521, 507], [509, 515, 538], [509, 538, 502], [503, 525, 526], [511, 510, 519], [521, 529, 500], [515, 516, 538], [517, 518, 510], [510, 518, 519], [511, 519, 512], [512, 519, 520], [512, 520, 513], [513, 527, 514], [529, 530, 500], [500, 530, 604], [516, 522, 538], [520, 527, 513], [514, 528, 521], [470, 604, 492], [522, 524, 538], [514, 527, 528], [521, 528, 529], [523, 1217, 1211], [524, 531, 538], [502, 538, 525], [525, 533, 526], [526, 533, 534], [526, 534, 517], [517, 534, 518], [519, 518, 542], [519, 542, 520], [520, 542, 543], [520, 543, 527], [529, 558, 530], [531, 532, 538], [525, 539, 533], [527, 543, 535], [527, 535, 528], [528, 535, 544], [528, 544, 545], [528, 545, 529], [532, 536, 538], [518, 540, 541], [518, 541, 542], [529, 545, 558], [536, 537, 538], [538, 539, 525], [533, 539, 552], [533, 552, 534], [518, 534, 540], [545, 544, 557], [537, 548, 612], [537, 612, 538], [534, 553, 540], [540, 554, 541], [542, 541, 555], [543, 573, 556], [543, 556, 535], [545, 575, 558], [546, 551, 612], [546, 612, 547], [547, 612, 548], [539, 568, 552], [534, 552, 553], [540, 553, 554], [542, 555, 543], [545, 557, 575], [530, 558, 604], [604, 523, 492], [549, 561, 583], [549, 583, 550], [550, 583, 551], [551, 583, 612], [538, 567, 539], [539, 567, 568], [552, 569, 553], [553, 569, 570], [553, 570, 554], [554, 571, 541], [541, 571, 555], [555, 572, 543], [543, 572, 573], [556, 574, 535], [535, 574, 544], [559, 566, 583], [559, 583, 560], [560, 583, 561], [552, 568, 584], [552, 584, 569], [570, 571, 554], [555, 571, 572], [544, 574, 557], [562, 578, 611], [562, 611, 563], [563, 611, 564], [564, 611, 565], [565, 611, 566], [566, 611, 583], [538, 612, 613], [538, 613, 567], [568, 567, 614], [568, 596, 584], [584, 585, 569], [569, 585, 570], [570, 585, 586], [570, 586, 571], [572, 588, 573], [573, 588, 579], [573, 594, 556], [556, 594, 574], [574, 589, 557], [557, 589, 603], [557, 603, 575], [558, 575, 604], [576, 582, 611], [576, 611, 577], [577, 611, 578], [568, 614, 596], [571, 586, 587], [587, 593, 571], [571, 593, 572], [572, 593, 588], [579, 594, 573], [574, 594, 602], [574, 602, 589], [604, 655, 523], [580, 592, 611], [580, 611, 581], [581, 611, 582], [614, 615, 596], [584, 597, 585], [585, 617, 586], [593, 599, 588], [588, 599, 600], [588, 600, 579], [579, 600, 601], [579, 601, 594], [594, 601, 622], [575, 641, 604], [590, 595, 611], [590, 611, 591], [591, 611, 592], [613, 614, 567], [584, 596, 597], [597, 617, 585], [586, 598, 587], [587, 598, 593], [593, 598, 599], [594, 622, 602], [603, 641, 575], [595, 607, 643], [595, 643, 611], [596, 616, 597], [598, 618, 599], [599, 620, 600], [600, 620, 601], [601, 621, 622], [602, 622, 632], [523, 658, 1217], [605, 610, 643], [605, 643, 606], [606, 643, 607], [596, 615, 616], [597, 616, 617], [586, 617, 598], [598, 617, 618], [618, 619, 599], [599, 619, 620], [601, 620, 621], [608, 623, 643], [608, 643, 609], [609, 643, 610], [611, 643, 650], [611, 650, 583], [614, 613, 642], [616, 627, 617], [617, 628, 618], [618, 628, 619], [619, 629, 620], [620, 629, 621], [621, 629, 630], [622, 621, 631], [622, 631, 632], [602, 632, 640], [602, 640, 589], [603, 589, 648], [603, 648, 641], [623, 626, 643], [614, 642, 635], [614, 635, 615], [616, 615, 627], [617, 627, 628], [619, 628, 629], [621, 630, 631], [589, 640, 648], [523, 655, 658], [624, 634, 643], [624, 643, 625], [625, 643, 626], [615, 636, 627], [627, 636, 628], [629, 628, 645], [629, 645, 637], [629, 637, 630], [630, 638, 631], [640, 647, 648], [604, 641, 655], [633, 987, 634], [634, 987, 643], [628, 636, 644], [630, 637, 638], [631, 638, 639], [631, 639, 632], [613, 612, 642], [628, 644, 645], [645, 646, 637], [638, 646, 639], [632, 639, 647], [632, 647, 640], [641, 648, 655], [642, 652, 635], [615, 635, 636], [636, 635, 644], [637, 646, 638], [987, 659, 643], [612, 583, 651], [612, 651, 642], [644, 635, 656], [644, 656, 649], [644, 649, 645], [646, 654, 639], [642, 651, 652], [645, 649, 653], [645, 653, 646], [646, 653, 654], [639, 654, 647], [647, 654, 648], [583, 660, 651], [652, 651, 635], [635, 651, 656], [649, 657, 653], [643, 659, 650], [583, 650, 660], [649, 656, 664], [649, 664, 657], [653, 657, 654], [654, 662, 648], [655, 668, 658], [651, 661, 656], [656, 661, 664], [654, 657, 662], [648, 663, 655], [651, 660, 661], [648, 662, 663], [659, 671, 650], [650, 671, 660], [657, 664, 665], [657, 665, 662], [662, 665, 663], [655, 663, 668], [660, 667, 661], [661, 667, 664], [659, 677, 671], [658, 672, 1219], [671, 669, 660], [660, 666, 667], [665, 670, 663], [660, 669, 666], [664, 667, 665], [663, 670, 676], [658, 668, 672], [666, 673, 667], [667, 673, 665], [663, 676, 668], [666, 669, 678], [666, 678, 673], [665, 673, 670], [673, 675, 670], [671, 674, 669], [669, 674, 678], [670, 680, 676], [672, 668, 681], [675, 680, 670], [681, 1209, 672], [678, 679, 673], [680, 684, 676], [671, 677, 674], [673, 679, 675], [668, 676, 681], [677, 682, 674], [678, 683, 679], [679, 686, 675], [675, 686, 680], [676, 684, 681], [678, 674, 683], [995, 988, 677], [682, 683, 674], [683, 686, 679], [677, 988, 682], [683, 689, 686], [684, 687, 681], [681, 1213, 1209], [682, 689, 683], [682, 685, 689], [680, 686, 688], [680, 688, 684], [684, 688, 690], [681, 687, 1213], [685, 692, 689], [682, 988, 685], [685, 988, 691], [684, 690, 687], [685, 691, 692], [689, 1, 686], [686, 1, 688], [691, 3, 692], [688, 2, 690], [690, 2, 687], [689, 692, 1], [396, 693, 695], [398, 699, 1539], [694, 397, 697], [396, 695, 696], [398, 696, 699], [697, 698, 694], [694, 698, 693], [693, 698, 695], [696, 701, 699], [697, 1197, 702], [698, 700, 695], [695, 703, 696], [697, 702, 698], [695, 705, 703], [703, 701, 696], [701, 706, 699], [1539, 699, 1533], [702, 700, 698], [700, 705, 695], [1197, 1200, 702], [700, 702, 704], [700, 704, 705], [706, 707, 699], [699, 707, 1533], [701, 710, 706], [1200, 709, 702], [703, 705, 708], [703, 708, 701], [702, 709, 704], [701, 708, 710], [1533, 707, 1541], [710, 711, 706], [705, 704, 715], [705, 714, 708], [708, 714, 717], [708, 717, 710], [709, 1207, 712], [709, 713, 704], [715, 714, 705], [706, 711, 716], [706, 716, 707], [704, 713, 715], [710, 717, 711], [716, 1541, 707], [709, 712, 713], [715, 718, 714], [712, 719, 713], [718, 722, 714], [717, 720, 711], [716, 1543, 1541], [713, 719, 715], [712, 1207, 719], [719, 718, 715], [714, 722, 717], [722, 723, 717], [717, 723, 720], [711, 720, 716], [1207, 724, 719], [718, 725, 721], [718, 721, 722], [719, 725, 718], [716, 745, 1543], [725, 726, 721], [721, 727, 722], [723, 728, 720], [720, 750, 716], [1207, 733, 724], [719, 754, 725], [721, 726, 727], [722, 731, 723], [723, 731, 728], [754, 734, 725], [727, 730, 722], [722, 730, 735], [728, 731, 732], [725, 734, 726], [726, 729, 727], [722, 735, 731], [720, 728, 738], [720, 738, 750], [716, 750, 745], [726, 734, 739], [731, 736, 737], [731, 737, 732], [728, 732, 743], [724, 733, 748], [724, 740, 719], [726, 739, 729], [729, 730, 727], [735, 736, 731], [732, 737, 742], [728, 743, 738], [724, 748, 740], [740, 754, 719], [730, 741, 735], [736, 749, 737], [743, 761, 738], [738, 744, 750], [739, 755, 729], [729, 755, 730], [742, 760, 732], [732, 760, 743], [733, 746, 747], [730, 755, 766], [730, 766, 741], [741, 756, 735], [735, 756, 736], [736, 756, 757], [736, 757, 749], [737, 749, 758], [737, 758, 759], [737, 759, 742], [738, 761, 744], [750, 846, 745], [747, 751, 733], [733, 751, 752], [733, 753, 748], [733, 752, 753], [741, 767, 756], [749, 757, 758], [742, 759, 760], [760, 786, 743], [743, 786, 761], [744, 800, 750], [745, 846, 1536], [753, 762, 748], [739, 734, 778], [767, 769, 756], [756, 770, 757], [756, 769, 770], [758, 757, 771], [759, 758, 772], [759, 773, 760], [759, 772, 773], [760, 773, 786], [744, 761, 799], [762, 763, 748], [748, 763, 764], [748, 764, 765], [766, 767, 741], [767, 768, 769], [757, 770, 771], [758, 771, 772], [750, 800, 834], [765, 774, 748], [748, 774, 775], [748, 775, 776], [739, 779, 755], [766, 780, 767], [766, 793, 780], [767, 780, 768], [768, 781, 769], [769, 781, 782], [769, 783, 770], [769, 782, 783], [771, 784, 772], [772, 784, 785], [761, 786, 799], [744, 799, 800], [776, 777, 748], [778, 839, 739], [739, 839, 779], [755, 793, 766], [768, 780, 781], [770, 783, 771], [771, 783, 784], [772, 785, 773], [777, 787, 748], [748, 787, 788], [748, 788, 789], [748, 789, 740], [734, 754, 778], [755, 779, 793], [793, 779, 812], [782, 795, 783], [783, 796, 797], [783, 797, 784], [773, 785, 798], [773, 798, 786], [800, 799, 821], [789, 790, 740], [740, 790, 791], [740, 791, 792], [780, 793, 794], [780, 794, 781], [781, 804, 782], [782, 804, 795], [783, 795, 796], [784, 805, 785], [784, 797, 805], [785, 805, 798], [750, 848, 846], [792, 801, 740], [740, 801, 802], [740, 802, 803], [779, 839, 811], [779, 811, 812], [793, 813, 794], [781, 794, 814], [781, 814, 804], [804, 816, 795], [804, 815, 816], [798, 805, 819], [786, 820, 799], [799, 820, 821], [803, 806, 740], [740, 806, 807], [740, 807, 808], [740, 808, 809], [740, 809, 810], [740, 810, 754], [793, 812, 813], [794, 813, 814], [804, 814, 815], [795, 816, 817], [795, 817, 796], [796, 817, 818], [796, 818, 797], [797, 819, 805], [797, 818, 819], [798, 819, 832], [798, 832, 786], [786, 832, 820], [800, 821, 834], [750, 834, 848], [810, 822, 754], [754, 822, 823], [754, 823, 824], [812, 828, 813], [815, 814, 829], [816, 815, 830], [816, 830, 817], [817, 830, 843], [818, 817, 831], [821, 833, 834], [824, 825, 754], [754, 825, 826], [754, 826, 827], [754, 827, 778], [812, 811, 828], [815, 829, 830], [817, 843, 831], [818, 831, 819], [819, 831, 853], [819, 853, 832], [820, 845, 821], [827, 835, 778], [778, 835, 836], [778, 836, 837], [813, 840, 814], [814, 841, 829], [829, 841, 842], [829, 842, 830], [830, 842, 843], [821, 845, 833], [837, 838, 778], [811, 850, 828], [828, 840, 813], [840, 851, 814], [814, 851, 841], [831, 843, 844], [831, 844, 853], [838, 847, 778], [828, 850, 840], [853, 854, 832], [820, 832, 854], [845, 860, 833], [847, 849, 778], [778, 849, 839], [811, 839, 850], [840, 850, 851], [841, 852, 842], [841, 851, 852], [842, 852, 865], [842, 865, 843], [843, 865, 844], [820, 854, 845], [849, 855, 839], [851, 850, 858], [854, 859, 845], [860, 861, 833], [833, 861, 834], [848, 834, 888], [846, 848, 889], [855, 856, 839], [839, 871, 850], [850, 857, 858], [858, 864, 851], [851, 864, 852], [844, 865, 866], [844, 866, 853], [845, 859, 860], [834, 861, 888], [856, 862, 839], [853, 867, 854], [860, 859, 868], [860, 868, 861], [861, 868, 888], [848, 888, 892], [1536, 846, 894], [862, 863, 839], [857, 872, 858], [864, 873, 852], [852, 873, 865], [853, 866, 867], [863, 869, 839], [865, 874, 866], [866, 874, 875], [866, 875, 867], [867, 875, 882], [867, 876, 854], [854, 876, 859], [859, 877, 868], [869, 870, 839], [839, 870, 871], [850, 871, 857], [857, 871, 872], [865, 873, 874], [867, 882, 876], [859, 876, 877], [846, 889, 894], [870, 878, 871], [858, 872, 864], [873, 880, 874], [874, 881, 875], [875, 881, 882], [876, 883, 877], [868, 877, 884], [878, 879, 871], [864, 872, 873], [873, 872, 880], [876, 882, 883], [877, 883, 884], [879, 885, 871], [874, 880, 881], [868, 884, 898], [885, 886, 871], [872, 871, 896], [882, 881, 887], [882, 887, 883], [883, 887, 884], [868, 898, 888], [848, 892, 889], [886, 890, 871], [890, 891, 871], [871, 891, 896], [872, 896, 900], [872, 900, 880], [880, 900, 881], [891, 893, 896], [884, 887, 906], [893, 895, 896], [881, 903, 887], [887, 903, 906], [888, 898, 892], [889, 892, 907], [895, 897, 896], [881, 900, 903], [897, 899, 896], [884, 906, 898], [899, 901, 896], [901, 902, 896], [900, 896, 903], [902, 904, 896], [889, 907, 894], [904, 905, 896], [896, 910, 903], [905, 908, 896], [908, 909, 896], [892, 921, 907], [909, 911, 896], [898, 921, 892], [911, 912, 896], [910, 906, 903], [906, 921, 898], [894, 907, 927], [912, 913, 896], [896, 913, 914], [896, 915, 910], [896, 914, 915], [915, 916, 910], [916, 917, 910], [906, 926, 921], [907, 921, 927], [917, 918, 910], [906, 910, 926], [918, 919, 910], [919, 920, 910], [920, 922, 910], [922, 923, 910], [923, 924, 910], [924, 925, 910], [921, 926, 941], [925, 928, 910], [921, 941, 939], [928, 929, 910], [910, 929, 930], [910, 930, 931], [931, 932, 910], [932, 933, 910], [933, 934, 910], [910, 934, 935], [910, 936, 926], [910, 935, 936], [939, 927, 921], [936, 938, 926], [938, 940, 926], [940, 942, 926], [927, 939, 937], [942, 943, 926], [943, 944, 926], [926, 944, 945], [926, 945, 946], [946, 947, 926], [926, 947, 948], [926, 948, 949], [926, 949, 950], [926, 950, 951], [926, 951, 941], [937, 952, 953], [951, 954, 941], [941, 954, 955], [941, 955, 956], [941, 956, 957], [941, 957, 958], [939, 959, 937], [937, 959, 960], [937, 960, 961], [937, 961, 952], [958, 962, 941], [941, 962, 963], [941, 963, 964], [939, 965, 966], [939, 966, 967], [939, 967, 968], [939, 968, 969], [939, 969, 970], [939, 970, 971], [939, 971, 959], [964, 972, 941], [941, 972, 973], [941, 973, 974], [941, 974, 975], [941, 975, 976], [941, 976, 977], [941, 978, 939], [941, 977, 978], [939, 978, 979], [939, 979, 980], [939, 980, 981], [939, 981, 982], [939, 982, 983], [939, 983, 984], [939, 984, 965], [633, 985, 987], [991, 995, 677], [985, 986, 987], [659, 987, 991], [659, 991, 677], [986, 989, 987], [989, 990, 987], [990, 992, 987], [987, 999, 991], [992, 993, 987], [987, 993, 999], [993, 994, 999], [994, 996, 999], [996, 997, 999], [999, 1002, 991], [997, 998, 999], [991, 1002, 995], [995, 1007, 988], [998, 1000, 999], [1000, 1002, 999], [1000, 1001, 1002], [1001, 1003, 1002], [995, 1011, 1007], [1003, 1004, 1002], [1004, 1005, 1002], [1002, 1016, 995], [995, 1016, 1011], [1005, 1006, 1002], [1002, 1006, 1013], [1006, 1008, 1013], [1008, 1009, 1013], [1002, 1013, 1016], [1009, 1010, 1013], [1010, 1012, 1013], [1012, 1014, 1013], [1013, 1020, 1016], [1011, 1023, 1007], [1007, 1023, 1017], [1014, 1015, 1013], [1015, 1018, 1013], [1011, 1016, 1029], [1018, 1020, 1013], [1018, 1019, 1020], [1029, 1030, 1011], [1011, 1030, 1023], [1019, 1021, 1020], [1017, 1023, 21], [21, 1023, 28], [1021, 1022, 1020], [1022, 1028, 1020], [1022, 1024, 1028], [1020, 1028, 1016], [1024, 1025, 1028], [1028, 1029, 1016], [1025, 1026, 1028], [1023, 1035, 28], [1026, 1027, 1028], [1023, 1038, 1035], [1027, 1031, 1028], [1030, 1038, 1023], [1031, 1032, 1028], [1032, 1033, 1028], [1029, 1028, 1041], [1029, 1044, 1030], [1033, 1034, 1028], [1038, 1045, 1035], [1034, 1036, 1028], [1028, 1036, 1041], [1029, 1041, 1044], [1036, 1037, 1041], [1037, 1039, 1041], [1039, 1040, 1041], [1040, 1042, 1041], [1038, 1030, 1050], [44, 1046, 55], [1042, 1043, 1041], [1038, 1050, 1045], [1043, 1047, 1041], [1041, 1047, 1049], [1041, 1049, 1044], [1044, 1053, 1030], [1030, 1053, 1050], [1047, 1048, 1049], [1045, 1054, 1035], [1035, 1054, 1046], [1048, 1051, 1049], [1044, 1049, 1053], [1045, 1059, 1054], [1051, 1052, 1049], [1050, 1053, 1058], [1050, 1058, 1045], [1045, 1058, 1059], [1054, 1064, 1046], [1052, 1057, 1049], [1052, 1055, 1057], [1049, 1057, 1053], [1055, 1056, 1057], [1046, 1061, 55], [1056, 1060, 1057], [1046, 1064, 1061], [1060, 1062, 1057], [1057, 1066, 1053], [1066, 1067, 1053], [1053, 1067, 1058], [1062, 1063, 1057], [1057, 1063, 1066], [1059, 1069, 1054], [1054, 1069, 1070], [1054, 1070, 1064], [1064, 1071, 1061], [1063, 1065, 1066], [1067, 1074, 1058], [1059, 1058, 1069], [1065, 1068, 1066], [1058, 1074, 1075], [1058, 1075, 1069], [1068, 1073, 1066], [1068, 1072, 1073], [1066, 1073, 1067], [1067, 1073, 1074], [1064, 1070, 1080], [1064, 1080, 1071], [1072, 1076, 1073], [1075, 1079, 1069], [1069, 1079, 1070], [1070, 1079, 1080], [1076, 1077, 1073], [1073, 1082, 1074], [1071, 1080, 1084], [1077, 1078, 1073], [1078, 1081, 1073], [1073, 1081, 1082], [1075, 1089, 1079], [1081, 1086, 1082], [1081, 1083, 1086], [1082, 1088, 1074], [1074, 1088, 1075], [1075, 1088, 1089], [1083, 1085, 1086], [1082, 1086, 1088], [1079, 1089, 1080], [1080, 1100, 1084], [1084, 159, 1071], [1085, 1087, 1086], [1086, 1094, 1088], [1080, 1089, 1092], [1087, 1090, 1086], [1088, 1094, 1095], [1084, 1100, 159], [1090, 1091, 1086], [1088, 1095, 1089], [1080, 1092, 1100], [1091, 1093, 1086], [1086, 1093, 1094], [1089, 1104, 1092], [1093, 1096, 1094], [1094, 1098, 1095], [1096, 1097, 1094], [1095, 1098, 1104], [1095, 1104, 1089], [1097, 1102, 1094], [1097, 1099, 1102], [1099, 1101, 1102], [1094, 1102, 1098], [1098, 1107, 1104], [1101, 1103, 1102], [1102, 1106, 1098], [1098, 1106, 1107], [1103, 1105, 1102], [1107, 1112, 1104], [1105, 1110, 1102], [1105, 1108, 1110], [1104, 1117, 1092], [1092, 1117, 1100], [1100, 1117, 1113], [1100, 1113, 206], [1108, 1109, 1110], [1102, 1110, 1106], [1107, 1106, 1116], [1107, 1116, 1112], [1109, 1111, 1110], [1106, 1120, 1116], [1104, 1112, 1117], [1111, 1114, 1110], [1110, 1114, 1119], [1110, 1119, 1106], [1106, 1119, 1120], [1114, 1115, 1119], [1115, 1118, 1119], [1120, 1124, 1116], [1116, 1126, 1112], [1113, 1117, 1122], [1118, 1121, 1119], [1116, 1129, 1126], [1112, 1126, 1117], [1121, 1128, 1119], [1121, 1123, 1128], [1116, 1124, 1129], [1117, 1126, 1122], [1113, 1122, 1135], [1123, 1125, 1128], [1119, 1128, 1132], [1125, 1127, 1128], [1119, 1132, 1133], [1119, 1133, 1120], [1120, 1133, 1124], [1113, 1135, 284], [1127, 1130, 1128], [1130, 1131, 1132], [1130, 1132, 1128], [1124, 1133, 1138], [1124, 1138, 1129], [1126, 1129, 1139], [1126, 1139, 1122], [1131, 1134, 1132], [1132, 1137, 1133], [1122, 1139, 1135], [1135, 318, 284], [1134, 1136, 1132], [1132, 1136, 1137], [1135, 1139, 1153], [1136, 1140, 1137], [1140, 1141, 1137], [1137, 1145, 1133], [1133, 1145, 1148], [1133, 1148, 1138], [1129, 1138, 1139], [1141, 1142, 1144], [1141, 1144, 1137], [1138, 1152, 1139], [1135, 347, 318], [1142, 1143, 1144], [1137, 1144, 1145], [1135, 1153, 347], [1143, 1146, 1144], [1144, 1146, 1151], [1145, 1160, 1148], [1146, 1147, 1151], [1138, 1148, 1152], [1139, 1152, 1153], [1147, 1149, 1151], [1144, 1156, 1145], [1145, 1156, 1160], [1149, 1150, 1151], [1144, 1151, 1156], [1150, 1154, 1151], [1148, 1160, 1152], [1154, 1155, 1151], [1160, 1165, 1152], [1155, 1157, 1151], [1151, 1157, 1162], [1152, 358, 1153], [1157, 1158, 1162], [1152, 1165, 358], [1158, 1159, 1162], [1151, 1162, 1156], [1159, 1161, 1162], [1156, 1171, 1160], [1156, 1162, 1171], [1161, 1163, 1168], [1161, 1168, 1162], [1163, 1164, 1168], [1162, 1168, 1169], [1164, 1166, 1168], [1166, 1167, 1168], [1167, 1170, 1168], [1162, 1169, 1171], [1160, 1171, 1175], [1160, 1175, 1165], [1170, 1172, 1168], [358, 1165, 1175], [1172, 1173, 1180], [1172, 1180, 1168], [1168, 1180, 1169], [1173, 1174, 1180], [1174, 1176, 1180], [1169, 1185, 1171], [1171, 1185, 1175], [1175, 1185, 1189], [1176, 1177, 1180], [1180, 1181, 1169], [1169, 1181, 1185], [1177, 1178, 1180], [1178, 1179, 1180], [1179, 1182, 1180], [1180, 1182, 1187], [1182, 1183, 1187], [1183, 1184, 1187], [1184, 1186, 1187], [1187, 1193, 1180], [1180, 1193, 1181], [1186, 1188, 1187], [1188, 1190, 1187], [1181, 1193, 1185], [1185, 1200, 1189], [1175, 1189, 388], [1190, 1191, 1187], [1191, 1192, 1187], [1185, 1193, 1200], [1189, 1197, 388], [1192, 1194, 1187], [1187, 1194, 1202], [1187, 1202, 1193], [1194, 1195, 1202], [1195, 1196, 1202], [1202, 1207, 1193], [1189, 1200, 1197], [1196, 1198, 1202], [1198, 1199, 1202], [1199, 1201, 1202], [1193, 1207, 1200], [1201, 1203, 733], [1201, 733, 1202], [1203, 1204, 733], [1204, 1205, 733], [1205, 1206, 733], [1206, 1208, 733], [1202, 733, 1207], [1208, 746, 733], [1200, 1207, 709], [447, 1210, 436], [658, 1225, 1217], [460, 1222, 447], [447, 1212, 1210], [658, 1219, 1225], [1212, 447, 1214], [447, 1215, 1214], [447, 1216, 1215], [447, 1218, 1216], [477, 1239, 1232], [447, 1220, 1218], [1213, 1228, 1209], [672, 1231, 1219], [460, 1232, 1222], [1222, 1221, 447], [447, 1221, 1220], [1209, 1231, 672], [1225, 1229, 1217], [1221, 1222, 1223], [1217, 1229, 1211], [1232, 1235, 1222], [1222, 1224, 1223], [1211, 1229, 1243], [1211, 1239, 477], [1222, 1226, 1224], [1222, 1235, 1227], [1222, 1227, 1226], [1219, 1241, 1225], [1235, 1230, 1227], [1209, 1228, 1238], [1209, 1238, 1231], [1235, 1233, 1230], [1213, 20, 1246], [1213, 1246, 1228], [1243, 1239, 1211], [1235, 1234, 1233], [1219, 1231, 1241], [1225, 1242, 1229], [1243, 1253, 1239], [1235, 1236, 1234], [1235, 1237, 1236], [1229, 1242, 1243], [1235, 1240, 1237], [1241, 1242, 1225], [1232, 1248, 1235], [1235, 1244, 1240], [1231, 1238, 1241], [1232, 1239, 1248], [1235, 1245, 1244], [1242, 1251, 1243], [1235, 1247, 1245], [1228, 1246, 1255], [1228, 1255, 1238], [1241, 1257, 1242], [1248, 1249, 1235], [1235, 1249, 1247], [1241, 1238, 1265], [1243, 1258, 1253], [1248, 1250, 1249], [1251, 1258, 1243], [1248, 1252, 1250], [1238, 1255, 1265], [1242, 1262, 1251], [1239, 1260, 1248], [1248, 1254, 1252], [20, 1273, 1246], [1246, 1268, 1255], [1248, 1256, 1254], [1246, 1273, 1268], [1257, 1262, 1242], [1253, 1266, 1239], [1248, 1259, 1256], [1241, 1265, 1257], [1248, 1261, 1259], [1239, 1266, 1260], [1248, 1263, 1261], [20, 1283, 1273], [1268, 1269, 1255], [1255, 1269, 1279], [1255, 1279, 1265], [1248, 1260, 1264], [1248, 1264, 1263], [1265, 1274, 1257], [1257, 1274, 1262], [1251, 1262, 1258], [1258, 1277, 1253], [1253, 1271, 1266], [1260, 1267, 1264], [1262, 1276, 1258], [1260, 1270, 1267], [1268, 1273, 1307], [1253, 1277, 1271], [1260, 1272, 1270], [1286, 1269, 1268], [1260, 1275, 1272], [1258, 1284, 1277], [1258, 1276, 1284], [1266, 1278, 1260], [1260, 1278, 1275], [1307, 1286, 1268], [1274, 1291, 1262], [1266, 1280, 1278], [1279, 1294, 1265], [1266, 1281, 1280], [1283, 1311, 1273], [1273, 1311, 1307], [1286, 1300, 1269], [1265, 1291, 1274], [1277, 1284, 1288], [1266, 1282, 1281], [1269, 1300, 1279], [1294, 1302, 1265], [1262, 1291, 1276], [1276, 1291, 1304], [1271, 1285, 1266], [1266, 1285, 1282], [1300, 1301, 1279], [1265, 1302, 1291], [1276, 1292, 1284], [1271, 1287, 1285], [1283, 59, 1297], [1301, 1294, 1279], [1277, 1289, 1271], [1271, 1289, 1287], [1284, 1292, 1295], [1277, 1290, 1289], [1283, 1317, 1311], [1284, 1298, 1288], [1288, 1293, 1277], [1277, 1293, 1290], [1297, 1317, 1283], [1292, 1305, 1295], [1284, 1295, 1298], [1288, 1296, 1293], [59, 63, 1297], [1276, 1304, 1292], [1298, 1299, 1288], [1288, 1299, 1296], [1302, 1308, 1291], [1298, 1303, 1299], [1307, 1312, 1286], [1286, 1312, 1300], [1291, 1308, 1304], [1295, 1306, 1298], [1298, 1306, 1303], [1304, 1308, 1320], [1304, 1313, 1292], [1295, 1305, 1309], [1295, 1309, 1306], [63, 97, 1297], [1300, 1312, 1326], [1300, 1326, 1301], [1301, 1326, 1319], [1301, 1319, 1294], [1302, 1294, 1328], [1305, 1310, 1309], [1297, 97, 1324], [1307, 1311, 1318], [1307, 1318, 1312], [1328, 1308, 1302], [1304, 1320, 1313], [1292, 1313, 1305], [1305, 1313, 1322], [1305, 1322, 1315], [1305, 1315, 1310], [1310, 1315, 1314], [1315, 1316, 1314], [97, 1332, 1324], [1297, 1324, 1317], [1311, 1317, 1325], [1311, 1325, 1318], [1312, 1318, 1326], [1294, 1319, 1328], [1316, 1315, 1321], [1326, 1327, 1319], [1308, 1336, 1320], [1320, 1337, 1313], [1313, 1337, 1322], [1322, 1330, 1315], [1315, 1323, 1321], [1318, 1325, 1333], [1319, 1327, 1335], [1319, 1335, 1328], [1315, 1330, 1323], [1323, 1330, 1329], [1317, 1324, 1341], [1317, 1341, 1325], [1318, 1334, 1326], [1326, 1334, 1327], [1328, 1336, 1308], [1328, 1354, 1336], [1336, 1344, 1320], [1320, 1344, 1337], [1322, 1337, 1330], [1330, 1331, 1329], [97, 1346, 1332], [1318, 1333, 1334], [1331, 1330, 1338], [127, 1346, 97], [1332, 1346, 1340], [1332, 1340, 1324], [1324, 1340, 1341], [1325, 1341, 1342], [1325, 1342, 1333], [1333, 1351, 1334], [1334, 1352, 1343], [1334, 1343, 1327], [1327, 1353, 1335], [1337, 1347, 1330], [1330, 1339, 1338], [127, 174, 1346], [1333, 1342, 1351], [1334, 1351, 1352], [1327, 1343, 1353], [1328, 1335, 1354], [1330, 1347, 1339], [1339, 1347, 1345], [1340, 1349, 1341], [1341, 1349, 1350], [1341, 1350, 1342], [1337, 1344, 1347], [1347, 1348, 1345], [1346, 1356, 1340], [1340, 1356, 1349], [1342, 1350, 1351], [1353, 1362, 1335], [1335, 1362, 1354], [1347, 1344, 1357], [1348, 1347, 1355], [1346, 174, 1356], [1349, 1367, 1359], [1349, 1359, 1350], [1350, 1359, 1360], [1343, 1352, 1361], [1343, 1361, 1353], [1354, 1363, 1336], [1336, 1364, 1344], [1347, 1358, 1355], [1347, 1357, 1358], [174, 1366, 1356], [1350, 1371, 1351], [1350, 1360, 1371], [1351, 1371, 1352], [1352, 1371, 1372], [1352, 1372, 1361], [1353, 1361, 1373], [1353, 1373, 1362], [1336, 1363, 1364], [1344, 1364, 1368], [1344, 1368, 1357], [1357, 1369, 1358], [1358, 1369, 1365], [1366, 1375, 1356], [1356, 1375, 1367], [1356, 1367, 1349], [1357, 1368, 1369], [1369, 1370, 1365], [1359, 1367, 1379], [1360, 1359, 1380], [1360, 1380, 1371], [1372, 1381, 1361], [1361, 1381, 1373], [1362, 1363, 1354], [1364, 1382, 1368], [1369, 1376, 1370], [1370, 1376, 1374], [1367, 1375, 1378], [1367, 1378, 1379], [1359, 1379, 1380], [1373, 1392, 1362], [1362, 1393, 1363], [1363, 1394, 1364], [1368, 1382, 1376], [1368, 1376, 1369], [1376, 1377, 1374], [1366, 1384, 1375], [1366, 241, 1384], [1375, 1384, 1378], [1371, 1380, 1390], [1371, 1390, 1391], [1371, 1391, 1372], [1372, 1391, 1381], [1373, 1381, 1392], [1362, 1392, 1393], [1363, 1393, 1402], [1363, 1402, 1394], [1364, 1394, 1382], [1376, 1382, 1385], [1377, 1376, 1383], [1380, 1379, 1389], [1380, 1389, 1390], [1392, 1381, 1401], [1376, 1386, 1383], [1376, 1385, 1386], [1378, 1384, 1387], [1378, 1388, 1379], [1378, 1387, 1388], [1379, 1388, 1389], [1381, 1391, 1401], [1382, 1396, 1385], [1386, 1385, 1395], [241, 266, 1384], [1391, 1400, 1401], [1394, 1407, 1382], [1382, 1407, 1396], [1396, 1403, 1385], [1385, 1397, 1395], [1385, 1403, 1397], [1384, 266, 1398], [1384, 1398, 1387], [1387, 1398, 1399], [1387, 1399, 1388], [1388, 1399, 1389], [1390, 1406, 1391], [1391, 1406, 1400], [1392, 1401, 1393], [1397, 1403, 1404], [266, 1421, 1398], [1389, 1399, 1415], [1390, 1389, 1416], [1390, 1416, 1406], [1400, 1417, 1401], [1401, 1417, 1393], [1393, 1425, 1402], [1402, 1425, 1394], [1396, 1419, 1409], [1396, 1409, 1403], [1403, 1409, 1410], [1403, 1405, 1404], [1403, 1410, 1405], [1398, 1421, 1412], [1398, 1412, 1413], [1398, 1413, 1399], [1399, 1413, 1414], [1399, 1414, 1415], [1389, 1415, 1416], [1393, 1417, 1425], [1394, 1418, 1407], [1396, 1407, 1419], [1405, 1410, 1408], [1400, 1406, 1424], [1400, 1424, 1417], [1425, 1418, 1394], [1410, 1411, 1408], [1416, 1423, 1406], [1406, 1423, 1424], [1407, 1418, 1426], [1411, 1410, 1420], [1414, 1428, 1415], [1417, 1438, 1425], [1407, 1426, 1419], [1409, 1432, 1410], [1410, 1422, 1420], [1410, 1433, 1422], [1414, 1413, 1428], [1423, 1431, 1424], [1419, 1432, 1409], [1422, 1433, 1427], [1424, 1437, 1417], [1432, 1433, 1410], [1433, 1429, 1427], [1413, 1412, 1446], [1413, 1446, 1428], [1415, 1428, 1436], [1415, 1430, 1416], [1415, 1436, 1430], [1416, 1430, 1423], [1417, 1437, 1438], [1418, 1425, 1426], [1426, 1440, 1419], [1419, 1440, 1432], [1429, 1433, 1434], [1412, 1421, 1446], [1426, 1425, 1448], [1426, 1448, 1443], [1426, 1443, 1440], [1433, 1435, 1434], [1433, 1441, 1435], [1446, 1457, 1428], [1428, 1457, 1436], [1424, 1431, 1437], [1435, 1441, 1439], [1441, 1444, 1439], [1439, 1444, 1442], [1421, 342, 1446], [1425, 1438, 1448], [1432, 1449, 1433], [1433, 1449, 1441], [1442, 1444, 1445], [1423, 1453, 1431], [1431, 1453, 1437], [1437, 1454, 1438], [1445, 1444, 1451], [1445, 1451, 1447], [1436, 1469, 1430], [1423, 1430, 1453], [1437, 1453, 1454], [1438, 1455, 1448], [1447, 1451, 1463], [1447, 1463, 1450], [1436, 1457, 1469], [1443, 1448, 1462], [1432, 1440, 1449], [1441, 1458, 1444], [1441, 1449, 1458], [1450, 1463, 1452], [342, 1460, 1446], [1454, 1455, 1438], [1444, 1458, 1451], [1452, 1463, 1464], [1452, 1464, 1456], [1446, 1460, 1457], [1456, 1464, 1459], [1448, 1483, 1462], [1451, 1475, 1463], [1459, 1464, 1461], [1457, 1477, 1469], [1430, 1469, 1453], [1453, 1469, 1470], [1453, 1474, 1454], [1448, 1455, 1483], [1440, 1467, 1449], [1449, 1467, 1458], [1461, 1464, 1472], [1461, 1472, 1465], [1453, 1470, 1474], [1454, 1474, 1455], [1443, 1462, 1440], [1458, 1467, 1475], [1465, 1472, 1481], [1465, 1481, 1466], [1462, 1480, 1440], [1458, 1475, 1451], [1466, 1481, 1468], [1455, 1474, 1479], [1455, 1479, 1483], [1468, 1481, 1471], [1460, 363, 1457], [1469, 1493, 1470], [1440, 1480, 1467], [1463, 1486, 1464], [1464, 1486, 1472], [1471, 1481, 1473], [1457, 363, 1477], [1473, 1481, 1476], [1483, 1484, 1462], [1475, 1467, 1480], [1475, 1486, 1463], [1476, 1481, 1489], [1476, 1489, 1478], [1462, 1484, 1480], [1478, 1489, 1482], [1469, 1477, 1491], [1470, 1494, 1474], [1474, 1494, 1479], [1480, 1486, 1475], [1486, 1498, 1472], [1482, 1489, 1485], [1472, 1499, 1481], [1485, 1489, 1487], [1470, 1493, 1494], [1486, 1480, 1502], [1498, 1499, 1472], [1489, 1495, 1487], [1487, 1495, 1488], [1491, 1510, 1469], [1486, 1502, 1498], [1488, 1495, 1490], [1479, 1494, 1501], [1479, 1501, 1483], [1483, 1501, 1484], [1490, 1495, 1492], [1469, 1510, 1493], [1492, 1495, 1496], [1494, 1512, 1501], [1480, 1484, 1502], [1496, 1495, 1497], [1484, 1505, 1502], [1481, 1507, 1489], [1497, 1495, 1500], [1484, 1501, 1505], [1499, 1507, 1481], [1495, 1508, 1500], [1500, 1508, 1503], [1493, 1511, 1494], [1494, 1511, 1512], [1489, 1507, 1495], [1503, 1508, 1504], [1504, 1508, 1506], [1505, 1501, 1516], [1502, 1518, 1498], [1498, 1518, 1499], [1506, 1508, 1509], [1491, 1539, 1510], [1509, 1508, 1513], [1510, 1511, 1493], [1502, 1505, 1518], [1495, 1524, 1508], [1513, 1508, 1514], [1514, 1508, 1524], [1514, 1524, 1515], [1512, 1516, 1501], [1505, 1516, 1518], [1507, 1523, 1495], [1495, 1523, 1524], [1515, 1524, 1517], [1517, 1524, 1519], [1511, 1526, 1512], [1512, 1526, 1516], [1499, 1518, 1507], [1519, 1524, 1520], [1516, 1534, 1518], [1507, 1518, 1522], [1507, 1522, 1523], [1520, 1524, 1521], [1516, 1529, 1534], [1518, 1534, 1522], [1521, 1524, 1525], [1510, 1533, 1511], [1525, 1524, 1530], [1525, 1530, 1527], [1511, 1533, 1526], [1527, 1530, 1528], [1529, 1536, 1534], [1528, 1530, 1531], [1510, 1539, 1533], [1524, 1523, 927], [1524, 927, 1530], [1530, 1532, 1531], [1532, 1530, 1535], [1526, 1543, 1516], [1516, 1543, 1529], [1535, 1530, 1537], [1526, 1541, 1543], [1522, 1534, 894], [1530, 937, 1537], [1537, 937, 1538], [1529, 1543, 1536], [1534, 1536, 894], [1522, 894, 1523], [1538, 937, 1540], [927, 937, 1530], [1540, 937, 1542], [1526, 1533, 1541], [1523, 894, 927], [937, 1544, 1542], [1544, 937, 1545], [1543, 745, 1536], [1545, 937, 953]]
matched = [[0, 450], [1, 466], [2, 566], [3, 974], [4, 1000], [5, 1222], [6, 1298], [7, 1322], [8, 1340], [9, 1704], [10, 1752], [11, 2022], [12, 2114], [13, 2332], [14, 2360], [15, 2380], [16, 2388], [17, 2596], [18, 2662], [19, 2706], [20, 2842], [21, 2914], [22, 3132], [23, 3148], [24, 3158], [25, 3164], [26, 3244], [27, 3360], [28, 3386], [29, 3626], [30, 3726], [31, 3832], [32, 3912], [33, 3944], [34, 4063], [35, 4084], [36, 4146], [37, 4162], [38, 4240], [39, 4356], [40, 4398], [41, 4408], [42, 4470], [43, 4646], [44, 4692], [45, 4852], [46, 4930], [47, 5122], [48, 5126], [49, 5216], [50, 5222], [51, 5310], [52, 5400], [53, 5408], [54, 5422], [55, 5482], [56, 5490], [57, 5504], [58, 5546], [59, 5720], [60, 5744], [61, 5766], [62, 5800], [63, 5826], [64, 5950], [65, 5964], [66, 5970], [67, 5986], [68, 6010], [69, 6038], [70, 6124], [71, 6166], [72, 6167], [73, 6169], [74, 6215], [75, 6261], [76, 6275], [77, 6279], [78, 6283], [79, 6289], [80, 6293], [81, 6294], [82, 6295], [83, 6296], [84, 6304], [85, 6418], [86, 6419], [87, 6454], [88, 6458], [89, 6472], [90, 6484], [91, 6504], [92, 6506], [93, 6508], [94, 6540], [95, 6541], [96, 6561], [97, 6615], [98, 6662], [99, 6663], [100, 6676], [101, 6750], [102, 6756], [103, 6758], [104, 6772], [105, 6784], [106, 6785], [107, 6789], [108, 6887], [109, 6906], [110, 6907], [111, 6921], [112, 6947], [113, 6957], [114, 6995], [115, 6997], [116, 6999], [117, 7001], [118, 7027], [119, 7028], [120, 7036], [121, 7056], [122, 7102], [123, 7118], [124, 7147], [125, 7148], [126, 7165], [127, 7229], [128, 7233], [129, 7237], [130, 7239], [131, 7243], [132, 7267], [133, 7268], [134, 7272], [135, 7358], [136, 7360], [137, 7387], [138, 7388], [139, 7401], [140, 7427], [141, 7451], [142, 7469], [143, 7475], [144, 7477], [145, 7479], [146, 7481], [147, 7501], [148, 7505], [149, 7507], [150, 7508], [151, 7512], [152, 7516], [153, 7598], [154, 7600], [155, 7627], [156, 7628], [157, 7639], [158, 7655], [159, 7665], [160, 7683], [161, 7701], [162, 7707], [163, 7711], [164, 7717], [165, 7719], [166, 7721], [167, 7725], [168, 7731], [169, 7747], [170, 7748], [171, 7867], [172, 7868], [173, 7883], [174, 7933], [175, 7947], [176, 7949], [177, 7951], [178, 7953], [179, 7955], [180, 7957], [181, 7961], [182, 7975], [183, 7987], [184, 7988], [185, 7992], [186, 7994], [187, 8107], [188, 8108], [189, 8153], [190, 8163], [191, 8181], [192, 8187], [193, 8189], [194, 8191], [195, 8193], [196, 8195], [197, 8221], [198, 8227], [199, 8228], [200, 8236], [201, 8239], [202, 8347], [203, 8348], [204, 8363], [205, 8375], [206, 8385], [207, 8397], [208, 8409], [209, 8427], [210, 8429], [211, 8431], [212, 8433], [213, 8435], [214, 8441], [215, 8457], [216, 8467], [217, 8468], [218, 8472], [219, 8587], [220, 8588], [221, 8649], [222, 8661], [223, 8667], [224, 8669], [225, 8671], [226, 8673], [227, 8677], [228, 8679], [229, 8681], [230, 8685], [231, 8705], [232, 8707], [233, 8708], [234, 8716], [235, 8798], [236, 8800], [237, 8827], [238, 8828], [239, 8841], [240, 8843], [241, 8875], [242, 8891], [243, 8907], [244, 8915], [245, 8917], [246, 8919], [247, 8921], [248, 8931], [249, 8934], [250, 8947], [251, 8948], [252, 8954], [253, 8956], [254, 8984], [255, 9038], [256, 9040], [257, 9067], [258, 9068], [259, 9157], [260, 9159], [261, 9161], [262, 9187], [263, 9188], [264, 9192], [265, 9206], [266, 9278], [267, 9286], [268, 9299], [269, 9307], [270, 9308], [271, 9321], [272, 9349], [273, 9383], [274, 9397], [275, 9399], [276, 9427], [277, 9428], [278, 9436], [279, 9522], [280, 9547], [281, 9548], [282, 9561], [283, 9567], [284, 9583], [285, 9587], [286, 9601], [287, 9633], [288, 9635], [289, 9637], [290, 9655], [291, 9665], [292, 9667], [293, 9668], [294, 9670], [295, 9787], [296, 9788], [297, 9876], [298, 9882], [299, 9884], [300, 9908], [301, 9909], [302, 9919], [303, 10030], [304, 10031], [305, 10065], [306, 10087], [307, 10105], [308, 10135], [309, 10153], [310, 10154], [311, 10155], [312, 10175], [313, 10239], [314, 10277], [315, 10278], [316, 10280], [317, 10304], [318, 10330], [319, 10342], [320, 10350], [321, 10392], [322, 10396], [323, 10400], [324, 10404], [325, 10405], [326, 10407], [327, 10533], [328, 10613], [329, 10623], [330, 10651], [331, 10671], [332, 10709], [333, 10807], [334, 10849], [335, 10855], [336, 10885], [337, 10891], [338, 10893], [339, 10955], [340, 11047], [341, 11073], [342, 11143], [343, 11149], [344, 11159], [345, 11321], [346, 11337], [347, 11353], [348, 11379], [349, 11395], [350, 11425], [351, 11431], [352, 11625], [353, 11823], [354, 11885], [355, 11923], [356, 11933], [357, 12109], [358, 12125], [359, 12133], [360, 12329], [361, 12345], [362, 12357], [363, 12373], [364, 12385], [365, 12397], [366, 12401], [367, 12409], [368, 12441], [369, 12639], [370, 12821], [371, 13125], [372, 13181], [373, 13195], [374, 13211], [375, 13297], [376, 13351], [377, 13403], [378, 13689], [379, 13713], [380, 13853], [381, 13931], [382, 14117], [383, 14163], [384, 14181], [385, 14217], [386, 14227], [387, 14306], [388, 14339], [389, 14381], [390, 14455], [391, 14881], [392, 15127], [393, 15167], [394, 15405], [395, 15909], [396, 16133], [397, 16203], [398, 16237], [399, 16238], [400, 16239], [401, 16240], [402, 16241], [403, 16242], [404, 16243], [405, 16244], [406, 16245], [407, 16246], [408, 16247], [409, 16248], [410, 16249], [411, 16250], [412, 16251], [413, 16252], [414, 16266], [415, 16267], [416, 16268], [417, 16269], [418, 16270], [419, 16271], [420, 16272], [421, 16273], [422, 16274], [423, 16275], [424, 16276], [425, 16277], [426, 16301], [427, 16302], [428, 16303], [429, 16304], [430, 16305], [431, 16306], [432, 16307], [433, 16308], [434, 16340], [435, 16341], [436, 16342], [437, 16343], [438, 16344], [439, 16364], [440, 16383], [441, 16425], [442, 16459], [443, 16468], [444, 16482], [445, 16512], [446, 16556], [447, 16557], [448, 16558], [449, 16559], [450, 16605], [451, 16654], [452, 16704], [453, 16705], [454, 16706], [455, 16710], [456, 16740], [457, 16757], [458, 16811], [459, 16861], [460, 16866], [461, 16922], [462, 16979], [463, 17037], [464, 17096], [465, 17156], [466, 17217], [467, 17279], [468, 17299], [469, 17311], [470, 17342], [471, 17343], [472, 17344], [473, 17408], [474, 17460], [475, 17475], [476, 17541], [477, 17543], [478, 17557], [479, 17612], [480, 17682], [481, 17688], [482, 17753], [483, 17825], [484, 17841], [485, 17898], [486, 17928], [487, 17972], [488, 17976], [489, 18047], [490, 18123], [491, 18185], [492, 18200], [493, 18278], [494, 18286], [495, 18357], [496, 18437], [497, 18467], [498, 18518], [499, 18562], [500, 18600], [501, 18606], [502, 18612], [503, 18620], [504, 18626], [505, 18632], [506, 18638], [507, 18683], [508, 18767], [509, 18787], [510, 18789], [511, 18793], [512, 18799], [513, 18803], [514, 18852], [515, 18938], [516, 18956], [517, 18958], [518, 18962], [519, 18966], [520, 18980], [521, 19025], [522, 19109], [523, 19113], [524, 19127], [525, 19131], [526, 19147], [527, 19153], [528, 19157], [529, 19163], [530, 19202], [531, 19292], [532, 19308], [533, 19312], [534, 19330], [535, 19383], [536, 19475], [537, 19483], [538, 19491], [539, 19501], [540, 19503], [541, 19505], [542, 19509], [543, 19519], [544, 19523], [545, 19568], [546, 19569], [547, 19570], [548, 19664], [549, 19665], [550, 19666], [551, 19690], [552, 19694], [553, 19696], [554, 19700], [555, 19706], [556, 19716], [557, 19720], [558, 19763], [559, 19764], [560, 19765], [561, 19865], [562, 19866], [563, 19867], [564, 19868], [565, 19869], [566, 19891], [567, 19895], [568, 19901], [569, 19903], [570, 19907], [571, 19909], [572, 19913], [573, 19919], [574, 19929], [575, 19972], [576, 19973], [577, 19974], [578, 20022], [579, 20082], [580, 20083], [581, 20084], [582, 20098], [583, 20122], [584, 20124], [585, 20126], [586, 20128], [587, 20132], [588, 20142], [589, 20195], [590, 20196], [591, 20197], [592, 20245], [593, 20253], [594, 20311], [595, 20353], [596, 20355], [597, 20361], [598, 20363], [599, 20365], [600, 20367], [601, 20371], [602, 20381], [603, 20389], [604, 20428], [605, 20429], [606, 20430], [607, 20548], [608, 20549], [609, 20550], [610, 20560], [611, 20580], [612, 20582], [613, 20590], [614, 20594], [615, 20598], [616, 20600], [617, 20604], [618, 20606], [619, 20608], [620, 20610], [621, 20612], [622, 20671], [623, 20795], [624, 20796], [625, 20797], [626, 20849], [627, 20855], [628, 20859], [629, 20861], [630, 20863], [631, 20865], [632, 20922], [633, 20923], [634, 21101], [635, 21105], [636, 21117], [637, 21119], [638, 21121], [639, 21125], [640, 21137], [641, 21223], [642, 21315], [643, 21369], [644, 21371], [645, 21375], [646, 21381], [647, 21389], [648, 21499], [649, 21593], [650, 21609], [651, 21613], [652, 21633], [653, 21635], [654, 21657], [655, 21881], [656, 21889], [657, 22077], [658, 22087], [659, 22117], [660, 22137], [661, 22153], [662, 22285], [663, 22403], [664, 22795], [665, 22893], [666, 22905], [667, 22964], [668, 23145], [669, 23187], [670, 23387], [671, 23885], [672, 23941], [673, 24299], [674, 24334], [675, 24379], [676, 24541], [677, 24577], [678, 24845], [679, 24855], [680, 24907], [681, 25073], [682, 25355], [683, 25659], [684, 26109], [685, 26141], [686, 26191], [687, 26405], [688, 26653], [689, 26671], [690, 26885], [691, 26907], [692, 27423], [693, 27927], [694, 27943], [695, 27957], [696, 28171], [697, 28441], [698, 28515], [699, 28709], [700, 28745], [701, 29199], [702, 29241], [703, 29606], [704, 29745], [705, 29799], [706, 29809], [707, 30138], [708, 30221], [709, 30285], [710, 30829], [711, 30869], [712, 31147], [713, 31169], [714, 31411], [715, 31618], [716, 31699], [717, 32061], [718, 32175], [719, 32347], [720, 32455], [721, 32461], [722, 32467], [723, 32669], [724, 32699], [725, 32709], [726, 32715], [727, 32729], [728, 32969], [729, 32977], [730, 32983], [731, 33117], [732, 33177], [733, 33215], [734, 33237], [735, 33239], [736, 33243], [737, 33253], [738, 33349], [739, 33455], [740, 33491], [741, 33503], [742, 33507], [743, 33515], [744, 33559], [745, 33564], [746, 33565], [747, 33577], [748, 33629], [749, 33663], [750, 33693], [751, 33694], [752, 33695], [753, 33721], [754, 33739], [755, 33751], [756, 33755], [757, 33757], [758, 33759], [759, 33761], [760, 33765], [761, 33820], [762, 33944], [763, 33945], [764, 33946], [765, 33990], [766, 33994], [767, 33996], [768, 33998], [769, 34002], [770, 34004], [771, 34006], [772, 34008], [773, 34067], [774, 34068], [775, 34069], [776, 34187], [777, 34213], [778, 34221], [779, 34231], [780, 34233], [781, 34237], [782, 34239], [783, 34241], [784, 34243], [785, 34247], [786, 34304], [787, 34305], [788, 34306], [789, 34420], [790, 34421], [791, 34422], [792, 34456], [793, 34460], [794, 34466], [795, 34468], [796, 34470], [797, 34474], [798, 34482], [799, 34488], [800, 34533], [801, 34534], [802, 34535], [803, 34573], [804, 34583], [805, 34643], [806, 34644], [807, 34645], [808, 34646], [809, 34647], [810, 34669], [811, 34671], [812, 34675], [813, 34679], [814, 34681], [815, 34683], [816, 34685], [817, 34687], [818, 34691], [819, 34699], [820, 34703], [821, 34750], [822, 34751], [823, 34752], [824, 34852], [825, 34853], [826, 34854], [827, 34874], [828, 34882], [829, 34884], [830, 34888], [831, 34894], [832, 34908], [833, 34910], [834, 34951], [835, 34952], [836, 34953], [837, 35047], [838, 35055], [839, 35067], [840, 35071], [841, 35073], [842, 35075], [843, 35077], [844, 35091], [845, 35135], [846, 35140], [847, 35210], [848, 35232], [849, 35248], [850, 35252], [851, 35256], [852, 35266], [853, 35270], [854, 35323], [855, 35413], [856, 35427], [857, 35431], [858, 35453], [859, 35455], [860, 35457], [861, 35502], [862, 35590], [863, 35608], [864, 35612], [865, 35616], [866, 35622], [867, 35632], [868, 35677], [869, 35763], [870, 35767], [871, 35775], [872, 35781], [873, 35785], [874, 35789], [875, 35797], [876, 35801], [877, 35848], [878, 35932], [879, 35950], [880, 35954], [881, 35962], [882, 35964], [883, 35970], [884, 36015], [885, 36097], [886, 36127], [887, 36143], [888, 36163], [889, 36178], [890, 36258], [891, 36316], [892, 36337], [893, 36413], [894, 36415], [895, 36421], [896, 36492], [897, 36528], [898, 36568], [899, 36578], [900, 36643], [901, 36717], [902, 36733], [903, 36790], [904, 36862], [905, 36886], [906, 36916], [907, 36933], [908, 37003], [909, 37015], [910, 37072], [911, 37140], [912, 37207], [913, 37208], [914, 37209], [915, 37273], [916, 37336], [917, 37398], [918, 37459], [919, 37519], [920, 37561], [921, 37578], [922, 37636], [923, 37693], [924, 37749], [925, 37759], [926, 37799], [927, 37804], [928, 37858], [929, 37859], [930, 37860], [931, 37911], [932, 37961], [933, 38010], [934, 38011], [935, 38012], [936, 38056], [937, 38058], [938, 38084], [939, 38103], [940, 38119], [941, 38147], [942, 38190], [943, 38232], [944, 38233], [945, 38234], [946, 38273], [947, 38274], [948, 38275], [949, 38276], [950, 38277], [951, 38309], [952, 38310], [953, 38311], [954, 38312], [955, 38313], [956, 38314], [957, 38315], [958, 38339], [959, 38340], [960, 38341], [961, 38342], [962, 38343], [963, 38344], [964, 38358], [965, 38359], [966, 38360], [967, 38361], [968, 38362], [969, 38363], [970, 38364], [971, 38365], [972, 38366], [973, 38367], [974, 38368], [975, 38369], [976, 38370], [977, 38371], [978, 38372], [979, 38373], [980, 38374], [981, 38375], [982, 38376], [983, 38377], [984, 38378], [985, 38427], [986, 38431], [987, 38472], [988, 38475], [989, 38522], [990, 38534], [991, 38568], [992, 38613], [993, 38657], [994, 38688], [995, 38701], [996, 38745], [997, 38788], [998, 38790], [999, 38830], [1000, 38871], [1001, 38878], [1002, 38912], [1003, 38953], [1004, 38993], [1005, 39032], [1006, 39069], [1007, 39070], [1008, 39108], [1009, 39146], [1010, 39168], [1011, 39183], [1012, 39186], [1013, 39220], [1014, 39257], [1015, 39267], [1016, 39291], [1017, 39293], [1018, 39328], [1019, 39333], [1020, 39363], [1021, 39398], [1022, 39430], [1023, 39432], [1024, 39466], [1025, 39500], [1026, 39533], [1027, 39536], [1028, 39544], [1029, 39554], [1030, 39566], [1031, 39599], [1032, 39631], [1033, 39663], [1034, 39693], [1035, 39695], [1036, 39726], [1037, 39747], [1038, 39757], [1039, 39788], [1040, 39790], [1041, 39818], [1042, 39848], [1043, 39854], [1044, 39870], [1045, 39876], [1046, 39878], [1047, 39907], [1048, 39910], [1049, 39920], [1050, 39936], [1051, 39965], [1052, 39971], [1053, 39985], [1054, 39993], [1055, 40021], [1056, 40023], [1057, 40033], [1058, 40037], [1059, 40049], [1060, 40074], [1061, 40077], [1062, 40105], [1063, 40125], [1064, 40132], [1065, 40135], [1066, 40137], [1067, 40159], [1068, 40174], [1069, 40177], [1070, 40183], [1071, 40186], [1072, 40189], [1073, 40193], [1074, 40198], [1075, 40213], [1076, 40240], [1077, 40267], [1078, 40283], [1079, 40285], [1080, 40294], [1081, 40296], [1082, 40320], [1083, 40343], [1084, 40346], [1085, 40348], [1086, 40372], [1087, 40379], [1088, 40387], [1089, 40398], [1090, 40424], [1091, 40441], [1092, 40450], [1093, 40452], [1094, 40458], [1095, 40476], [1096, 40502], [1097, 40506], [1098, 40528], [1099, 40553], [1100, 40554], [1101, 40556], [1102, 40580], [1103, 40595], [1104, 40606], [1105, 40610], [1106, 40614], [1107, 40632], [1108, 40658], [1109, 40660], [1110, 40684], [1111, 40699], [1112, 40707], [1113, 40710], [1114, 40736], [1115, 40748], [1116, 40754], [1117, 40763], [1118, 40766], [1119, 40768], [1120, 40790], [1121, 40810], [1122, 40817], [1123, 40828], [1124, 40844], [1125, 40862], [1126, 40871], [1127, 40872], [1128, 40886], [1129, 40898], [1130, 40925], [1131, 40927], [1132, 40931], [1133, 40953], [1134, 40977], [1135, 40981], [1136, 40983], [1137, 40993], [1138, 41001], [1139, 41009], [1140, 41037], [1141, 41065], [1142, 41094], [1143, 41095], [1144, 41099], [1145, 41123], [1146, 41152], [1147, 41166], [1148, 41182], [1149, 41212], [1150, 41214], [1151, 41234], [1152, 41240], [1153, 41242], [1154, 41273], [1155, 41280], [1156, 41304], [1157, 41335], [1158, 41367], [1159, 41384], [1160, 41399], [1161, 41403], [1162, 41431], [1163, 41464], [1164, 41493], [1165, 41497], [1166, 41530], [1167, 41534], [1168, 41538], [1169, 41564], [1170, 41583], [1171, 41598], [1172, 41632], [1173, 41667], [1174, 41700], [1175, 41702], [1176, 41737], [1177, 41773], [1178, 41810], [1179, 41817], [1180, 41821], [1181, 41847], [1182, 41884], [1183, 41922], [1184, 41949], [1185, 41960], [1186, 41962], [1187, 41998], [1188, 42034], [1189, 42037], [1190, 42077], [1191, 42118], [1192, 42133], [1193, 42159], [1194, 42200], [1195, 42242], [1196, 42282], [1197, 42285], [1198, 42329], [1199, 42362], [1200, 42373], [1201, 42379], [1202, 42417], [1203, 42462], [1204, 42508], [1205, 42555], [1206, 42567], [1207, 42603], [1208, 42670], [1209, 42760], [1210, 42836], [1211, 42868], [1212, 42879], [1213, 42976], [1214, 43084], [1215, 43191], [1216, 43253], [1217, 43297], [1218, 43334], [1219, 43402], [1220, 43506], [1221, 43607], [1222, 43610], [1223, 43714], [1224, 43767], [1225, 43817], [1226, 43919], [1227, 43938], [1228, 43980], [1229, 44020], [1230, 44056], [1231, 44108], [1232, 44120], [1233, 44219], [1234, 44311], [1235, 44317], [1236, 44414], [1237, 44442], [1238, 44494], [1239, 44510], [1240, 44555], [1241, 44563], [1242, 44575], [1243, 44605], [1244, 44699], [1245, 44712], [1246, 44792], [1247, 44878], [1248, 44884], [1249, 44975], [1250, 45033], [1251, 45065], [1252, 45136], [1253, 45154], [1254, 45179], [1255, 45242], [1256, 45291], [1257, 45305], [1258, 45329], [1259, 45409], [1260, 45415], [1261, 45468], [1262, 45500], [1263, 45584], [1264, 45625], [1265, 45660], [1266, 45667], [1267, 45683], [1268, 45689], [1269, 45749], [1270, 45822], [1271, 45830], [1272, 45840], [1273, 45876], [1274, 45910], [1275, 45969], [1276, 45979], [1277, 45989], [1278, 46015], [1279, 46067], [1280, 46144], [1281, 46220], [1282, 46227], [1283, 46285], [1284, 46295], [1285, 46313], [1286, 46369], [1287, 46438], [1288, 46442], [1289, 46514], [1290, 46561], [1291, 46573], [1292, 46585], [1293, 46617], [1294, 46647], [1295, 46655], [1296, 46658], [1297, 46722], [1298, 46724], [1299, 46742], [1300, 46746], [1301, 46762], [1302, 46792], [1303, 46843], [1304, 46853], [1305, 46859], [1306, 46871], [1307, 46901], [1308, 46925], [1309, 46990], [1310, 47000], [1311, 47004], [1312, 47048], [1313, 47055], [1314, 47118], [1315, 47120], [1316, 47128], [1317, 47132], [1318, 47144], [1319, 47168], [1320, 47185], [1321, 47246], [1322, 47250], [1323, 47256], [1324, 47260], [1325, 47266], [1326, 47272], [1327, 47286], [1328, 47315], [1329, 47378], [1330, 47380], [1331, 47384], [1332, 47392], [1333, 47394], [1334, 47412], [1335, 47422], [1336, 47434], [1337, 47445], [1338, 47510], [1339, 47515], [1340, 47518], [1341, 47520], [1342, 47526], [1343, 47562], [1344, 47575], [1345, 47578], [1346, 47634], [1347, 47640], [1348, 47646], [1349, 47650], [1350, 47652], [1351, 47654], [1352, 47662], [1353, 47676], [1354, 47705], [1355, 47708], [1356, 47760], [1357, 47770], [1358, 47778], [1359, 47780], [1360, 47786], [1361, 47802], [1362, 47808], [1363, 47816], [1364, 47835], [1365, 47836], [1366, 47840], [1367, 47888], [1368, 47897], [1369, 47900], [1370, 47912], [1371, 47914], [1372, 47922], [1373, 47965], [1374, 47968], [1375, 48028], [1376, 48030], [1377, 48035], [1378, 48038], [1379, 48040], [1380, 48046], [1381, 48078], [1382, 48095], [1383, 48098], [1384, 48152], [1385, 48160], [1386, 48166], [1387, 48168], [1388, 48170], [1389, 48172], [1390, 48174], [1391, 48186], [1392, 48194], [1393, 48202], [1394, 48225], [1395, 48279], [1396, 48290], [1397, 48294], [1398, 48298], [1399, 48306], [1400, 48312], [1401, 48326], [1402, 48354], [1403, 48355], [1404, 48420], [1405, 48434], [1406, 48468], [1407, 48485], [1408, 48546], [1409, 48548], [1410, 48550], [1411, 48554], [1412, 48556], [1413, 48558], [1414, 48560], [1415, 48562], [1416, 48572], [1417, 48590], [1418, 48604], [1419, 48615], [1420, 48616], [1421, 48680], [1422, 48694], [1423, 48698], [1424, 48716], [1425, 48724], [1426, 48745], [1427, 48753], [1428, 48810], [1429, 48822], [1430, 48828], [1431, 48870], [1432, 48872], [1433, 48875], [1434, 48940], [1435, 48950], [1436, 48962], [1437, 48976], [1438, 49006], [1439, 49061], [1440, 49068], [1441, 49073], [1442, 49123], [1443, 49139], [1444, 49141], [1445, 49146], [1446, 49210], [1447, 49256], [1448, 49270], [1449, 49280], [1450, 49347], [1451, 49351], [1452, 49373], [1453, 49383], [1454, 49393], [1455, 49423], [1456, 49430], [1457, 49486], [1458, 49496], [1459, 49498], [1460, 49570], [1461, 49621], [1462, 49639], [1463, 49641], [1464, 49645], [1465, 49721], [1466, 49780], [1467, 49798], [1468, 49814], [1469, 49820], [1470, 49876], [1471, 49949], [1472, 49955], [1473, 49983], [1474, 50019], [1475, 50035], [1476, 50044], [1477, 50116], [1478, 50158], [1479, 50172], [1480, 50192], [1481, 50198], [1482, 50245], [1483, 50249], [1484, 50281], [1485, 50347], [1486, 50365], [1487, 50450], [1488, 50530], [1489, 50536], [1490, 50547], [1491, 50623], [1492, 50647], [1493, 50655], [1494, 50707], [1495, 50711], [1496, 50800], [1497, 50868], [1498, 50874], [1499, 50890], [1500, 50939], [1501, 50953], [1502, 50981], [1503, 51073], [1504, 51132], [1505, 51166], [1506, 51246], [1507, 51256], [1508, 51260], [1509, 51275], [1510, 51286], [1511, 51294], [1512, 51355], [1513, 51451], [1514, 51548], [1515, 51602], [1516, 51646], [1517, 51715], [1518, 51745], [1519, 51845], [1520, 51946], [1521, 52026], [1522, 52032], [1523, 52040], [1524, 52048], [1525, 52077], [1526, 52151], [1527, 52255], [1528, 52314], [1529, 52356], [1530, 52359], [1531, 52463], [1532, 52480], [1533, 52530], [1534, 52568], [1535, 52630], [1536, 52674], [1537, 52781], [1538, 52788], [1539, 52889], [1540, 52918], [1541, 52997], [1542, 53035], [1543, 53105], [1544, 53214]] simple_tri = [[3, 691, 8], [688, 1, 2], [7, 691, 988], [692, 3, 1], [687, 2, 5], [687, 5, 1213], [1, 3, 6], [2, 1, 4], [1, 6, 4], [2, 4, 5], [691, 7, 14], [14, 10, 691], [3, 9, 6], [1213, 5, 20], [691, 10, 8], [4, 12, 5], [1007, 7, 988], [3, 8, 15], [10, 14, 18], [3, 15, 9], [4, 6, 11], [4, 11, 12], [15, 13, 9], [9, 13, 16], [9, 16, 6], [1007, 21, 7], [16, 17, 6], [6, 17, 11], [11, 17, 19], [11, 19, 12], [12, 31, 5], [1007, 1017, 21], [8, 10, 15], [5, 31, 20], [7, 21, 14], [13, 25, 16], [17, 16, 26], [17, 22, 19], [18, 27, 10], [15, 10, 23], [12, 19, 31], [27, 29, 10], [13, 15, 24], [13, 24, 25], [16, 25, 26], [21, 28, 14], [10, 29, 23], [18, 14, 30], [18, 30, 27], [17, 26, 22], [24, 35, 25], [19, 22, 32], [28, 30, 14], [23, 33, 15], [26, 34, 22], [22, 36, 32], [29, 38, 23], [15, 33, 24], [22, 34, 36], [30, 37, 27], [27, 37, 29], [23, 38, 33], [24, 33, 45], [19, 32, 31], [31, 1283, 20], [28, 1035, 44], [28, 44, 30], [25, 35, 26], [26, 35, 34], [31, 32, 39], [29, 37, 42], [44, 41, 30], [30, 41, 37], [24, 50, 35], [32, 36, 48], [32, 40, 39], [39, 1283, 31], [35, 46, 34], [34, 46, 43], [34, 43, 36], [32, 48, 40], [29, 42, 38], [45, 50, 24], [39, 59, 1283], [37, 41, 52], [42, 47, 38], [38, 47, 33], [35, 51, 46], [36, 43, 48], [1035, 1046, 44], [35, 50, 51], [40, 49, 53], [40, 53, 39], [39, 53, 54], [39, 54, 59], [44, 55, 41], [48, 49, 40], [42, 37, 52], [42, 52, 47], [43, 46, 58], [59, 54, 63], [41, 65, 52], [47, 66, 67], [51, 57, 46], [52, 66, 47], [47, 67, 33], [33, 67, 45], [45, 60, 50], [57, 69, 46], [43, 58, 62], [43, 62, 48], [48, 62, 49], [55, 65, 41], [50, 60, 68], [56, 57, 51], [58, 46, 77], [52, 64, 66], [50, 68, 51], [51, 68, 56], [56, 61, 57], [52, 65, 64], [45, 67, 60], [69, 77, 46], [58, 78, 62], [49, 74, 53], [53, 101, 54], [65, 55, 88], [68, 60, 91], [56, 71, 61], [61, 76, 57], [77, 78, 58], [49, 62, 80], [49, 80, 74], [53, 74, 85], [64, 89, 75], [64, 75, 66], [62, 79, 80], [53, 85, 101], [101, 63, 54], [64, 65, 89], [66, 90, 67], [68, 98, 56], [71, 93, 61], [61, 94, 76], [74, 72, 70], [70, 73, 74], [66, 75, 90], [60, 67, 91], [98, 71, 56], [61, 93, 94], [76, 104, 57], [57, 104, 69], [77, 69, 109], [62, 78, 79], [74, 80, 81], [74, 81, 72], [73, 82, 74], [74, 82, 83], [74, 84, 85], [74, 83, 84], [85, 121, 101], [55, 1061, 88], [93, 71, 92], [69, 104, 132], [80, 86, 81], [84, 87, 85], [65, 88, 89], [67, 90, 91], [69, 132, 109], [80, 95, 86], [87, 96, 85], [85, 96, 108], [71, 98, 123], [71, 128, 92], [94, 103, 76], [78, 77, 105], [79, 78, 148], [95, 80, 99], [96, 100, 108], [63, 101, 112], [63, 112, 97], [71, 123, 128], [92, 102, 93], [93, 102, 94], [94, 102, 115], [94, 115, 103], [76, 103, 104], [80, 106, 99], [100, 107, 108], [1061, 1071, 122], [1061, 122, 88], [88, 122, 89], [89, 122, 113], [89, 113, 75], [75, 114, 90], [90, 114, 91], [91, 142, 68], [103, 118, 104], [78, 105, 148], [80, 79, 149], [80, 149, 106], [106, 149, 110], [107, 111, 108], [112, 127, 97], [75, 113, 114], [91, 114, 142], [68, 142, 98], [115, 116, 103], [103, 116, 117], [103, 117, 118], [104, 118, 132], [79, 148, 149], [149, 119, 110], [111, 120, 108], [85, 108, 121], [1071, 159, 122], [113, 122, 141], [113, 141, 114], [114, 161, 142], [92, 128, 102], [102, 129, 115], [115, 130, 116], [116, 130, 124], [116, 124, 117], [77, 109, 105], [119, 149, 125], [120, 135, 108], [120, 126, 135], [108, 135, 121], [101, 121, 153], [101, 153, 112], [115, 129, 144], [115, 144, 130], [124, 130, 131], [124, 131, 117], [117, 131, 137], [117, 137, 118], [105, 183, 148], [149, 133, 125], [126, 134, 135], [153, 140, 112], [112, 140, 127], [122, 159, 141], [141, 161, 114], [142, 162, 98], [98, 162, 123], [123, 162, 143], [123, 143, 128], [128, 143, 102], [102, 164, 129], [130, 136, 131], [109, 183, 105], [109, 169, 183], [133, 149, 138], [134, 139, 135], [135, 152, 121], [143, 164, 102], [144, 145, 130], [130, 145, 136], [136, 146, 131], [136, 145, 146], [131, 146, 137], [137, 146, 147], [137, 147, 118], [118, 147, 132], [132, 147, 167], [132, 167, 168], [132, 168, 109], [109, 168, 169], [149, 150, 138], [139, 151, 135], [135, 151, 152], [121, 152, 153], [141, 160, 161], [162, 163, 143], [144, 165, 145], [145, 165, 154], [145, 154, 146], [146, 154, 166], [146, 155, 147], [146, 166, 155], [147, 155, 167], [150, 149, 156], [151, 157, 152], [153, 158, 140], [140, 174, 127], [141, 159, 160], [142, 161, 162], [143, 163, 164], [129, 165, 144], [154, 165, 166], [155, 166, 167], [149, 170, 156], [157, 171, 152], [152, 171, 186], [186, 187, 152], [152, 187, 153], [163, 176, 177], [163, 177, 164], [164, 177, 178], [164, 178, 179], [164, 179, 129], [129, 179, 165], [165, 179, 180], [165, 181, 166], [166, 181, 167], [167, 181, 182], [167, 182, 168], [148, 198, 149], [170, 149, 172], [171, 173, 186], [1100, 206, 159], [161, 160, 191], [161, 191, 175], [161, 175, 162], [162, 175, 176], [162, 176, 163], [165, 180, 181], [149, 184, 172], [173, 185, 186], [187, 201, 153], [153, 201, 158], [158, 202, 140], [140, 202, 205], [140, 205, 174], [159, 190, 160], [159, 206, 190], [160, 190, 191], [175, 191, 192], [175, 192, 176], [176, 192, 193], [176, 193, 194], [176, 194, 177], [177, 194, 178], [181, 197, 182], [168, 231, 169], [148, 183, 198], [198, 232, 149], [149, 232, 184], [184, 232, 188], [185, 189, 186], [178, 194, 195], [178, 195, 196], [178, 196, 179], [179, 196, 197], [179, 197, 180], [180, 197, 181], [183, 169, 250], [232, 199, 188], [189, 200, 186], [158, 201, 202], [206, 207, 190], [190, 208, 191], [193, 192, 210], [193, 210, 194], [194, 212, 195], [195, 212, 196], [197, 215, 182], [199, 232, 203], [200, 219, 186], [200, 204, 219], [186, 219, 187], [174, 205, 1366], [190, 207, 208], [191, 208, 209], [191, 209, 192], [192, 209, 210], [194, 210, 211], [194, 211, 212], [212, 213, 196], [196, 213, 197], [197, 213, 214], [197, 214, 215], [182, 215, 168], [168, 215, 231], [231, 249, 169], [183, 250, 216], [183, 216, 198], [232, 217, 203], [204, 218, 219], [187, 219, 201], [202, 240, 205], [205, 241, 1366], [210, 224, 211], [169, 249, 250], [217, 232, 220], [218, 221, 219], [201, 235, 202], [202, 235, 240], [207, 242, 208], [209, 208, 222], [209, 222, 223], [209, 223, 210], [210, 223, 224], [211, 224, 225], [211, 225, 212], [212, 225, 226], [212, 226, 213], [213, 226, 227], [213, 227, 214], [214, 228, 229], [214, 229, 215], [215, 229, 230], [232, 233, 220], [221, 234, 219], [219, 253, 201], [201, 253, 235], [240, 241, 205], [206, 284, 207], [208, 242, 222], [222, 243, 223], [223, 244, 224], [224, 244, 225], [214, 227, 245], [214, 245, 228], [228, 236, 229], [229, 237, 230], [215, 230, 231], [233, 232, 238], [234, 265, 219], [234, 239, 265], [207, 255, 242], [222, 242, 243], [228, 245, 246], [228, 246, 236], [236, 247, 229], [236, 246, 247], [229, 247, 237], [237, 248, 230], [237, 247, 248], [230, 248, 231], [232, 251, 238], [239, 252, 265], [219, 265, 253], [235, 253, 254], [226, 225, 288], [245, 227, 289], [246, 245, 260], [246, 260, 256], [246, 256, 247], [247, 256, 261], [247, 261, 257], [247, 257, 248], [248, 262, 231], [231, 262, 268], [249, 291, 250], [216, 269, 198], [251, 232, 258], [252, 259, 265], [235, 272, 240], [235, 254, 272], [240, 272, 241], [207, 285, 255], [207, 284, 285], [255, 273, 242], [242, 273, 287], [242, 287, 243], [223, 243, 274], [223, 274, 244], [225, 244, 288], [226, 288, 227], [245, 289, 260], [256, 260, 261], [257, 262, 248], [231, 268, 249], [249, 268, 291], [232, 263, 258], [232, 292, 263], [259, 264, 265], [265, 279, 253], [253, 279, 254], [241, 272, 266], [206, 1113, 284], [284, 306, 285], [227, 288, 289], [260, 267, 261], [261, 267, 276], [261, 276, 257], [257, 276, 262], [262, 280, 268], [250, 291, 216], [216, 291, 269], [198, 269, 323], [198, 323, 232], [263, 292, 270], [264, 271, 265], [254, 279, 272], [255, 285, 273], [274, 314, 244], [289, 275, 260], [260, 275, 267], [267, 275, 276], [232, 323, 292], [292, 277, 270], [271, 278, 265], [265, 278, 295], [265, 295, 279], [273, 307, 287], [275, 290, 276], [276, 280, 262], [280, 300, 268], [277, 292, 281], [278, 282, 295], [279, 283, 272], [272, 283, 266], [285, 286, 273], [273, 286, 307], [243, 308, 274], [244, 314, 288], [275, 289, 290], [276, 290, 280], [268, 309, 291], [292, 293, 281], [282, 294, 295], [295, 303, 279], [279, 303, 283], [286, 319, 307], [287, 307, 321], [287, 321, 243], [289, 298, 290], [290, 299, 280], [280, 299, 300], [291, 322, 269], [293, 292, 296], [294, 297, 332], [294, 332, 295], [266, 283, 1421], [284, 318, 306], [274, 308, 314], [289, 288, 298], [290, 298, 299], [292, 301, 296], [297, 302, 332], [283, 313, 1421], [285, 306, 286], [286, 306, 333], [307, 320, 321], [243, 321, 308], [288, 314, 337], [288, 337, 298], [268, 300, 309], [323, 324, 292], [301, 292, 304], [302, 305, 332], [283, 303, 313], [286, 333, 319], [308, 330, 314], [291, 309, 322], [292, 310, 304], [305, 312, 332], [295, 332, 303], [319, 336, 307], [319, 335, 336], [299, 298, 338], [300, 339, 309], [309, 345, 322], [269, 322, 323], [292, 324, 315], [292, 315, 310], [311, 316, 327], [311, 327, 317], [312, 317, 327], [312, 327, 332], [1421, 313, 342], [299, 339, 300], [315, 324, 325], [316, 326, 327], [307, 336, 320], [321, 329, 308], [308, 329, 330], [314, 330, 337], [299, 338, 339], [325, 324, 328], [326, 328, 341], [326, 341, 327], [303, 334, 313], [306, 318, 340], [306, 340, 333], [319, 333, 335], [320, 329, 321], [298, 337, 338], [322, 331, 323], [328, 324, 341], [332, 334, 303], [320, 336, 349], [320, 349, 329], [322, 345, 331], [327, 354, 332], [318, 347, 340], [340, 348, 333], [339, 345, 309], [331, 352, 323], [323, 341, 324], [327, 341, 354], [335, 353, 336], [329, 350, 330], [337, 330, 343], [337, 343, 338], [338, 344, 339], [331, 351, 352], [323, 352, 341], [313, 346, 342], [329, 349, 350], [343, 344, 338], [332, 346, 334], [334, 346, 313], [333, 348, 335], [335, 348, 353], [331, 345, 351], [330, 350, 343], [343, 356, 344], [339, 344, 345], [341, 352, 354], [354, 346, 332], [348, 340, 359], [353, 355, 336], [343, 350, 356], [345, 357, 351], [340, 347, 359], [344, 357, 345], [348, 359, 365], [349, 336, 368], [351, 354, 352], [346, 1460, 342], [348, 365, 360], [348, 360, 353], [336, 355, 368], [351, 357, 361], [1153, 364, 347], [344, 356, 357], [351, 361, 354], [346, 354, 362], [347, 364, 359], [360, 366, 353], [350, 349, 374], [356, 369, 357], [361, 362, 354], [346, 362, 1460], [358, 364, 1153], [353, 367, 355], [353, 366, 367], [355, 367, 368], [349, 368, 374], [350, 371, 356], [357, 369, 361], [1460, 362, 363], [364, 370, 359], [359, 370, 365], [356, 371, 369], [362, 372, 363], [367, 373, 368], [361, 377, 362], [358, 378, 364], [360, 376, 366], [365, 376, 360], [366, 376, 367], [350, 374, 371], [1477, 363, 384], [1477, 384, 1491], [358, 1175, 378], [371, 375, 369], [369, 375, 361], [363, 372, 384], [376, 379, 367], [375, 377, 361], [378, 385, 364], [364, 385, 382], [364, 382, 370], [365, 370, 382], [368, 380, 374], [374, 380, 371], [371, 381, 375], [367, 379, 373], [368, 373, 386], [380, 381, 371], [375, 381, 377], [377, 390, 362], [362, 390, 372], [382, 391, 365], [365, 391, 376], [368, 386, 380], [381, 383, 377], [378, 1175, 388], [378, 388, 385], [376, 391, 379], [379, 389, 373], [383, 390, 377], [380, 387, 381], [386, 387, 380], [373, 389, 386], [381, 392, 383], [390, 384, 372], [381, 387, 392], [379, 391, 389], [388, 397, 385], [387, 393, 392], [383, 395, 390], [391, 694, 389], [386, 389, 393], [386, 393, 387], [390, 395, 394], [390, 394, 384], [1491, 384, 1539], [385, 397, 382], [392, 395, 383], [382, 397, 391], [393, 396, 392], [392, 396, 395], [384, 394, 1539], [1197, 697, 388], [388, 697, 397], [389, 694, 393], [393, 693, 396], [391, 397, 694], [395, 398, 394], [396, 696, 395], [394, 398, 1539], [694, 693, 393], [395, 696, 398], [399, 414, 440], [399, 440, 400], [400, 440, 401], [401, 440, 402], [402, 440, 403], [403, 440, 404], [404, 440, 405], [405, 440, 406], [406, 440, 407], [407, 440, 408], [408, 440, 409], [409, 440, 443], [409, 443, 410], [410, 443, 411], [411, 443, 415], [412, 426, 445], [412, 445, 413], [413, 445, 414], [414, 445, 440], [415, 443, 416], [416, 443, 417], [417, 443, 418], [418, 443, 419], [419, 443, 420], [420, 443, 421], [421, 443, 427], [422, 434, 445], [422, 445, 423], [423, 445, 424], [424, 445, 425], [425, 445, 426], [427, 443, 428], [428, 443, 429], [429, 443, 435], [430, 439, 456], [430, 456, 431], [431, 456, 432], [432, 456, 433], [433, 456, 434], [434, 456, 445], [440, 445, 457], [435, 447, 436], [435, 443, 447], [437, 441, 456], [437, 456, 438], [438, 456, 439], [441, 442, 456], [442, 444, 456], [440, 457, 443], [444, 446, 456], [446, 450, 456], [448, 451, 456], [448, 456, 449], [449, 456, 450], [456, 469, 445], [445, 469, 457], [451, 452, 456], [443, 457, 447], [447, 457, 460], [452, 455, 456], [453, 458, 479], [453, 479, 454], [454, 479, 455], [455, 479, 456], [458, 459, 479], [459, 461, 479], [461, 462, 479], [457, 469, 470], [457, 475, 460], [460, 475, 477], [462, 463, 479], [463, 464, 479], [464, 465, 479], [460, 477, 1232], [465, 466, 479], [466, 467, 482], [466, 482, 479], [456, 479, 469], [457, 470, 475], [467, 468, 482], [468, 473, 482], [471, 474, 482], [471, 482, 472], [472, 482, 473], [474, 476, 482], [469, 487, 470], [475, 492, 477], [476, 478, 482], [479, 487, 469], [478, 480, 489], [478, 489, 482], [482, 489, 479], [479, 485, 487], [480, 481, 489], [481, 483, 489], [489, 485, 479], [477, 492, 1211], [483, 484, 489], [484, 486, 489], [487, 507, 470], [486, 488, 489], [488, 490, 489], [489, 504, 485], [485, 498, 487], [490, 491, 489], [489, 495, 504], [504, 498, 485], [470, 492, 475], [491, 493, 502], [491, 502, 489], [504, 495, 503], [493, 494, 502], [470, 507, 500], [494, 496, 502], [496, 497, 502], [489, 502, 495], [498, 507, 487], [470, 500, 604], [497, 499, 502], [502, 503, 495], [504, 505, 498], [498, 506, 507], [499, 501, 502], [503, 517, 504], [498, 505, 506], [507, 521, 500], [492, 523, 1211], [501, 508, 502], [503, 526, 517], [517, 510, 504], [504, 512, 505], [506, 505, 513], [506, 514, 507], [508, 509, 502], [502, 525, 503], [504, 510, 511], [504, 511, 512], [505, 512, 513], [506, 513, 514], [514, 521, 507], [509, 515, 538], [509, 538, 502], [503, 525, 526], [511, 510, 519], [521, 529, 500], [515, 516, 538], [517, 518, 510], [510, 518, 519], [511, 519, 512], [512, 519, 520], [512, 520, 513], [513, 527, 514], [529, 530, 500], [500, 530, 604], [516, 522, 538], [520, 527, 513], [514, 528, 521], [470, 604, 492], [522, 524, 538], [514, 527, 528], [521, 528, 529], [523, 1217, 1211], [524, 531, 538], [502, 538, 525], [525, 533, 526], [526, 533, 534], [526, 534, 517], [517, 534, 518], [519, 518, 542], [519, 542, 520], [520, 542, 543], [520, 543, 527], [529, 558, 530], [531, 532, 538], [525, 539, 533], [527, 543, 535], [527, 535, 528], [528, 535, 544], [528, 544, 545], [528, 545, 529], [532, 536, 538], [518, 540, 541], [518, 541, 542], [529, 545, 558], [536, 537, 538], [538, 539, 525], [533, 539, 552], [533, 552, 534], [518, 534, 540], [545, 544, 557], [537, 548, 612], [537, 612, 538], [534, 553, 540], [540, 554, 541], [542, 541, 555], [543, 573, 556], [543, 556, 535], [545, 575, 558], [546, 551, 612], [546, 612, 547], [547, 612, 548], [539, 568, 552], [534, 552, 553], [540, 553, 554], [542, 555, 543], [545, 557, 575], [530, 558, 604], [604, 523, 492], [549, 561, 583], [549, 583, 550], [550, 583, 551], [551, 583, 612], [538, 567, 539], [539, 567, 568], [552, 569, 553], [553, 569, 570], [553, 570, 554], [554, 571, 541], [541, 571, 555], [555, 572, 543], [543, 572, 573], [556, 574, 535], [535, 574, 544], [559, 566, 583], [559, 583, 560], [560, 583, 561], [552, 568, 584], [552, 584, 569], [570, 571, 554], [555, 571, 572], [544, 574, 557], [562, 578, 611], [562, 611, 563], [563, 611, 564], [564, 611, 565], [565, 611, 566], [566, 611, 583], [538, 612, 613], [538, 613, 567], [568, 567, 614], [568, 596, 584], [584, 585, 569], [569, 585, 570], [570, 585, 586], [570, 586, 571], [572, 588, 573], [573, 588, 579], [573, 594, 556], [556, 594, 574], [574, 589, 557], [557, 589, 603], [557, 603, 575], [558, 575, 604], [576, 582, 611], [576, 611, 577], [577, 611, 578], [568, 614, 596], [571, 586, 587], [587, 593, 571], [571, 593, 572], [572, 593, 588], [579, 594, 573], [574, 594, 602], [574, 602, 589], [604, 655, 523], [580, 592, 611], [580, 611, 581], [581, 611, 582], [614, 615, 596], [584, 597, 585], [585, 617, 586], [593, 599, 588], [588, 599, 600], [588, 600, 579], [579, 600, 601], [579, 601, 594], [594, 601, 622], [575, 641, 604], [590, 595, 611], [590, 611, 591], [591, 611, 592], [613, 614, 567], [584, 596, 597], [597, 617, 585], [586, 598, 587], [587, 598, 593], [593, 598, 599], [594, 622, 602], [603, 641, 575], [595, 607, 643], [595, 643, 611], [596, 616, 597], [598, 618, 599], [599, 620, 600], [600, 620, 601], [601, 621, 622], [602, 622, 632], [523, 658, 1217], [605, 610, 643], [605, 643, 606], [606, 643, 607], [596, 615, 616], [597, 616, 617], [586, 617, 598], [598, 617, 618], [618, 619, 599], [599, 619, 620], [601, 620, 621], [608, 623, 643], [608, 643, 609], [609, 643, 610], [611, 643, 650], [611, 650, 583], [614, 613, 642], [616, 627, 617], [617, 628, 618], [618, 628, 619], [619, 629, 620], [620, 629, 621], [621, 629, 630], [622, 621, 631], [622, 631, 632], [602, 632, 640], [602, 640, 589], [603, 589, 648], [603, 648, 641], [623, 626, 643], [614, 642, 635], [614, 635, 615], [616, 615, 627], [617, 627, 628], [619, 628, 629], [621, 630, 631], [589, 640, 648], [523, 655, 658], [624, 634, 643], [624, 643, 625], [625, 643, 626], [615, 636, 627], [627, 636, 628], [629, 628, 645], [629, 645, 637], [629, 637, 630], [630, 638, 631], [640, 647, 648], [604, 641, 655], [633, 987, 634], [634, 987, 643], [628, 636, 644], [630, 637, 638], [631, 638, 639], [631, 639, 632], [613, 612, 642], [628, 644, 645], [645, 646, 637], [638, 646, 639], [632, 639, 647], [632, 647, 640], [641, 648, 655], [642, 652, 635], [615, 635, 636], [636, 635, 644], [637, 646, 638], [987, 659, 643], [612, 583, 651], [612, 651, 642], [644, 635, 656], [644, 656, 649], [644, 649, 645], [646, 654, 639], [642, 651, 652], [645, 649, 653], [645, 653, 646], [646, 653, 654], [639, 654, 647], [647, 654, 648], [583, 660, 651], [652, 651, 635], [635, 651, 656], [649, 657, 653], [643, 659, 650], [583, 650, 660], [649, 656, 664], [649, 664, 657], [653, 657, 654], [654, 662, 648], [655, 668, 658], [651, 661, 656], [656, 661, 664], [654, 657, 662], [648, 663, 655], [651, 660, 661], [648, 662, 663], [659, 671, 650], [650, 671, 660], [657, 664, 665], [657, 665, 662], [662, 665, 663], [655, 663, 668], [660, 667, 661], [661, 667, 664], [659, 677, 671], [658, 672, 1219], [671, 669, 660], [660, 666, 667], [665, 670, 663], [660, 669, 666], [664, 667, 665], [663, 670, 676], [658, 668, 672], [666, 673, 667], [667, 673, 665], [663, 676, 668], [666, 669, 678], [666, 678, 673], [665, 673, 670], [673, 675, 670], [671, 674, 669], [669, 674, 678], [670, 680, 676], [672, 668, 681], [675, 680, 670], [681, 1209, 672], [678, 679, 673], [680, 684, 676], [671, 677, 674], [673, 679, 675], [668, 676, 681], [677, 682, 674], [678, 683, 679], [679, 686, 675], [675, 686, 680], [676, 684, 681], [678, 674, 683], [995, 988, 677], [682, 683, 674], [683, 686, 679], [677, 988, 682], [683, 689, 686], [684, 687, 681], [681, 1213, 1209], [682, 689, 683], [682, 685, 689], [680, 686, 688], [680, 688, 684], [684, 688, 690], [681, 687, 1213], [685, 692, 689], [682, 988, 685], [685, 988, 691], [684, 690, 687], [685, 691, 692], [689, 1, 686], [686, 1, 688], [691, 3, 692], [688, 2, 690], [690, 2, 687], [689, 692, 1], [396, 693, 695], [398, 699, 1539], [694, 397, 697], [396, 695, 696], [398, 696, 699], [697, 698, 694], [694, 698, 693], [693, 698, 695], [696, 701, 699], [697, 1197, 702], [698, 700, 695], [695, 703, 696], [697, 702, 698], [695, 705, 703], [703, 701, 696], [701, 706, 699], [1539, 699, 1533], [702, 700, 698], [700, 705, 695], [1197, 1200, 702], [700, 702, 704], [700, 704, 705], [706, 707, 699], [699, 707, 1533], [701, 710, 706], [1200, 709, 702], [703, 705, 708], [703, 708, 701], [702, 709, 704], [701, 708, 710], [1533, 707, 1541], [710, 711, 706], [705, 704, 715], [705, 714, 708], [708, 714, 717], [708, 717, 710], [709, 1207, 712], [709, 713, 704], [715, 714, 705], [706, 711, 716], [706, 716, 707], [704, 713, 715], [710, 717, 711], [716, 1541, 707], [709, 712, 713], [715, 718, 714], [712, 719, 713], [718, 722, 714], [717, 720, 711], [716, 1543, 1541], [713, 719, 715], [712, 1207, 719], [719, 718, 715], [714, 722, 717], [722, 723, 717], [717, 723, 720], [711, 720, 716], [1207, 724, 719], [718, 725, 721], [718, 721, 722], [719, 725, 718], [716, 745, 1543], [725, 726, 721], [721, 727, 722], [723, 728, 720], [720, 750, 716], [1207, 733, 724], [719, 754, 725], [721, 726, 727], [722, 731, 723], [723, 731, 728], [754, 734, 725], [727, 730, 722], [722, 730, 735], [728, 731, 732], [725, 734, 726], [726, 729, 727], [722, 735, 731], [720, 728, 738], [720, 738, 750], [716, 750, 745], [726, 734, 739], [731, 736, 737], [731, 737, 732], [728, 732, 743], [724, 733, 748], [724, 740, 719], [726, 739, 729], [729, 730, 727], [735, 736, 731], [732, 737, 742], [728, 743, 738], [724, 748, 740], [740, 754, 719], [730, 741, 735], [736, 749, 737], [743, 761, 738], [738, 744, 750], [739, 755, 729], [729, 755, 730], [742, 760, 732], [732, 760, 743], [733, 746, 747], [730, 755, 766], [730, 766, 741], [741, 756, 735], [735, 756, 736], [736, 756, 757], [736, 757, 749], [737, 749, 758], [737, 758, 759], [737, 759, 742], [738, 761, 744], [750, 846, 745], [747, 751, 733], [733, 751, 752], [733, 753, 748], [733, 752, 753], [741, 767, 756], [749, 757, 758], [742, 759, 760], [760, 786, 743], [743, 786, 761], [744, 800, 750], [745, 846, 1536], [753, 762, 748], [739, 734, 778], [767, 769, 756], [756, 770, 757], [756, 769, 770], [758, 757, 771], [759, 758, 772], [759, 773, 760], [759, 772, 773], [760, 773, 786], [744, 761, 799], [762, 763, 748], [748, 763, 764], [748, 764, 765], [766, 767, 741], [767, 768, 769], [757, 770, 771], [758, 771, 772], [750, 800, 834], [765, 774, 748], [748, 774, 775], [748, 775, 776], [739, 779, 755], [766, 780, 767], [766, 793, 780], [767, 780, 768], [768, 781, 769], [769, 781, 782], [769, 783, 770], [769, 782, 783], [771, 784, 772], [772, 784, 785], [761, 786, 799], [744, 799, 800], [776, 777, 748], [778, 839, 739], [739, 839, 779], [755, 793, 766], [768, 780, 781], [770, 783, 771], [771, 783, 784], [772, 785, 773], [777, 787, 748], [748, 787, 788], [748, 788, 789], [748, 789, 740], [734, 754, 778], [755, 779, 793], [793, 779, 812], [782, 795, 783], [783, 796, 797], [783, 797, 784], [773, 785, 798], [773, 798, 786], [800, 799, 821], [789, 790, 740], [740, 790, 791], [740, 791, 792], [780, 793, 794], [780, 794, 781], [781, 804, 782], [782, 804, 795], [783, 795, 796], [784, 805, 785], [784, 797, 805], [785, 805, 798], [750, 848, 846], [792, 801, 740], [740, 801, 802], [740, 802, 803], [779, 839, 811], [779, 811, 812], [793, 813, 794], [781, 794, 814], [781, 814, 804], [804, 816, 795], [804, 815, 816], [798, 805, 819], [786, 820, 799], [799, 820, 821], [803, 806, 740], [740, 806, 807], [740, 807, 808], [740, 808, 809], [740, 809, 810], [740, 810, 754], [793, 812, 813], [794, 813, 814], [804, 814, 815], [795, 816, 817], [795, 817, 796], [796, 817, 818], [796, 818, 797], [797, 819, 805], [797, 818, 819], [798, 819, 832], [798, 832, 786], [786, 832, 820], [800, 821, 834], [750, 834, 848], [810, 822, 754], [754, 822, 823], [754, 823, 824], [812, 828, 813], [815, 814, 829], [816, 815, 830], [816, 830, 817], [817, 830, 843], [818, 817, 831], [821, 833, 834], [824, 825, 754], [754, 825, 826], [754, 826, 827], [754, 827, 778], [812, 811, 828], [815, 829, 830], [817, 843, 831], [818, 831, 819], [819, 831, 853], [819, 853, 832], [820, 845, 821], [827, 835, 778], [778, 835, 836], [778, 836, 837], [813, 840, 814], [814, 841, 829], [829, 841, 842], [829, 842, 830], [830, 842, 843], [821, 845, 833], [837, 838, 778], [811, 850, 828], [828, 840, 813], [840, 851, 814], [814, 851, 841], [831, 843, 844], [831, 844, 853], [838, 847, 778], [828, 850, 840], [853, 854, 832], [820, 832, 854], [845, 860, 833], [847, 849, 778], [778, 849, 839], [811, 839, 850], [840, 850, 851], [841, 852, 842], [841, 851, 852], [842, 852, 865], [842, 865, 843], [843, 865, 844], [820, 854, 845], [849, 855, 839], [851, 850, 858], [854, 859, 845], [860, 861, 833], [833, 861, 834], [848, 834, 888], [846, 848, 889], [855, 856, 839], [839, 871, 850], [850, 857, 858], [858, 864, 851], [851, 864, 852], [844, 865, 866], [844, 866, 853], [845, 859, 860], [834, 861, 888], [856, 862, 839], [853, 867, 854], [860, 859, 868], [860, 868, 861], [861, 868, 888], [848, 888, 892], [1536, 846, 894], [862, 863, 839], [857, 872, 858], [864, 873, 852], [852, 873, 865], [853, 866, 867], [863, 869, 839], [865, 874, 866], [866, 874, 875], [866, 875, 867], [867, 875, 882], [867, 876, 854], [854, 876, 859], [859, 877, 868], [869, 870, 839], [839, 870, 871], [850, 871, 857], [857, 871, 872], [865, 873, 874], [867, 882, 876], [859, 876, 877], [846, 889, 894], [870, 878, 871], [858, 872, 864], [873, 880, 874], [874, 881, 875], [875, 881, 882], [876, 883, 877], [868, 877, 884], [878, 879, 871], [864, 872, 873], [873, 872, 880], [876, 882, 883], [877, 883, 884], [879, 885, 871], [874, 880, 881], [868, 884, 898], [885, 886, 871], [872, 871, 896], [882, 881, 887], [882, 887, 883], [883, 887, 884], [868, 898, 888], [848, 892, 889], [886, 890, 871], [890, 891, 871], [871, 891, 896], [872, 896, 900], [872, 900, 880], [880, 900, 881], [891, 893, 896], [884, 887, 906], [893, 895, 896], [881, 903, 887], [887, 903, 906], [888, 898, 892], [889, 892, 907], [895, 897, 896], [881, 900, 903], [897, 899, 896], [884, 906, 898], [899, 901, 896], [901, 902, 896], [900, 896, 903], [902, 904, 896], [889, 907, 894], [904, 905, 896], [896, 910, 903], [905, 908, 896], [908, 909, 896], [892, 921, 907], [909, 911, 896], [898, 921, 892], [911, 912, 896], [910, 906, 903], [906, 921, 898], [894, 907, 927], [912, 913, 896], [896, 913, 914], [896, 915, 910], [896, 914, 915], [915, 916, 910], [916, 917, 910], [906, 926, 921], [907, 921, 927], [917, 918, 910], [906, 910, 926], [918, 919, 910], [919, 920, 910], [920, 922, 910], [922, 923, 910], [923, 924, 910], [924, 925, 910], [921, 926, 941], [925, 928, 910], [921, 941, 939], [928, 929, 910], [910, 929, 930], [910, 930, 931], [931, 932, 910], [932, 933, 910], [933, 934, 910], [910, 934, 935], [910, 936, 926], [910, 935, 936], [939, 927, 921], [936, 938, 926], [938, 940, 926], [940, 942, 926], [927, 939, 937], [942, 943, 926], [943, 944, 926], [926, 944, 945], [926, 945, 946], [946, 947, 926], [926, 947, 948], [926, 948, 949], [926, 949, 950], [926, 950, 951], [926, 951, 941], [937, 952, 953], [951, 954, 941], [941, 954, 955], [941, 955, 956], [941, 956, 957], [941, 957, 958], [939, 959, 937], [937, 959, 960], [937, 960, 961], [937, 961, 952], [958, 962, 941], [941, 962, 963], [941, 963, 964], [939, 965, 966], [939, 966, 967], [939, 967, 968], [939, 968, 969], [939, 969, 970], [939, 970, 971], [939, 971, 959], [964, 972, 941], [941, 972, 973], [941, 973, 974], [941, 974, 975], [941, 975, 976], [941, 976, 977], [941, 978, 939], [941, 977, 978], [939, 978, 979], [939, 979, 980], [939, 980, 981], [939, 981, 982], [939, 982, 983], [939, 983, 984], [939, 984, 965], [633, 985, 987], [991, 995, 677], [985, 986, 987], [659, 987, 991], [659, 991, 677], [986, 989, 987], [989, 990, 987], [990, 992, 987], [987, 999, 991], [992, 993, 987], [987, 993, 999], [993, 994, 999], [994, 996, 999], [996, 997, 999], [999, 1002, 991], [997, 998, 999], [991, 1002, 995], [995, 1007, 988], [998, 1000, 999], [1000, 1002, 999], [1000, 1001, 1002], [1001, 1003, 1002], [995, 1011, 1007], [1003, 1004, 1002], [1004, 1005, 1002], [1002, 1016, 995], [995, 1016, 1011], [1005, 1006, 1002], [1002, 1006, 1013], [1006, 1008, 1013], [1008, 1009, 1013], [1002, 1013, 1016], [1009, 1010, 1013], [1010, 1012, 1013], [1012, 1014, 1013], [1013, 1020, 1016], [1011, 1023, 1007], [1007, 1023, 1017], [1014, 1015, 1013], [1015, 1018, 1013], [1011, 1016, 1029], [1018, 1020, 1013], [1018, 1019, 1020], [1029, 1030, 1011], [1011, 1030, 1023], [1019, 1021, 1020], [1017, 1023, 21], [21, 1023, 28], [1021, 1022, 1020], [1022, 1028, 1020], [1022, 1024, 1028], [1020, 1028, 1016], [1024, 1025, 1028], [1028, 1029, 1016], [1025, 1026, 1028], [1023, 1035, 28], [1026, 1027, 1028], [1023, 1038, 1035], [1027, 1031, 1028], [1030, 1038, 1023], [1031, 1032, 1028], [1032, 1033, 1028], [1029, 1028, 1041], [1029, 1044, 1030], [1033, 1034, 1028], [1038, 1045, 1035], [1034, 1036, 1028], [1028, 1036, 1041], [1029, 1041, 1044], [1036, 1037, 1041], [1037, 1039, 1041], [1039, 1040, 1041], [1040, 1042, 1041], [1038, 1030, 1050], [44, 1046, 55], [1042, 1043, 1041], [1038, 1050, 1045], [1043, 1047, 1041], [1041, 1047, 1049], [1041, 1049, 1044], [1044, 1053, 1030], [1030, 1053, 1050], [1047, 1048, 1049], [1045, 1054, 1035], [1035, 1054, 1046], [1048, 1051, 1049], [1044, 1049, 1053], [1045, 1059, 1054], [1051, 1052, 1049], [1050, 1053, 1058], [1050, 1058, 1045], [1045, 1058, 1059], [1054, 1064, 1046], [1052, 1057, 1049], [1052, 1055, 1057], [1049, 1057, 1053], [1055, 1056, 1057], [1046, 1061, 55], [1056, 1060, 1057], [1046, 1064, 1061], [1060, 1062, 1057], [1057, 1066, 1053], [1066, 1067, 1053], [1053, 1067, 1058], [1062, 1063, 1057], [1057, 1063, 1066], [1059, 1069, 1054], [1054, 1069, 1070], [1054, 1070, 1064], [1064, 1071, 1061], [1063, 1065, 1066], [1067, 1074, 1058], [1059, 1058, 1069], [1065, 1068, 1066], [1058, 1074, 1075], [1058, 1075, 1069], [1068, 1073, 1066], [1068, 1072, 1073], [1066, 1073, 1067], [1067, 1073, 1074], [1064, 1070, 1080], [1064, 1080, 1071], [1072, 1076, 1073], [1075, 1079, 1069], [1069, 1079, 1070], [1070, 1079, 1080], [1076, 1077, 1073], [1073, 1082, 1074], [1071, 1080, 1084], [1077, 1078, 1073], [1078, 1081, 1073], [1073, 1081, 1082], [1075, 1089, 1079], [1081, 1086, 1082], [1081, 1083, 1086], [1082, 1088, 1074], [1074, 1088, 1075], [1075, 1088, 1089], [1083, 1085, 1086], [1082, 1086, 1088], [1079, 1089, 1080], [1080, 1100, 1084], [1084, 159, 1071], [1085, 1087, 1086], [1086, 1094, 1088], [1080, 1089, 1092], [1087, 1090, 1086], [1088, 1094, 1095], [1084, 1100, 159], [1090, 1091, 1086], [1088, 1095, 1089], [1080, 1092, 1100], [1091, 1093, 1086], [1086, 1093, 1094], [1089, 1104, 1092], [1093, 1096, 1094], [1094, 1098, 1095], [1096, 1097, 1094], [1095, 1098, 1104], [1095, 1104, 1089], [1097, 1102, 1094], [1097, 1099, 1102], [1099, 1101, 1102], [1094, 1102, 1098], [1098, 1107, 1104], [1101, 1103, 1102], [1102, 1106, 1098], [1098, 1106, 1107], [1103, 1105, 1102], [1107, 1112, 1104], [1105, 1110, 1102], [1105, 1108, 1110], [1104, 1117, 1092], [1092, 1117, 1100], [1100, 1117, 1113], [1100, 1113, 206], [1108, 1109, 1110], [1102, 1110, 1106], [1107, 1106, 1116], [1107, 1116, 1112], [1109, 1111, 1110], [1106, 1120, 1116], [1104, 1112, 1117], [1111, 1114, 1110], [1110, 1114, 1119], [1110, 1119, 1106], [1106, 1119, 1120], [1114, 1115, 1119], [1115, 1118, 1119], [1120, 1124, 1116], [1116, 1126, 1112], [1113, 1117, 1122], [1118, 1121, 1119], [1116, 1129, 1126], [1112, 1126, 1117], [1121, 1128, 1119], [1121, 1123, 1128], [1116, 1124, 1129], [1117, 1126, 1122], [1113, 1122, 1135], [1123, 1125, 1128], [1119, 1128, 1132], [1125, 1127, 1128], [1119, 1132, 1133], [1119, 1133, 1120], [1120, 1133, 1124], [1113, 1135, 284], [1127, 1130, 1128], [1130, 1131, 1132], [1130, 1132, 1128], [1124, 1133, 1138], [1124, 1138, 1129], [1126, 1129, 1139], [1126, 1139, 1122], [1131, 1134, 1132], [1132, 1137, 1133], [1122, 1139, 1135], [1135, 318, 284], [1134, 1136, 1132], [1132, 1136, 1137], [1135, 1139, 1153], [1136, 1140, 1137], [1140, 1141, 1137], [1137, 1145, 1133], [1133, 1145, 1148], [1133, 1148, 1138], [1129, 1138, 1139], [1141, 1142, 1144], [1141, 1144, 1137], [1138, 1152, 1139], [1135, 347, 318], [1142, 1143, 1144], [1137, 1144, 1145], [1135, 1153, 347], [1143, 1146, 1144], [1144, 1146, 1151], [1145, 1160, 1148], [1146, 1147, 1151], [1138, 1148, 1152], [1139, 1152, 1153], [1147, 1149, 1151], [1144, 1156, 1145], [1145, 1156, 1160], [1149, 1150, 1151], [1144, 1151, 1156], [1150, 1154, 1151], [1148, 1160, 1152], [1154, 1155, 1151], [1160, 1165, 1152], [1155, 1157, 1151], [1151, 1157, 1162], [1152, 358, 1153], [1157, 1158, 1162], [1152, 1165, 358], [1158, 1159, 1162], [1151, 1162, 1156], [1159, 1161, 1162], [1156, 1171, 1160], [1156, 1162, 1171], [1161, 1163, 1168], [1161, 1168, 1162], [1163, 1164, 1168], [1162, 1168, 1169], [1164, 1166, 1168], [1166, 1167, 1168], [1167, 1170, 1168], [1162, 1169, 1171], [1160, 1171, 1175], [1160, 1175, 1165], [1170, 1172, 1168], [358, 1165, 1175], [1172, 1173, 1180], [1172, 1180, 1168], [1168, 1180, 1169], [1173, 1174, 1180], [1174, 1176, 1180], [1169, 1185, 1171], [1171, 1185, 1175], [1175, 1185, 1189], [1176, 1177, 1180], [1180, 1181, 1169], [1169, 1181, 1185], [1177, 1178, 1180], [1178, 1179, 1180], [1179, 1182, 1180], [1180, 1182, 1187], [1182, 1183, 1187], [1183, 1184, 1187], [1184, 1186, 1187], [1187, 1193, 1180], [1180, 1193, 1181], [1186, 1188, 1187], [1188, 1190, 1187], [1181, 1193, 1185], [1185, 1200, 1189], [1175, 1189, 388], [1190, 1191, 1187], [1191, 1192, 1187], [1185, 1193, 1200], [1189, 1197, 388], [1192, 1194, 1187], [1187, 1194, 1202], [1187, 1202, 1193], [1194, 1195, 1202], [1195, 1196, 1202], [1202, 1207, 1193], [1189, 1200, 1197], [1196, 1198, 1202], [1198, 1199, 1202], [1199, 1201, 1202], [1193, 1207, 1200], [1201, 1203, 733], [1201, 733, 1202], [1203, 1204, 733], [1204, 1205, 733], [1205, 1206, 733], [1206, 1208, 733], [1202, 733, 1207], [1208, 746, 733], [1200, 1207, 709], [447, 1210, 436], [658, 1225, 1217], [460, 1222, 447], [447, 1212, 1210], [658, 1219, 1225], [1212, 447, 1214], [447, 1215, 1214], [447, 1216, 1215], [447, 1218, 1216], [477, 1239, 1232], [447, 1220, 1218], [1213, 1228, 1209], [672, 1231, 1219], [460, 1232, 1222], [1222, 1221, 447], [447, 1221, 1220], [1209, 1231, 672], [1225, 1229, 1217], [1221, 1222, 1223], [1217, 1229, 1211], [1232, 1235, 1222], [1222, 1224, 1223], [1211, 1229, 1243], [1211, 1239, 477], [1222, 1226, 1224], [1222, 1235, 1227], [1222, 1227, 1226], [1219, 1241, 1225], [1235, 1230, 1227], [1209, 1228, 1238], [1209, 1238, 1231], [1235, 1233, 1230], [1213, 20, 1246], [1213, 1246, 1228], [1243, 1239, 1211], [1235, 1234, 1233], [1219, 1231, 1241], [1225, 1242, 1229], [1243, 1253, 1239], [1235, 1236, 1234], [1235, 1237, 1236], [1229, 1242, 1243], [1235, 1240, 1237], [1241, 1242, 1225], [1232, 1248, 1235], [1235, 1244, 1240], [1231, 1238, 1241], [1232, 1239, 1248], [1235, 1245, 1244], [1242, 1251, 1243], [1235, 1247, 1245], [1228, 1246, 1255], [1228, 1255, 1238], [1241, 1257, 1242], [1248, 1249, 1235], [1235, 1249, 1247], [1241, 1238, 1265], [1243, 1258, 1253], [1248, 1250, 1249], [1251, 1258, 1243], [1248, 1252, 1250], [1238, 1255, 1265], [1242, 1262, 1251], [1239, 1260, 1248], [1248, 1254, 1252], [20, 1273, 1246], [1246, 1268, 1255], [1248, 1256, 1254], [1246, 1273, 1268], [1257, 1262, 1242], [1253, 1266, 1239], [1248, 1259, 1256], [1241, 1265, 1257], [1248, 1261, 1259], [1239, 1266, 1260], [1248, 1263, 1261], [20, 1283, 1273], [1268, 1269, 1255], [1255, 1269, 1279], [1255, 1279, 1265], [1248, 1260, 1264], [1248, 1264, 1263], [1265, 1274, 1257], [1257, 1274, 1262], [1251, 1262, 1258], [1258, 1277, 1253], [1253, 1271, 1266], [1260, 1267, 1264], [1262, 1276, 1258], [1260, 1270, 1267], [1268, 1273, 1307], [1253, 1277, 1271], [1260, 1272, 1270], [1286, 1269, 1268], [1260, 1275, 1272], [1258, 1284, 1277], [1258, 1276, 1284], [1266, 1278, 1260], [1260, 1278, 1275], [1307, 1286, 1268], [1274, 1291, 1262], [1266, 1280, 1278], [1279, 1294, 1265], [1266, 1281, 1280], [1283, 1311, 1273], [1273, 1311, 1307], [1286, 1300, 1269], [1265, 1291, 1274], [1277, 1284, 1288], [1266, 1282, 1281], [1269, 1300, 1279], [1294, 1302, 1265], [1262, 1291, 1276], [1276, 1291, 1304], [1271, 1285, 1266], [1266, 1285, 1282], [1300, 1301, 1279], [1265, 1302, 1291], [1276, 1292, 1284], [1271, 1287, 1285], [1283, 59, 1297], [1301, 1294, 1279], [1277, 1289, 1271], [1271, 1289, 1287], [1284, 1292, 1295], [1277, 1290, 1289], [1283, 1317, 1311], [1284, 1298, 1288], [1288, 1293, 1277], [1277, 1293, 1290], [1297, 1317, 1283], [1292, 1305, 1295], [1284, 1295, 1298], [1288, 1296, 1293], [59, 63, 1297], [1276, 1304, 1292], [1298, 1299, 1288], [1288, 1299, 1296], [1302, 1308, 1291], [1298, 1303, 1299], [1307, 1312, 1286], [1286, 1312, 1300], [1291, 1308, 1304], [1295, 1306, 1298], [1298, 1306, 1303], [1304, 1308, 1320], [1304, 1313, 1292], [1295, 1305, 1309], [1295, 1309, 1306], [63, 97, 1297], [1300, 1312, 1326], [1300, 1326, 1301], [1301, 1326, 1319], [1301, 1319, 1294], [1302, 1294, 1328], [1305, 1310, 1309], [1297, 97, 1324], [1307, 1311, 1318], [1307, 1318, 1312], [1328, 1308, 1302], [1304, 1320, 1313], [1292, 1313, 1305], [1305, 1313, 1322], [1305, 1322, 1315], [1305, 1315, 1310], [1310, 1315, 1314], [1315, 1316, 1314], [97, 1332, 1324], [1297, 1324, 1317], [1311, 1317, 1325], [1311, 1325, 1318], [1312, 1318, 1326], [1294, 1319, 1328], [1316, 1315, 1321], [1326, 1327, 1319], [1308, 1336, 1320], [1320, 1337, 1313], [1313, 1337, 1322], [1322, 1330, 1315], [1315, 1323, 1321], [1318, 1325, 1333], [1319, 1327, 1335], [1319, 1335, 1328], [1315, 1330, 1323], [1323, 1330, 1329], [1317, 1324, 1341], [1317, 1341, 1325], [1318, 1334, 1326], [1326, 1334, 1327], [1328, 1336, 1308], [1328, 1354, 1336], [1336, 1344, 1320], [1320, 1344, 1337], [1322, 1337, 1330], [1330, 1331, 1329], [97, 1346, 1332], [1318, 1333, 1334], [1331, 1330, 1338], [127, 1346, 97], [1332, 1346, 1340], [1332, 1340, 1324], [1324, 1340, 1341], [1325, 1341, 1342], [1325, 1342, 1333], [1333, 1351, 1334], [1334, 1352, 1343], [1334, 1343, 1327], [1327, 1353, 1335], [1337, 1347, 1330], [1330, 1339, 1338], [127, 174, 1346], [1333, 1342, 1351], [1334, 1351, 1352], [1327, 1343, 1353], [1328, 1335, 1354], [1330, 1347, 1339], [1339, 1347, 1345], [1340, 1349, 1341], [1341, 1349, 1350], [1341, 1350, 1342], [1337, 1344, 1347], [1347, 1348, 1345], [1346, 1356, 1340], [1340, 1356, 1349], [1342, 1350, 1351], [1353, 1362, 1335], [1335, 1362, 1354], [1347, 1344, 1357], [1348, 1347, 1355], [1346, 174, 1356], [1349, 1367, 1359], [1349, 1359, 1350], [1350, 1359, 1360], [1343, 1352, 1361], [1343, 1361, 1353], [1354, 1363, 1336], [1336, 1364, 1344], [1347, 1358, 1355], [1347, 1357, 1358], [174, 1366, 1356], [1350, 1371, 1351], [1350, 1360, 1371], [1351, 1371, 1352], [1352, 1371, 1372], [1352, 1372, 1361], [1353, 1361, 1373], [1353, 1373, 1362], [1336, 1363, 1364], [1344, 1364, 1368], [1344, 1368, 1357], [1357, 1369, 1358], [1358, 1369, 1365], [1366, 1375, 1356], [1356, 1375, 1367], [1356, 1367, 1349], [1357, 1368, 1369], [1369, 1370, 1365], [1359, 1367, 1379], [1360, 1359, 1380], [1360, 1380, 1371], [1372, 1381, 1361], [1361, 1381, 1373], [1362, 1363, 1354], [1364, 1382, 1368], [1369, 1376, 1370], [1370, 1376, 1374], [1367, 1375, 1378], [1367, 1378, 1379], [1359, 1379, 1380], [1373, 1392, 1362], [1362, 1393, 1363], [1363, 1394, 1364], [1368, 1382, 1376], [1368, 1376, 1369], [1376, 1377, 1374], [1366, 1384, 1375], [1366, 241, 1384], [1375, 1384, 1378], [1371, 1380, 1390], [1371, 1390, 1391], [1371, 1391, 1372], [1372, 1391, 1381], [1373, 1381, 1392], [1362, 1392, 1393], [1363, 1393, 1402], [1363, 1402, 1394], [1364, 1394, 1382], [1376, 1382, 1385], [1377, 1376, 1383], [1380, 1379, 1389], [1380, 1389, 1390], [1392, 1381, 1401], [1376, 1386, 1383], [1376, 1385, 1386], [1378, 1384, 1387], [1378, 1388, 1379], [1378, 1387, 1388], [1379, 1388, 1389], [1381, 1391, 1401], [1382, 1396, 1385], [1386, 1385, 1395], [241, 266, 1384], [1391, 1400, 1401], [1394, 1407, 1382], [1382, 1407, 1396], [1396, 1403, 1385], [1385, 1397, 1395], [1385, 1403, 1397], [1384, 266, 1398], [1384, 1398, 1387], [1387, 1398, 1399], [1387, 1399, 1388], [1388, 1399, 1389], [1390, 1406, 1391], [1391, 1406, 1400], [1392, 1401, 1393], [1397, 1403, 1404], [266, 1421, 1398], [1389, 1399, 1415], [1390, 1389, 1416], [1390, 1416, 1406], [1400, 1417, 1401], [1401, 1417, 1393], [1393, 1425, 1402], [1402, 1425, 1394], [1396, 1419, 1409], [1396, 1409, 1403], [1403, 1409, 1410], [1403, 1405, 1404], [1403, 1410, 1405], [1398, 1421, 1412], [1398, 1412, 1413], [1398, 1413, 1399], [1399, 1413, 1414], [1399, 1414, 1415], [1389, 1415, 1416], [1393, 1417, 1425], [1394, 1418, 1407], [1396, 1407, 1419], [1405, 1410, 1408], [1400, 1406, 1424], [1400, 1424, 1417], [1425, 1418, 1394], [1410, 1411, 1408], [1416, 1423, 1406], [1406, 1423, 1424], [1407, 1418, 1426], [1411, 1410, 1420], [1414, 1428, 1415], [1417, 1438, 1425], [1407, 1426, 1419], [1409, 1432, 1410], [1410, 1422, 1420], [1410, 1433, 1422], [1414, 1413, 1428], [1423, 1431, 1424], [1419, 1432, 1409], [1422, 1433, 1427], [1424, 1437, 1417], [1432, 1433, 1410], [1433, 1429, 1427], [1413, 1412, 1446], [1413, 1446, 1428], [1415, 1428, 1436], [1415, 1430, 1416], [1415, 1436, 1430], [1416, 1430, 1423], [1417, 1437, 1438], [1418, 1425, 1426], [1426, 1440, 1419], [1419, 1440, 1432], [1429, 1433, 1434], [1412, 1421, 1446], [1426, 1425, 1448], [1426, 1448, 1443], [1426, 1443, 1440], [1433, 1435, 1434], [1433, 1441, 1435], [1446, 1457, 1428], [1428, 1457, 1436], [1424, 1431, 1437], [1435, 1441, 1439], [1441, 1444, 1439], [1439, 1444, 1442], [1421, 342, 1446], [1425, 1438, 1448], [1432, 1449, 1433], [1433, 1449, 1441], [1442, 1444, 1445], [1423, 1453, 1431], [1431, 1453, 1437], [1437, 1454, 1438], [1445, 1444, 1451], [1445, 1451, 1447], [1436, 1469, 1430], [1423, 1430, 1453], [1437, 1453, 1454], [1438, 1455, 1448], [1447, 1451, 1463], [1447, 1463, 1450], [1436, 1457, 1469], [1443, 1448, 1462], [1432, 1440, 1449], [1441, 1458, 1444], [1441, 1449, 1458], [1450, 1463, 1452], [342, 1460, 1446], [1454, 1455, 1438], [1444, 1458, 1451], [1452, 1463, 1464], [1452, 1464, 1456], [1446, 1460, 1457], [1456, 1464, 1459], [1448, 1483, 1462], [1451, 1475, 1463], [1459, 1464, 1461], [1457, 1477, 1469], [1430, 1469, 1453], [1453, 1469, 1470], [1453, 1474, 1454], [1448, 1455, 1483], [1440, 1467, 1449], [1449, 1467, 1458], [1461, 1464, 1472], [1461, 1472, 1465], [1453, 1470, 1474], [1454, 1474, 1455], [1443, 1462, 1440], [1458, 1467, 1475], [1465, 1472, 1481], [1465, 1481, 1466], [1462, 1480, 1440], [1458, 1475, 1451], [1466, 1481, 1468], [1455, 1474, 1479], [1455, 1479, 1483], [1468, 1481, 1471], [1460, 363, 1457], [1469, 1493, 1470], [1440, 1480, 1467], [1463, 1486, 1464], [1464, 1486, 1472], [1471, 1481, 1473], [1457, 363, 1477], [1473, 1481, 1476], [1483, 1484, 1462], [1475, 1467, 1480], [1475, 1486, 1463], [1476, 1481, 1489], [1476, 1489, 1478], [1462, 1484, 1480], [1478, 1489, 1482], [1469, 1477, 1491], [1470, 1494, 1474], [1474, 1494, 1479], [1480, 1486, 1475], [1486, 1498, 1472], [1482, 1489, 1485], [1472, 1499, 1481], [1485, 1489, 1487], [1470, 1493, 1494], [1486, 1480, 1502], [1498, 1499, 1472], [1489, 1495, 1487], [1487, 1495, 1488], [1491, 1510, 1469], [1486, 1502, 1498], [1488, 1495, 1490], [1479, 1494, 1501], [1479, 1501, 1483], [1483, 1501, 1484], [1490, 1495, 1492], [1469, 1510, 1493], [1492, 1495, 1496], [1494, 1512, 1501], [1480, 1484, 1502], [1496, 1495, 1497], [1484, 1505, 1502], [1481, 1507, 1489], [1497, 1495, 1500], [1484, 1501, 1505], [1499, 1507, 1481], [1495, 1508, 1500], [1500, 1508, 1503], [1493, 1511, 1494], [1494, 1511, 1512], [1489, 1507, 1495], [1503, 1508, 1504], [1504, 1508, 1506], [1505, 1501, 1516], [1502, 1518, 1498], [1498, 1518, 1499], [1506, 1508, 1509], [1491, 1539, 1510], [1509, 1508, 1513], [1510, 1511, 1493], [1502, 1505, 1518], [1495, 1524, 1508], [1513, 1508, 1514], [1514, 1508, 1524], [1514, 1524, 1515], [1512, 1516, 1501], [1505, 1516, 1518], [1507, 1523, 1495], [1495, 1523, 1524], [1515, 1524, 1517], [1517, 1524, 1519], [1511, 1526, 1512], [1512, 1526, 1516], [1499, 1518, 1507], [1519, 1524, 1520], [1516, 1534, 1518], [1507, 1518, 1522], [1507, 1522, 1523], [1520, 1524, 1521], [1516, 1529, 1534], [1518, 1534, 1522], [1521, 1524, 1525], [1510, 1533, 1511], [1525, 1524, 1530], [1525, 1530, 1527], [1511, 1533, 1526], [1527, 1530, 1528], [1529, 1536, 1534], [1528, 1530, 1531], [1510, 1539, 1533], [1524, 1523, 927], [1524, 927, 1530], [1530, 1532, 1531], [1532, 1530, 1535], [1526, 1543, 1516], [1516, 1543, 1529], [1535, 1530, 1537], [1526, 1541, 1543], [1522, 1534, 894], [1530, 937, 1537], [1537, 937, 1538], [1529, 1543, 1536], [1534, 1536, 894], [1522, 894, 1523], [1538, 937, 1540], [927, 937, 1530], [1540, 937, 1542], [1526, 1533, 1541], [1523, 894, 927], [937, 1544, 1542], [1544, 937, 1545], [1543, 745, 1536], [1545, 937, 953]]
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def levelOrder(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ if root == None: return [] l = [[]] level = 0 stack = [(root, level)] while len(stack) > 0: r, level = stack[0] stack = stack[1:] if len(l) == level: l.append([]) l[level] += [r.val] level += 1 if r.left: stack += [(r.left, level)] if r.right: stack += [(r.right, level)] return l
class Solution: def level_order(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ if root == None: return [] l = [[]] level = 0 stack = [(root, level)] while len(stack) > 0: (r, level) = stack[0] stack = stack[1:] if len(l) == level: l.append([]) l[level] += [r.val] level += 1 if r.left: stack += [(r.left, level)] if r.right: stack += [(r.right, level)] return l
#!/usr/bin/env python # Mainly for use in stubconnections/kubectl.yml print('PID: 1')
print('PID: 1')
# START LAB EXERCISE 03 print('Lab Exercise 03 \n') # PROBLEM 1 (5 Points) inventors = None # PROBLEM 2 (4 Points) #SETUP invention = 'Heating, ventilation, and air conditioning' #END SETUP # PROBLEM 3 (4 Points) # SETUP new_inventor = {'Alexander Miles': 'Automatic electric elevator doors'} # END SETUP # PROBLEM 4 (4 Points) # PROBLEM 5 (4 Points) # SETUP gastroscope_inventor = 'Leonidas Berry' # END SETUP tuple_gastroscope_inventor = None # PROBLEM 6 (4 Points) medical_inventors = None # END LAB EXERCISE
print('Lab Exercise 03 \n') inventors = None invention = 'Heating, ventilation, and air conditioning' new_inventor = {'Alexander Miles': 'Automatic electric elevator doors'} gastroscope_inventor = 'Leonidas Berry' tuple_gastroscope_inventor = None medical_inventors = None