content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# -*- coding: utf-8 -*-
"""
Created on Fri Jun 12 17:44:11 2020
@author: Ashish
"""
x = int ( input("Enter a number: "))
y = int ( input("Enter a number: "))
n = int ( input("Enter a number: "))
print ([[ i, j] for i in range( x + 1) for j in range( y + 1) if ( ( i + j ) != n )]) | """
Created on Fri Jun 12 17:44:11 2020
@author: Ashish
"""
x = int(input('Enter a number: '))
y = int(input('Enter a number: '))
n = int(input('Enter a number: '))
print([[i, j] for i in range(x + 1) for j in range(y + 1) if i + j != n]) |
_base_ = ["../../_base_/gdrn_base.py"]
OUTPUT_DIR = "output/gdrn_selfocc/lm/mm_r50v1d_a6_cPnP_GN_gelu_lm13"
INPUT = dict(
DZI_PAD_SCALE=1.5,
COLOR_AUG_PROB=0.0,
COLOR_AUG_TYPE="code",
COLOR_AUG_CODE=(
"Sequential(["
"Sometimes(0.4, CoarseDropout( p=0.1, size_percent=0.05) ),"
# "Sometimes(0.5, Affine(scale=(1.0, 1.2))),"
"Sometimes(0.5, GaussianBlur(np.random.rand())),"
"Sometimes(0.5, Add((-20, 20), per_channel=0.3)),"
"Sometimes(0.4, Invert(0.20, per_channel=True)),"
"Sometimes(0.5, Multiply((0.7, 1.4), per_channel=0.8)),"
"Sometimes(0.5, Multiply((0.7, 1.4))),"
"Sometimes(0.5, LinearContrast((0.5, 2.0), per_channel=0.3))"
"], random_order=False)"
),
)
SOLVER = dict(
IMS_PER_BATCH=24,
TOTAL_EPOCHS=200,
LR_SCHEDULER_NAME="flat_and_anneal",
ANNEAL_METHOD="cosine", # "cosine"
ANNEAL_POINT=0.72,
# REL_STEPS=(0.3125, 0.625, 0.9375),
OPTIMIZER_CFG=dict(_delete_=True, type="Ranger", lr=1e-4, weight_decay=0),
WEIGHT_DECAY=0.0,
WARMUP_FACTOR=0.001,
WARMUP_ITERS=1000,
)
DATASETS = dict(
TRAIN=(
"lm_13_train",
"lm_imgn_13_train_1k_per_obj",
),
# TRAIN2=("lm_imgn_13_train_1k_per_obj",),
# TRAIN2_RATIO=0.75,
TEST=("lm_13_test",),
DET_FILES_TEST=("/home/yan/gdnr_selfocc/datasets/BOP_DATASETS/lm/test/test_bboxes/bbox_faster_all.json",),)
MODEL = dict(
LOAD_DETS_TEST=True,
PIXEL_MEAN=[0.0, 0.0, 0.0],
PIXEL_STD=[255.0, 255.0, 255.0],
POSE_NET=dict(
NAME="GDRN",
BACKBONE=dict(
FREEZE=False,
PRETRAINED="mmcls://resnet50_v1d",
INIT_CFG=dict(
_delete_=True,
type="mm/ResNetV1d",
depth=50,
in_channels=3,
out_indices=(3,),
),
),
## geo head: Mask, XYZ, Region
GEO_HEAD=dict(
FREEZE=False,
INIT_CFG=dict(
type="TopDownMaskXyzRegionHead",
in_dim=2048, # this is num out channels of backbone conv feature
),
NUM_REGIONS=64,
),
## selfocchead Q0 occmask(optional)
SELFOCC_HEAD=dict(
OCCMASK_AWARE=False,
Q0_CLASS_AWARE=False,
MASK_CLASS_AWARE=False,
FREEZE=False,
INIT_CFG=dict(
type="ConvSelfoccHead",
in_dim=2048,
feat_dim=256,
feat_kernel_size=3,
norm="GN",
num_gn_groups=32,
act="GELU", # relu | lrelu | silu (swish) | gelu | mish
out_kernel_size=1,
out_layer_shared=False,
Q0_num_classes=1,
mask_num_classes=1,
),
MIN_Q0_REGION=20,
LR_MULT=1.0,
REGION_CLASS_AWARE=False,
MASK_THR_TEST=0.5,
),
PNP_NET=dict(
INIT_CFG=dict(norm="GN", act="gelu"),
REGION_ATTENTION=True,
WITH_2D_COORD=True,
ROT_TYPE="allo_rot6d",
TRANS_TYPE="centroid_z",
),
LOSS_CFG=dict(
# xyz loss ----------------------------
XYZ_LOSS_TYPE="L1", # L1 | CE_coor
XYZ_LOSS_MASK_GT="visib", # trunc | visib | obj
XYZ_LW=1.0,
# mask loss ---------------------------
MASK_LOSS_TYPE="L1", # L1 | BCE | CE
MASK_LOSS_GT="trunc", # trunc | visib | gt
MASK_LW=1.0,
# region loss -------------------------
REGION_LOSS_TYPE="CE", # CE
REGION_LOSS_MASK_GT="visib", # trunc | visib | obj
REGION_LW=1.0,
# pm loss --------------
PM_R_ONLY=True, # only do R loss in PM
PM_LW=1.0,
# centroid loss -------
CENTROID_LOSS_TYPE="L1",
CENTROID_LW=1.0,
# z loss -----------
Z_LOSS_TYPE="L1",
Z_LW=1.0,
# Q0 loss ---------------------
Q0_LOSS_TYPE="L1",
Q0_LOSS_MASK_GT="visib", # computed from Q0
Q0_LW=1.0,
# cross-task loss -------------------
CT_LW=10.0,
CT_P_LW=1.0,
# occlusion mask loss weight
OCC_LW=0.0,
),
),
)
TEST = dict(EVAL_PERIOD=0, VIS=False, TEST_BBOX_TYPE="est") # gt | est
TRAIN = dict(CT_START=0.2, CT_P_START=0.2) # we start cross task loss at maxiter*0.2
'''
without denormalization
ad_2 23.33 55.38 38.24 51.87 33.43 49.26 23.47 72.77 58.30 32.92 55.57 61.42 40.04 45.85
ad_5 59.05 91.95 81.76 89.47 75.75 89.79 57.75 97.65 95.37 74.79 91.83 95.11 80.45 83.13
ad_10 86.00 99.52 96.57 98.82 95.51 98.61 84.79 99.81 99.71 94.77 99.08 99.42 95.75 96.03
rete_2 75.43 80.12 81.86 84.65 73.25 76.31 73.80 85.63 65.15 76.02 72.73 85.51 69.59 76.93
rete_5 97.24 99.22 99.41 99.21 99.10 98.91 97.93 99.62 97.97 99.05 97.55 99.42 96.22 98.53
rete_10 99.33 99.90 99.80 99.90 99.90 99.80 99.81 99.81 99.81 99.62 99.49 99.71 99.15 99.70
re_2 75.81 80.70 82.45 84.74 73.55 78.00 74.46 86.01 66.31 76.50 72.93 86.08 70.54 77.55
re_5 97.33 99.22 99.41 99.21 99.10 99.31 97.93 99.62 97.97 99.05 97.55 99.42 96.22 98.57
re_10 99.43 99.90 99.80 99.90 99.90 99.80 99.81 99.81 99.81 99.62 99.49 99.71 99.24 99.71
te_2 96.76 98.45 97.84 98.62 98.80 97.13 96.71 98.50 96.43 97.91 97.96 98.08 95.18 97.57
te_5 99.24 100.00 99.80 99.90 99.90 99.41 99.91 99.81 99.81 99.71 99.80 99.71 99.15 99.70
te_10 99.71 100.00 99.90 99.90 100.00 99.90 100.00 99.91 99.90 99.90 99.90 99.71 99.91 99.90
proj_2 95.33 87.49 92.35 92.52 95.01 78.99 94.18 95.02 92.76 96.29 85.50 80.90 86.31 90.20
proj_5 98.48 99.13 99.31 99.61 99.50 99.11 99.15 99.15 99.32 99.52 98.57 98.18 98.11 99.01
proj_10 99.90 100.00 99.90 99.90 99.90 99.80 100.00 99.91 99.90 99.81 99.59 99.71 100.00 99.87
re 1.69 1.47 1.42 1.32 1.63 1.49 1.67 1.27 1.84 1.63 1.74 1.42 1.84 1.57
te 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01
Process finished with exit code 0
''' | _base_ = ['../../_base_/gdrn_base.py']
output_dir = 'output/gdrn_selfocc/lm/mm_r50v1d_a6_cPnP_GN_gelu_lm13'
input = dict(DZI_PAD_SCALE=1.5, COLOR_AUG_PROB=0.0, COLOR_AUG_TYPE='code', COLOR_AUG_CODE='Sequential([Sometimes(0.4, CoarseDropout( p=0.1, size_percent=0.05) ),Sometimes(0.5, GaussianBlur(np.random.rand())),Sometimes(0.5, Add((-20, 20), per_channel=0.3)),Sometimes(0.4, Invert(0.20, per_channel=True)),Sometimes(0.5, Multiply((0.7, 1.4), per_channel=0.8)),Sometimes(0.5, Multiply((0.7, 1.4))),Sometimes(0.5, LinearContrast((0.5, 2.0), per_channel=0.3))], random_order=False)')
solver = dict(IMS_PER_BATCH=24, TOTAL_EPOCHS=200, LR_SCHEDULER_NAME='flat_and_anneal', ANNEAL_METHOD='cosine', ANNEAL_POINT=0.72, OPTIMIZER_CFG=dict(_delete_=True, type='Ranger', lr=0.0001, weight_decay=0), WEIGHT_DECAY=0.0, WARMUP_FACTOR=0.001, WARMUP_ITERS=1000)
datasets = dict(TRAIN=('lm_13_train', 'lm_imgn_13_train_1k_per_obj'), TEST=('lm_13_test',), DET_FILES_TEST=('/home/yan/gdnr_selfocc/datasets/BOP_DATASETS/lm/test/test_bboxes/bbox_faster_all.json',))
model = dict(LOAD_DETS_TEST=True, PIXEL_MEAN=[0.0, 0.0, 0.0], PIXEL_STD=[255.0, 255.0, 255.0], POSE_NET=dict(NAME='GDRN', BACKBONE=dict(FREEZE=False, PRETRAINED='mmcls://resnet50_v1d', INIT_CFG=dict(_delete_=True, type='mm/ResNetV1d', depth=50, in_channels=3, out_indices=(3,))), GEO_HEAD=dict(FREEZE=False, INIT_CFG=dict(type='TopDownMaskXyzRegionHead', in_dim=2048), NUM_REGIONS=64), SELFOCC_HEAD=dict(OCCMASK_AWARE=False, Q0_CLASS_AWARE=False, MASK_CLASS_AWARE=False, FREEZE=False, INIT_CFG=dict(type='ConvSelfoccHead', in_dim=2048, feat_dim=256, feat_kernel_size=3, norm='GN', num_gn_groups=32, act='GELU', out_kernel_size=1, out_layer_shared=False, Q0_num_classes=1, mask_num_classes=1), MIN_Q0_REGION=20, LR_MULT=1.0, REGION_CLASS_AWARE=False, MASK_THR_TEST=0.5), PNP_NET=dict(INIT_CFG=dict(norm='GN', act='gelu'), REGION_ATTENTION=True, WITH_2D_COORD=True, ROT_TYPE='allo_rot6d', TRANS_TYPE='centroid_z'), LOSS_CFG=dict(XYZ_LOSS_TYPE='L1', XYZ_LOSS_MASK_GT='visib', XYZ_LW=1.0, MASK_LOSS_TYPE='L1', MASK_LOSS_GT='trunc', MASK_LW=1.0, REGION_LOSS_TYPE='CE', REGION_LOSS_MASK_GT='visib', REGION_LW=1.0, PM_R_ONLY=True, PM_LW=1.0, CENTROID_LOSS_TYPE='L1', CENTROID_LW=1.0, Z_LOSS_TYPE='L1', Z_LW=1.0, Q0_LOSS_TYPE='L1', Q0_LOSS_MASK_GT='visib', Q0_LW=1.0, CT_LW=10.0, CT_P_LW=1.0, OCC_LW=0.0)))
test = dict(EVAL_PERIOD=0, VIS=False, TEST_BBOX_TYPE='est')
train = dict(CT_START=0.2, CT_P_START=0.2)
'\nwithout denormalization\nad_2 23.33 55.38 38.24 51.87 33.43 49.26 23.47 72.77 58.30 32.92 55.57 61.42 40.04 45.85\nad_5 59.05 91.95 81.76 89.47 75.75 89.79 57.75 97.65 95.37 74.79 91.83 95.11 80.45 83.13\nad_10 86.00 99.52 96.57 98.82 95.51 98.61 84.79 99.81 99.71 94.77 99.08 99.42 95.75 96.03\nrete_2 75.43 80.12 81.86 84.65 73.25 76.31 73.80 85.63 65.15 76.02 72.73 85.51 69.59 76.93\nrete_5 97.24 99.22 99.41 99.21 99.10 98.91 97.93 99.62 97.97 99.05 97.55 99.42 96.22 98.53\nrete_10 99.33 99.90 99.80 99.90 99.90 99.80 99.81 99.81 99.81 99.62 99.49 99.71 99.15 99.70\nre_2 75.81 80.70 82.45 84.74 73.55 78.00 74.46 86.01 66.31 76.50 72.93 86.08 70.54 77.55\nre_5 97.33 99.22 99.41 99.21 99.10 99.31 97.93 99.62 97.97 99.05 97.55 99.42 96.22 98.57\nre_10 99.43 99.90 99.80 99.90 99.90 99.80 99.81 99.81 99.81 99.62 99.49 99.71 99.24 99.71\nte_2 96.76 98.45 97.84 98.62 98.80 97.13 96.71 98.50 96.43 97.91 97.96 98.08 95.18 97.57\nte_5 99.24 100.00 99.80 99.90 99.90 99.41 99.91 99.81 99.81 99.71 99.80 99.71 99.15 99.70\nte_10 99.71 100.00 99.90 99.90 100.00 99.90 100.00 99.91 99.90 99.90 99.90 99.71 99.91 99.90\nproj_2 95.33 87.49 92.35 92.52 95.01 78.99 94.18 95.02 92.76 96.29 85.50 80.90 86.31 90.20\nproj_5 98.48 99.13 99.31 99.61 99.50 99.11 99.15 99.15 99.32 99.52 98.57 98.18 98.11 99.01\nproj_10 99.90 100.00 99.90 99.90 99.90 99.80 100.00 99.91 99.90 99.81 99.59 99.71 100.00 99.87\nre 1.69 1.47 1.42 1.32 1.63 1.49 1.67 1.27 1.84 1.63 1.74 1.42 1.84 1.57\nte 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01\n\nProcess finished with exit code 0\n\n' |
N,K=map(int,input().split())
x=list(map(int,input().split()))
n=N-K+1
left=[0]*n
for i in range(n):left[i]=abs(x[i])+abs(x[i]-x[i+K-1])
x=x[::-1]
right=[0]*n
for i in range(n):right[i]=abs(x[i])+abs(x[i]-x[i+K-1])
print(min(min(left),min(right))) | (n, k) = map(int, input().split())
x = list(map(int, input().split()))
n = N - K + 1
left = [0] * n
for i in range(n):
left[i] = abs(x[i]) + abs(x[i] - x[i + K - 1])
x = x[::-1]
right = [0] * n
for i in range(n):
right[i] = abs(x[i]) + abs(x[i] - x[i + K - 1])
print(min(min(left), min(right))) |
'''
Created on Mar 13, 2021
@author: mballance
'''
print("SystemVerilog generator") | """
Created on Mar 13, 2021
@author: mballance
"""
print('SystemVerilog generator') |
def reverse_print_for(word):
reversed_word = ''
for letter in reversed(word):
reversed_word += letter
print(reversed_word)
reverse_print_for('banannafor')
def reverse_print(word):
print(word[::-1])
reverse_print('bananna')
def is_palindrome(sequence):
return sequence.lower() == sequence[::-1].lower()
print(is_palindrome('Bowling'))
def duckling_names():
prefix = ['J','K','L','M','N','Ou','P','Qu']
suffix = 'ack'
for letter in prefix:
print(letter+suffix)
duckling_names()
def find(word, letter, startindex):
index = startindex
while index < len(word):
if word[index] == letter:
return index
index += 1
return -1
print(find('ramalamadingdong', 'i', 5))
print('ramalamadingdong'.find('i')) # str.find(str, start, end)
def how_many_instances(word, letter):
count = 0
for digit in word:
if digit == letter:
count += 1
return count
print(how_many_instances('bananna', 'n'))
print('bananna'.count('n')) # str.count(str, start, end)
def in_both(word1, word2):
for letter in word1:
if letter in word2:
print(letter)
in_both('apples', 'oranges')
def which_word_first(word1, word2):
if word1.lower() < word2.lower():
print(word1, 'comes before', word2)
else:
print(word2, 'comes before', word1)
which_word_first('Bear', 'aligator')
def is_reversed(word1, word2):
if len(word1) != len(word2):
return False
for index, letter in enumerate(word1):
if letter.lower() != word2[(index + 1) * -1].lower():
return False
return True
print(is_reversed('pots', 'Stop'))
print('0000000Get rid of all the damn zeros!0000000'.strip('0')) # str.strip([chars]);
print('xxxxxxxxxxxxxxxGet rid of all the x at the beginning'.lstrip('x')) # str.lstrip([chars])
print('Get rid of all the x at the end!xxxxxxxxxxxxxxxxxxxx'.rstrip('x')) # str.rstrip([chars])
print('I love apples, apples are the best, but nothing beats an apple'.replace('apples', 'oranges')) # str.replace(old, new[, max])
def caeser_cypher(word, key):
"""
fails for some key range and letter combos, TODO: Find ord()
dictionary(?) and adjust ranges to properly wrap.
"""
cypher_word = ''
for letter in word:
cypher_word += (chr(ord(letter) + key))
return cypher_word
print(caeser_cypher('cheer', 7))
| def reverse_print_for(word):
reversed_word = ''
for letter in reversed(word):
reversed_word += letter
print(reversed_word)
reverse_print_for('banannafor')
def reverse_print(word):
print(word[::-1])
reverse_print('bananna')
def is_palindrome(sequence):
return sequence.lower() == sequence[::-1].lower()
print(is_palindrome('Bowling'))
def duckling_names():
prefix = ['J', 'K', 'L', 'M', 'N', 'Ou', 'P', 'Qu']
suffix = 'ack'
for letter in prefix:
print(letter + suffix)
duckling_names()
def find(word, letter, startindex):
index = startindex
while index < len(word):
if word[index] == letter:
return index
index += 1
return -1
print(find('ramalamadingdong', 'i', 5))
print('ramalamadingdong'.find('i'))
def how_many_instances(word, letter):
count = 0
for digit in word:
if digit == letter:
count += 1
return count
print(how_many_instances('bananna', 'n'))
print('bananna'.count('n'))
def in_both(word1, word2):
for letter in word1:
if letter in word2:
print(letter)
in_both('apples', 'oranges')
def which_word_first(word1, word2):
if word1.lower() < word2.lower():
print(word1, 'comes before', word2)
else:
print(word2, 'comes before', word1)
which_word_first('Bear', 'aligator')
def is_reversed(word1, word2):
if len(word1) != len(word2):
return False
for (index, letter) in enumerate(word1):
if letter.lower() != word2[(index + 1) * -1].lower():
return False
return True
print(is_reversed('pots', 'Stop'))
print('0000000Get rid of all the damn zeros!0000000'.strip('0'))
print('xxxxxxxxxxxxxxxGet rid of all the x at the beginning'.lstrip('x'))
print('Get rid of all the x at the end!xxxxxxxxxxxxxxxxxxxx'.rstrip('x'))
print('I love apples, apples are the best, but nothing beats an apple'.replace('apples', 'oranges'))
def caeser_cypher(word, key):
"""
fails for some key range and letter combos, TODO: Find ord()
dictionary(?) and adjust ranges to properly wrap.
"""
cypher_word = ''
for letter in word:
cypher_word += chr(ord(letter) + key)
return cypher_word
print(caeser_cypher('cheer', 7)) |
def calc_combinations(names, n, combs=[]):
if len(combs) == n:
print(", ".join(combs))
for i in range(len(names)):
name = names[i]
combs.append(name)
calc_combinations(names[i+1:], n, combs)
combs.pop()
names = input().split(", ")
n = int(input())
calc_combinations(names, n) | def calc_combinations(names, n, combs=[]):
if len(combs) == n:
print(', '.join(combs))
for i in range(len(names)):
name = names[i]
combs.append(name)
calc_combinations(names[i + 1:], n, combs)
combs.pop()
names = input().split(', ')
n = int(input())
calc_combinations(names, n) |
#! /usr/bin/python3
def partOne(arr):
timeStamp = int(arr[0])
busses = []
tmp = [x for x in arr[1].split(',')]
for x in tmp:
if x != 'x':
busses.append(int(x))
maxTime = max(busses)
calculateTimeStamp = timeStamp + maxTime
# shortest waittime ?
# find bus near timestamp
busses.sort()
sol = {}
keys = []
for y in busses:
# only calculating the interval
tmp = timeStamp - maxTime
while tmp < calculateTimeStamp:
tmp += 1
if tmp % y == 0 and tmp > timeStamp:
sol[tmp] = y
keys.append(tmp)
keys.sort()
earliest_timestamp = keys.pop(0)
bus = sol[earliest_timestamp]
diff = earliest_timestamp - timeStamp
print(bus, diff, bus*diff)
def partTwo(arr):
# one gold coin for anyone that can find the earliest timestamp such that the first bus ID
# departs at that time and each subsequent listed bus ID departs at that subsequent minute
tmp = [x for x in arr[1].split(',')]
_count = -1
bus_map = {}
busses = []
for x in tmp:
_count += 1
if x == 'x':
continue
bus_map[int(x)] = _count
busses.append(int(x))
print(busses, bus_map)
# timestamp where each bus is one minute appart
# finding numbers in series, but the difference from each letters varies
_counter = 0
_rem = busses[0]
# two values start at different. find point where there are subsequent
for i, _b in enumerate(busses):
if i + 1 == len(busses):
break
# next bus value
_b = busses[i+1]
while (_counter + bus_map[_b]) % _b != 0:
_counter += _rem
_rem = _rem * _b
print(_b, _rem, _counter)
print("found", _counter)
inputs = [x.strip() for x in open('input.txt', 'r').readlines()]
# partOne(inputs)
partTwo(inputs)
| def part_one(arr):
time_stamp = int(arr[0])
busses = []
tmp = [x for x in arr[1].split(',')]
for x in tmp:
if x != 'x':
busses.append(int(x))
max_time = max(busses)
calculate_time_stamp = timeStamp + maxTime
busses.sort()
sol = {}
keys = []
for y in busses:
tmp = timeStamp - maxTime
while tmp < calculateTimeStamp:
tmp += 1
if tmp % y == 0 and tmp > timeStamp:
sol[tmp] = y
keys.append(tmp)
keys.sort()
earliest_timestamp = keys.pop(0)
bus = sol[earliest_timestamp]
diff = earliest_timestamp - timeStamp
print(bus, diff, bus * diff)
def part_two(arr):
tmp = [x for x in arr[1].split(',')]
_count = -1
bus_map = {}
busses = []
for x in tmp:
_count += 1
if x == 'x':
continue
bus_map[int(x)] = _count
busses.append(int(x))
print(busses, bus_map)
_counter = 0
_rem = busses[0]
for (i, _b) in enumerate(busses):
if i + 1 == len(busses):
break
_b = busses[i + 1]
while (_counter + bus_map[_b]) % _b != 0:
_counter += _rem
_rem = _rem * _b
print(_b, _rem, _counter)
print('found', _counter)
inputs = [x.strip() for x in open('input.txt', 'r').readlines()]
part_two(inputs) |
def main(request, response):
if b'mime' in request.GET:
return [(b'Content-Type', request.GET[b'mime'])], b""
return [], b""
| def main(request, response):
if b'mime' in request.GET:
return ([(b'Content-Type', request.GET[b'mime'])], b'')
return ([], b'') |
#!/usr/bin/env python
"""Interface for packaging"""
__author__ = 'edelman@room77.com (Nicholas Edelman)'
__copyright__ = 'Copyright 2013 Room77, Inc.'
class PkgRulesInterface(object):
"""Base class for making packages"""
@classmethod
def make_package(cls, rule):
"""Generates a package
Args:
rule: rule to generate the package
Returns:
tuple(string, string) the package name followed by the package
version name (e.g. $pkgname_$timestamp)
"""
raise NotImplementedError
| """Interface for packaging"""
__author__ = 'edelman@room77.com (Nicholas Edelman)'
__copyright__ = 'Copyright 2013 Room77, Inc.'
class Pkgrulesinterface(object):
"""Base class for making packages"""
@classmethod
def make_package(cls, rule):
"""Generates a package
Args:
rule: rule to generate the package
Returns:
tuple(string, string) the package name followed by the package
version name (e.g. $pkgname_$timestamp)
"""
raise NotImplementedError |
N = int(input())
if -(2 ** 31) <= N < 2 ** 31:
print("Yes")
else:
print("No") | n = int(input())
if -2 ** 31 <= N < 2 ** 31:
print('Yes')
else:
print('No') |
def motif_and_its_rev_comp_counter(motif, sample):
counter_of_motif = 0
counter_of_res_comp_motif = 0
for i in range(len(sample)):
if sample.startswith(motif, i):
counter_of_motif += 1
comp_pairs = {'A': 'T', 'T': 'A', 'C': 'G', 'G': 'C'}
rev_comp_of_motif = ''
for i in motif:
rev_comp_of_motif += comp_pairs[i]
rev_comp_of_motif = rev_comp_of_motif[::-1]
for i in range(len(sample)):
if sample.startswith(rev_comp_of_motif, i):
counter_of_res_comp_motif += 1
total_count = counter_of_motif + counter_of_res_comp_motif
return f'The total count of the motif and its reverse complement is {total_count}\n' \
f'{counter_of_motif} for the motif, which is {motif}\n' \
f'{counter_of_res_comp_motif} for its reverse complement, which is {rev_comp_of_motif}'
# print(motif_and_its_rev_comp_counter('GGTGGTAGG', 'AACTCTATACCTCCTTTTTGTCGAATTTGTGTGATTTATAGAGAAAATCTTATTAACTGAAACTAAAATGGTAGGTTTGGTGGTAGGTTTTGTGTACATTTTGTAGTATCTGATTTTTAATTACATACCGTATATTGTATTAAATTGACGAACAATTGCATGGAATTGAATATATGCAAAACAAACCTACCACCAAACTCTGTATTGACCATTTTAGGACAACTTCAGGGTGGTAGGTTTCTGAAGCTCTCATCAATAGACTATTTTAGTCTTTACAAACAATATTACCGTTCAGATTCAAGATTCTACAACGCTGTTTTAATGGGCGTTGCAGAAAACTTACCACCTAAAATCCAGTATCCAAGCCGATTTCAGAGAAACCTACCACTTACCTACCACTTACCTACCACCCGGGTGGTAAGTTGCAGACATTATTAAAAACCTCATCAGAAGCTTGTTCAAAAATTTCAATACTCGAAACCTACCACCTGCGTCCCCTATTATTTACTACTACTAATAATAGCAGTATAATTGATCTGA'))
| def motif_and_its_rev_comp_counter(motif, sample):
counter_of_motif = 0
counter_of_res_comp_motif = 0
for i in range(len(sample)):
if sample.startswith(motif, i):
counter_of_motif += 1
comp_pairs = {'A': 'T', 'T': 'A', 'C': 'G', 'G': 'C'}
rev_comp_of_motif = ''
for i in motif:
rev_comp_of_motif += comp_pairs[i]
rev_comp_of_motif = rev_comp_of_motif[::-1]
for i in range(len(sample)):
if sample.startswith(rev_comp_of_motif, i):
counter_of_res_comp_motif += 1
total_count = counter_of_motif + counter_of_res_comp_motif
return f'The total count of the motif and its reverse complement is {total_count}\n{counter_of_motif} for the motif, which is {motif}\n{counter_of_res_comp_motif} for its reverse complement, which is {rev_comp_of_motif}' |
"""
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the
characters without disturbing the relative positions of the remaining characters. (ie, "ACE" is a subsequence of
"ABCDE" while "AEC" is not).
Here is an example:
S = "rabbbit", T = "rabbit"
Return 3.
"""
__author__ = 'Danyang'
class Solution:
def numDistinct(self, S, T):
"""
Algorithm: dp, sub-sequence and matching
Let W(i, j) stand for the number of subsequences of S(0, i) in T(0, j).
If S.charAt(i) == T.charAt(j), W(i, j) = W(i-1, j-1) + W(i-1,j); Otherwise, W(i, j) = W(i-1,j).
reference: http://www.programcreek.com/2013/01/leetcode-distinct-subsequences-total-java/
- r a b b b i t
- 1 1 1 1 1 1 1 1
r 0 1 1 1 1 1 1 1
a 0 0 1 1 1 1 1 1
b 0 0 0 1 2 3 3 3
b 0 0 0 0 1 3 3 3
i 0 0 0 0 0 0 3 3
t 0 0 0 0 0 0 0 3
Thought:
(in this case, S as the vertical line, T as the horizontal line
f[i][j] is the number of distant subsequences of T[:j] in S[:i]
f[i][j] is at least f[i-1][j]
if S[i]==T[j]:
transit from f[i-1][j-1] (if you delete both S[i] and T[j])
f[i][j] += f[i-1][j-1]
:param S: string
:param T: string
:return: integer
"""
len_s = len(S)
len_t = len(T)
dp = [[-1 for _ in xrange(len_s+1)] for _ in xrange(len_t+1)]
for col in xrange(len_s+1):
dp[0][col] = 1
for row in xrange(1, len_t+1):
dp[row][0] = 0
for row in xrange(1, len_t+1):
for col in xrange(1, len_s+1):
if S[col-1]==T[row-1]:
dp[row][col] = dp[row][col-1]+dp[row-1][col-1]
else:
dp[row][col] = dp[row][col-1]
return dp[-1][-1]
if __name__=="__main__":
assert Solution().numDistinct("rabbbit", "rabbit")==3 | """
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the
characters without disturbing the relative positions of the remaining characters. (ie, "ACE" is a subsequence of
"ABCDE" while "AEC" is not).
Here is an example:
S = "rabbbit", T = "rabbit"
Return 3.
"""
__author__ = 'Danyang'
class Solution:
def num_distinct(self, S, T):
"""
Algorithm: dp, sub-sequence and matching
Let W(i, j) stand for the number of subsequences of S(0, i) in T(0, j).
If S.charAt(i) == T.charAt(j), W(i, j) = W(i-1, j-1) + W(i-1,j); Otherwise, W(i, j) = W(i-1,j).
reference: http://www.programcreek.com/2013/01/leetcode-distinct-subsequences-total-java/
- r a b b b i t
- 1 1 1 1 1 1 1 1
r 0 1 1 1 1 1 1 1
a 0 0 1 1 1 1 1 1
b 0 0 0 1 2 3 3 3
b 0 0 0 0 1 3 3 3
i 0 0 0 0 0 0 3 3
t 0 0 0 0 0 0 0 3
Thought:
(in this case, S as the vertical line, T as the horizontal line
f[i][j] is the number of distant subsequences of T[:j] in S[:i]
f[i][j] is at least f[i-1][j]
if S[i]==T[j]:
transit from f[i-1][j-1] (if you delete both S[i] and T[j])
f[i][j] += f[i-1][j-1]
:param S: string
:param T: string
:return: integer
"""
len_s = len(S)
len_t = len(T)
dp = [[-1 for _ in xrange(len_s + 1)] for _ in xrange(len_t + 1)]
for col in xrange(len_s + 1):
dp[0][col] = 1
for row in xrange(1, len_t + 1):
dp[row][0] = 0
for row in xrange(1, len_t + 1):
for col in xrange(1, len_s + 1):
if S[col - 1] == T[row - 1]:
dp[row][col] = dp[row][col - 1] + dp[row - 1][col - 1]
else:
dp[row][col] = dp[row][col - 1]
return dp[-1][-1]
if __name__ == '__main__':
assert solution().numDistinct('rabbbit', 'rabbit') == 3 |
#!/usr/bin/env python3
# coding: utf8
if __name__ == "__main__":
pass
| if __name__ == '__main__':
pass |
def piece_wise_linear_fn(x, y_0,y_1,x_0,x_1):
'''
This fn computes y_0 + (y_1 - y_0)/(x_1-x_0)*(x - x_0),
i.e. a fn with offset y_0 and slope (y_1 - y_0)/(x_1-x_0)
before x_0 the value is returned as y_0
after x_1 the value is returned as y_1
:param y_0:
:param y_1:
:param x_0:
:param x__1:
:return:
'''
x = max(x,x_0)
x = min(x,x_1)
if x_1 == x_0:
return y_1
return y_0 + ((y_1-y_0)/(x_1-x_0))*(x-x_0) | def piece_wise_linear_fn(x, y_0, y_1, x_0, x_1):
"""
This fn computes y_0 + (y_1 - y_0)/(x_1-x_0)*(x - x_0),
i.e. a fn with offset y_0 and slope (y_1 - y_0)/(x_1-x_0)
before x_0 the value is returned as y_0
after x_1 the value is returned as y_1
:param y_0:
:param y_1:
:param x_0:
:param x__1:
:return:
"""
x = max(x, x_0)
x = min(x, x_1)
if x_1 == x_0:
return y_1
return y_0 + (y_1 - y_0) / (x_1 - x_0) * (x - x_0) |
class Solution:
"""
@param nums: a list of integers
@param m: an integer
@return: return a integer
"""
def splitArray(self, nums, m):
# write your code here
start, end = max(nums), sum(nums)
def doable(target):
count = 1
sum = 0
for num in nums:
if sum + num > target:
count += 1
if count > m:
return False
sum = num
else:
sum += num
return True
while start < end:
mid = (start + end) // 2
if doable(mid):
end = mid
else:
start = mid + 1
return start
| class Solution:
"""
@param nums: a list of integers
@param m: an integer
@return: return a integer
"""
def split_array(self, nums, m):
(start, end) = (max(nums), sum(nums))
def doable(target):
count = 1
sum = 0
for num in nums:
if sum + num > target:
count += 1
if count > m:
return False
sum = num
else:
sum += num
return True
while start < end:
mid = (start + end) // 2
if doable(mid):
end = mid
else:
start = mid + 1
return start |
#
# PySNMP MIB module Nortel-Magellan-Passport-VnsMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-VnsMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:19:20 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)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
rtgIndex, rtg = mibBuilder.importSymbols("Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex", "rtg")
RowStatus, Integer32, InterfaceIndex, StorageType, Unsigned32, DisplayString, RowPointer, PassportCounter64 = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "RowStatus", "Integer32", "InterfaceIndex", "StorageType", "Unsigned32", "DisplayString", "RowPointer", "PassportCounter64")
AsciiStringIndex, Link = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "AsciiStringIndex", "Link")
passportMIBs, = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "passportMIBs")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
IpAddress, Integer32, Gauge32, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Bits, Counter64, ModuleIdentity, TimeTicks, Counter32, Unsigned32, NotificationType, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Integer32", "Gauge32", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Bits", "Counter64", "ModuleIdentity", "TimeTicks", "Counter32", "Unsigned32", "NotificationType", "MibIdentifier")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
vnsMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20))
rtgVns = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3))
rtgVnsRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1), )
if mibBuilder.loadTexts: rtgVnsRowStatusTable.setStatus('mandatory')
rtgVnsRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsRowStatusEntry.setStatus('mandatory')
rtgVnsRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 1), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsRowStatus.setStatus('mandatory')
rtgVnsComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsComponentName.setStatus('mandatory')
rtgVnsStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsStorageType.setStatus('mandatory')
rtgVnsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12)))
if mibBuilder.loadTexts: rtgVnsIndex.setStatus('mandatory')
rtgVnsProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10), )
if mibBuilder.loadTexts: rtgVnsProvTable.setStatus('mandatory')
rtgVnsProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsProvEntry.setStatus('mandatory')
rtgVnsLogicalNetworkNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(2, 2047))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsLogicalNetworkNumber.setStatus('mandatory')
rtgVnsLinkToProtocolPort = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 2), Link()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsLinkToProtocolPort.setStatus('mandatory')
rtgVnsMaximumTransmissionUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(2048, 65535)).clone(2048)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsMaximumTransmissionUnit.setStatus('mandatory')
rtgVnsLoadSharing = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsLoadSharing.setStatus('mandatory')
rtgVnsDiscardPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3)).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsDiscardPriority.setStatus('obsolete')
rtgVnsIlsForwarder = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 6), Link()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsIlsForwarder.setStatus('mandatory')
rtgVnsIfEntryTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11), )
if mibBuilder.loadTexts: rtgVnsIfEntryTable.setStatus('mandatory')
rtgVnsIfEntryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsIfEntryEntry.setStatus('mandatory')
rtgVnsIfAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsIfAdminStatus.setStatus('mandatory')
rtgVnsIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11, 1, 2), InterfaceIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsIfIndex.setStatus('mandatory')
rtgVnsCidDataTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 12), )
if mibBuilder.loadTexts: rtgVnsCidDataTable.setStatus('mandatory')
rtgVnsCidDataEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsCidDataEntry.setStatus('mandatory')
rtgVnsCustomerIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 12, 1, 1), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 8191), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rtgVnsCustomerIdentifier.setStatus('mandatory')
rtgVnsStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14), )
if mibBuilder.loadTexts: rtgVnsStateTable.setStatus('mandatory')
rtgVnsStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsStateEntry.setStatus('mandatory')
rtgVnsAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsAdminState.setStatus('mandatory')
rtgVnsOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsOperationalState.setStatus('mandatory')
rtgVnsUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUsageState.setStatus('mandatory')
rtgVnsOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 15), )
if mibBuilder.loadTexts: rtgVnsOperTable.setStatus('mandatory')
rtgVnsOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 15, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsOperEntry.setStatus('mandatory')
rtgVnsReportedThroughputMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 15, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsReportedThroughputMetric.setStatus('mandatory')
rtgVnsFwdStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16), )
if mibBuilder.loadTexts: rtgVnsFwdStatsTable.setStatus('mandatory')
rtgVnsFwdStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"))
if mibBuilder.loadTexts: rtgVnsFwdStatsEntry.setStatus('mandatory')
rtgVnsUniRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 1), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUniRxPkts.setStatus('mandatory')
rtgVnsUniRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 2), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUniRxBytes.setStatus('mandatory')
rtgVnsUniRxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 3), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUniRxDiscPkts.setStatus('mandatory')
rtgVnsUniTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 4), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUniTxPkts.setStatus('mandatory')
rtgVnsUniTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 5), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUniTxBytes.setStatus('mandatory')
rtgVnsUniTxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 6), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsUniTxDiscPkts.setStatus('mandatory')
rtgVnsMultiRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 7), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsMultiRxPkts.setStatus('mandatory')
rtgVnsMultiRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 8), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsMultiRxBytes.setStatus('mandatory')
rtgVnsMultiRxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 9), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsMultiRxDiscPkts.setStatus('mandatory')
rtgVnsMultiTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 10), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsMultiTxPkts.setStatus('mandatory')
rtgVnsMultiTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 11), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsMultiTxBytes.setStatus('mandatory')
rtgVnsMultiTxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 12), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsMultiTxDiscPkts.setStatus('mandatory')
rtgVnsTotalRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 13), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsTotalRxPkts.setStatus('mandatory')
rtgVnsTotalRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 14), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsTotalRxBytes.setStatus('mandatory')
rtgVnsTotalRxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 15), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsTotalRxDiscPkts.setStatus('mandatory')
rtgVnsTotalTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 16), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsTotalTxPkts.setStatus('mandatory')
rtgVnsTotalTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 17), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsTotalTxBytes.setStatus('mandatory')
rtgVnsTotalTxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 18), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsTotalTxDiscPkts.setStatus('mandatory')
rtgVnsNode = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2))
rtgVnsNodeRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1), )
if mibBuilder.loadTexts: rtgVnsNodeRowStatusTable.setStatus('mandatory')
rtgVnsNodeRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsNodeIndex"))
if mibBuilder.loadTexts: rtgVnsNodeRowStatusEntry.setStatus('mandatory')
rtgVnsNodeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsNodeRowStatus.setStatus('mandatory')
rtgVnsNodeComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsNodeComponentName.setStatus('mandatory')
rtgVnsNodeStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsNodeStorageType.setStatus('mandatory')
rtgVnsNodeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095)))
if mibBuilder.loadTexts: rtgVnsNodeIndex.setStatus('mandatory')
rtgVnsNodeOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10), )
if mibBuilder.loadTexts: rtgVnsNodeOperTable.setStatus('mandatory')
rtgVnsNodeOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsNodeIndex"))
if mibBuilder.loadTexts: rtgVnsNodeOperEntry.setStatus('mandatory')
rtgVnsNodeMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsNodeMetric.setStatus('mandatory')
rtgVnsNodeNextHopLinkGroup1 = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1, 2), RowPointer()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsNodeNextHopLinkGroup1.setStatus('mandatory')
rtgVnsNodeNextHopLinkGroup2 = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1, 3), RowPointer()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsNodeNextHopLinkGroup2.setStatus('mandatory')
rtgVnsLpStats = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3))
rtgVnsLpStatsRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1), )
if mibBuilder.loadTexts: rtgVnsLpStatsRowStatusTable.setStatus('mandatory')
rtgVnsLpStatsRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsLpStatsIndex"))
if mibBuilder.loadTexts: rtgVnsLpStatsRowStatusEntry.setStatus('mandatory')
rtgVnsLpStatsRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsRowStatus.setStatus('mandatory')
rtgVnsLpStatsComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsComponentName.setStatus('mandatory')
rtgVnsLpStatsStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsStorageType.setStatus('mandatory')
rtgVnsLpStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15)))
if mibBuilder.loadTexts: rtgVnsLpStatsIndex.setStatus('mandatory')
rtgVnsLpStatsFwdStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2), )
if mibBuilder.loadTexts: rtgVnsLpStatsFwdStatsTable.setStatus('mandatory')
rtgVnsLpStatsFwdStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsIndex"), (0, "Nortel-Magellan-Passport-VnsMIB", "rtgVnsLpStatsIndex"))
if mibBuilder.loadTexts: rtgVnsLpStatsFwdStatsEntry.setStatus('mandatory')
rtgVnsLpStatsUniRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 1), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsUniRxPkts.setStatus('mandatory')
rtgVnsLpStatsUniRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 2), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsUniRxBytes.setStatus('mandatory')
rtgVnsLpStatsUniRxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 3), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsUniRxDiscPkts.setStatus('mandatory')
rtgVnsLpStatsUniTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 4), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsUniTxPkts.setStatus('mandatory')
rtgVnsLpStatsUniTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 5), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsUniTxBytes.setStatus('mandatory')
rtgVnsLpStatsUniTxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 6), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsUniTxDiscPkts.setStatus('mandatory')
rtgVnsLpStatsMultiRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 7), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsMultiRxPkts.setStatus('mandatory')
rtgVnsLpStatsMultiRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 8), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsMultiRxBytes.setStatus('mandatory')
rtgVnsLpStatsMultiRxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 9), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsMultiRxDiscPkts.setStatus('mandatory')
rtgVnsLpStatsMultiTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 10), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsMultiTxPkts.setStatus('mandatory')
rtgVnsLpStatsMultiTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 11), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsMultiTxBytes.setStatus('mandatory')
rtgVnsLpStatsMultiTxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 12), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsMultiTxDiscPkts.setStatus('mandatory')
rtgVnsLpStatsTotalRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 13), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsTotalRxPkts.setStatus('mandatory')
rtgVnsLpStatsTotalRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 14), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsTotalRxBytes.setStatus('mandatory')
rtgVnsLpStatsTotalRxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 15), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsTotalRxDiscPkts.setStatus('mandatory')
rtgVnsLpStatsTotalTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 16), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsTotalTxPkts.setStatus('mandatory')
rtgVnsLpStatsTotalTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 17), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsTotalTxBytes.setStatus('mandatory')
rtgVnsLpStatsTotalTxDiscPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 18), PassportCounter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rtgVnsLpStatsTotalTxDiscPkts.setStatus('mandatory')
vnsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1))
vnsGroupBD = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1, 4))
vnsGroupBD00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1, 4, 1))
vnsGroupBD00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1, 4, 1, 2))
vnsCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3))
vnsCapabilitiesBD = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3, 4))
vnsCapabilitiesBD00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3, 4, 1))
vnsCapabilitiesBD00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3, 4, 1, 2))
mibBuilder.exportSymbols("Nortel-Magellan-Passport-VnsMIB", rtgVnsMultiRxBytes=rtgVnsMultiRxBytes, vnsCapabilities=vnsCapabilities, rtgVnsLpStatsUniRxDiscPkts=rtgVnsLpStatsUniRxDiscPkts, rtgVnsFwdStatsTable=rtgVnsFwdStatsTable, rtgVnsComponentName=rtgVnsComponentName, rtgVnsIfEntryTable=rtgVnsIfEntryTable, rtgVnsProvEntry=rtgVnsProvEntry, rtgVnsIfIndex=rtgVnsIfIndex, rtgVnsNodeRowStatusTable=rtgVnsNodeRowStatusTable, rtgVnsLpStatsMultiRxPkts=rtgVnsLpStatsMultiRxPkts, rtgVnsStateEntry=rtgVnsStateEntry, rtgVnsRowStatusEntry=rtgVnsRowStatusEntry, rtgVns=rtgVns, rtgVnsTotalRxPkts=rtgVnsTotalRxPkts, rtgVnsFwdStatsEntry=rtgVnsFwdStatsEntry, rtgVnsLpStatsTotalTxDiscPkts=rtgVnsLpStatsTotalTxDiscPkts, rtgVnsNodeMetric=rtgVnsNodeMetric, rtgVnsMultiTxDiscPkts=rtgVnsMultiTxDiscPkts, rtgVnsLpStatsTotalRxPkts=rtgVnsLpStatsTotalRxPkts, rtgVnsIfAdminStatus=rtgVnsIfAdminStatus, rtgVnsLpStats=rtgVnsLpStats, vnsGroupBD=vnsGroupBD, rtgVnsLpStatsTotalTxBytes=rtgVnsLpStatsTotalTxBytes, rtgVnsIfEntryEntry=rtgVnsIfEntryEntry, rtgVnsMaximumTransmissionUnit=rtgVnsMaximumTransmissionUnit, vnsCapabilitiesBD00=vnsCapabilitiesBD00, rtgVnsDiscardPriority=rtgVnsDiscardPriority, rtgVnsProvTable=rtgVnsProvTable, rtgVnsLpStatsUniTxBytes=rtgVnsLpStatsUniTxBytes, vnsCapabilitiesBD00A=vnsCapabilitiesBD00A, rtgVnsLogicalNetworkNumber=rtgVnsLogicalNetworkNumber, rtgVnsLpStatsMultiTxDiscPkts=rtgVnsLpStatsMultiTxDiscPkts, rtgVnsMultiTxBytes=rtgVnsMultiTxBytes, vnsGroupBD00A=vnsGroupBD00A, rtgVnsRowStatus=rtgVnsRowStatus, rtgVnsLinkToProtocolPort=rtgVnsLinkToProtocolPort, rtgVnsStorageType=rtgVnsStorageType, rtgVnsNodeRowStatusEntry=rtgVnsNodeRowStatusEntry, rtgVnsTotalRxBytes=rtgVnsTotalRxBytes, rtgVnsLpStatsFwdStatsTable=rtgVnsLpStatsFwdStatsTable, rtgVnsRowStatusTable=rtgVnsRowStatusTable, rtgVnsNodeIndex=rtgVnsNodeIndex, rtgVnsCustomerIdentifier=rtgVnsCustomerIdentifier, rtgVnsIndex=rtgVnsIndex, rtgVnsUniRxDiscPkts=rtgVnsUniRxDiscPkts, rtgVnsUniTxDiscPkts=rtgVnsUniTxDiscPkts, vnsGroupBD00=vnsGroupBD00, vnsCapabilitiesBD=vnsCapabilitiesBD, rtgVnsReportedThroughputMetric=rtgVnsReportedThroughputMetric, rtgVnsLpStatsUniTxPkts=rtgVnsLpStatsUniTxPkts, rtgVnsLpStatsComponentName=rtgVnsLpStatsComponentName, rtgVnsNodeOperEntry=rtgVnsNodeOperEntry, rtgVnsLpStatsRowStatusEntry=rtgVnsLpStatsRowStatusEntry, rtgVnsLpStatsRowStatus=rtgVnsLpStatsRowStatus, vnsGroup=vnsGroup, rtgVnsOperationalState=rtgVnsOperationalState, rtgVnsUsageState=rtgVnsUsageState, rtgVnsTotalTxDiscPkts=rtgVnsTotalTxDiscPkts, rtgVnsLpStatsMultiTxBytes=rtgVnsLpStatsMultiTxBytes, rtgVnsMultiRxDiscPkts=rtgVnsMultiRxDiscPkts, rtgVnsLpStatsRowStatusTable=rtgVnsLpStatsRowStatusTable, rtgVnsNodeNextHopLinkGroup2=rtgVnsNodeNextHopLinkGroup2, rtgVnsUniTxBytes=rtgVnsUniTxBytes, rtgVnsUniTxPkts=rtgVnsUniTxPkts, rtgVnsTotalTxPkts=rtgVnsTotalTxPkts, rtgVnsLpStatsIndex=rtgVnsLpStatsIndex, rtgVnsNodeComponentName=rtgVnsNodeComponentName, rtgVnsNodeRowStatus=rtgVnsNodeRowStatus, rtgVnsStateTable=rtgVnsStateTable, rtgVnsAdminState=rtgVnsAdminState, rtgVnsLpStatsTotalTxPkts=rtgVnsLpStatsTotalTxPkts, rtgVnsTotalTxBytes=rtgVnsTotalTxBytes, rtgVnsCidDataTable=rtgVnsCidDataTable, rtgVnsLoadSharing=rtgVnsLoadSharing, rtgVnsNodeStorageType=rtgVnsNodeStorageType, rtgVnsLpStatsMultiRxBytes=rtgVnsLpStatsMultiRxBytes, rtgVnsTotalRxDiscPkts=rtgVnsTotalRxDiscPkts, rtgVnsLpStatsFwdStatsEntry=rtgVnsLpStatsFwdStatsEntry, vnsMIB=vnsMIB, rtgVnsCidDataEntry=rtgVnsCidDataEntry, rtgVnsLpStatsMultiRxDiscPkts=rtgVnsLpStatsMultiRxDiscPkts, rtgVnsNodeNextHopLinkGroup1=rtgVnsNodeNextHopLinkGroup1, rtgVnsOperTable=rtgVnsOperTable, rtgVnsLpStatsStorageType=rtgVnsLpStatsStorageType, rtgVnsUniRxPkts=rtgVnsUniRxPkts, rtgVnsOperEntry=rtgVnsOperEntry, rtgVnsMultiTxPkts=rtgVnsMultiTxPkts, rtgVnsLpStatsTotalRxDiscPkts=rtgVnsLpStatsTotalRxDiscPkts, rtgVnsNodeOperTable=rtgVnsNodeOperTable, rtgVnsLpStatsUniRxBytes=rtgVnsLpStatsUniRxBytes, rtgVnsIlsForwarder=rtgVnsIlsForwarder, rtgVnsLpStatsUniTxDiscPkts=rtgVnsLpStatsUniTxDiscPkts, rtgVnsNode=rtgVnsNode, rtgVnsLpStatsTotalRxBytes=rtgVnsLpStatsTotalRxBytes, rtgVnsLpStatsMultiTxPkts=rtgVnsLpStatsMultiTxPkts, rtgVnsMultiRxPkts=rtgVnsMultiRxPkts, rtgVnsUniRxBytes=rtgVnsUniRxBytes, rtgVnsLpStatsUniRxPkts=rtgVnsLpStatsUniRxPkts)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(rtg_index, rtg) = mibBuilder.importSymbols('Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex', 'rtg')
(row_status, integer32, interface_index, storage_type, unsigned32, display_string, row_pointer, passport_counter64) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'RowStatus', 'Integer32', 'InterfaceIndex', 'StorageType', 'Unsigned32', 'DisplayString', 'RowPointer', 'PassportCounter64')
(ascii_string_index, link) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'AsciiStringIndex', 'Link')
(passport_mi_bs,) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'passportMIBs')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(ip_address, integer32, gauge32, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, bits, counter64, module_identity, time_ticks, counter32, unsigned32, notification_type, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'Integer32', 'Gauge32', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Bits', 'Counter64', 'ModuleIdentity', 'TimeTicks', 'Counter32', 'Unsigned32', 'NotificationType', 'MibIdentifier')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
vns_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20))
rtg_vns = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3))
rtg_vns_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1))
if mibBuilder.loadTexts:
rtgVnsRowStatusTable.setStatus('mandatory')
rtg_vns_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsRowStatusEntry.setStatus('mandatory')
rtg_vns_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 1), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsRowStatus.setStatus('mandatory')
rtg_vns_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsComponentName.setStatus('mandatory')
rtg_vns_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsStorageType.setStatus('mandatory')
rtg_vns_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12)))
if mibBuilder.loadTexts:
rtgVnsIndex.setStatus('mandatory')
rtg_vns_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10))
if mibBuilder.loadTexts:
rtgVnsProvTable.setStatus('mandatory')
rtg_vns_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsProvEntry.setStatus('mandatory')
rtg_vns_logical_network_number = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(2, 2047))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsLogicalNetworkNumber.setStatus('mandatory')
rtg_vns_link_to_protocol_port = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 2), link()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsLinkToProtocolPort.setStatus('mandatory')
rtg_vns_maximum_transmission_unit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(2048, 65535)).clone(2048)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsMaximumTransmissionUnit.setStatus('mandatory')
rtg_vns_load_sharing = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsLoadSharing.setStatus('mandatory')
rtg_vns_discard_priority = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 3)).clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsDiscardPriority.setStatus('obsolete')
rtg_vns_ils_forwarder = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 10, 1, 6), link()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsIlsForwarder.setStatus('mandatory')
rtg_vns_if_entry_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11))
if mibBuilder.loadTexts:
rtgVnsIfEntryTable.setStatus('mandatory')
rtg_vns_if_entry_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsIfEntryEntry.setStatus('mandatory')
rtg_vns_if_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsIfAdminStatus.setStatus('mandatory')
rtg_vns_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 11, 1, 2), interface_index().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsIfIndex.setStatus('mandatory')
rtg_vns_cid_data_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 12))
if mibBuilder.loadTexts:
rtgVnsCidDataTable.setStatus('mandatory')
rtg_vns_cid_data_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsCidDataEntry.setStatus('mandatory')
rtg_vns_customer_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 12, 1, 1), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 8191)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
rtgVnsCustomerIdentifier.setStatus('mandatory')
rtg_vns_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14))
if mibBuilder.loadTexts:
rtgVnsStateTable.setStatus('mandatory')
rtg_vns_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsStateEntry.setStatus('mandatory')
rtg_vns_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsAdminState.setStatus('mandatory')
rtg_vns_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsOperationalState.setStatus('mandatory')
rtg_vns_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 14, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUsageState.setStatus('mandatory')
rtg_vns_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 15))
if mibBuilder.loadTexts:
rtgVnsOperTable.setStatus('mandatory')
rtg_vns_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 15, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsOperEntry.setStatus('mandatory')
rtg_vns_reported_throughput_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 15, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsReportedThroughputMetric.setStatus('mandatory')
rtg_vns_fwd_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16))
if mibBuilder.loadTexts:
rtgVnsFwdStatsTable.setStatus('mandatory')
rtg_vns_fwd_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'))
if mibBuilder.loadTexts:
rtgVnsFwdStatsEntry.setStatus('mandatory')
rtg_vns_uni_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 1), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUniRxPkts.setStatus('mandatory')
rtg_vns_uni_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 2), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUniRxBytes.setStatus('mandatory')
rtg_vns_uni_rx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 3), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUniRxDiscPkts.setStatus('mandatory')
rtg_vns_uni_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 4), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUniTxPkts.setStatus('mandatory')
rtg_vns_uni_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 5), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUniTxBytes.setStatus('mandatory')
rtg_vns_uni_tx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 6), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsUniTxDiscPkts.setStatus('mandatory')
rtg_vns_multi_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 7), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsMultiRxPkts.setStatus('mandatory')
rtg_vns_multi_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 8), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsMultiRxBytes.setStatus('mandatory')
rtg_vns_multi_rx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 9), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsMultiRxDiscPkts.setStatus('mandatory')
rtg_vns_multi_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 10), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsMultiTxPkts.setStatus('mandatory')
rtg_vns_multi_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 11), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsMultiTxBytes.setStatus('mandatory')
rtg_vns_multi_tx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 12), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsMultiTxDiscPkts.setStatus('mandatory')
rtg_vns_total_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 13), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsTotalRxPkts.setStatus('mandatory')
rtg_vns_total_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 14), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsTotalRxBytes.setStatus('mandatory')
rtg_vns_total_rx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 15), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsTotalRxDiscPkts.setStatus('mandatory')
rtg_vns_total_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 16), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsTotalTxPkts.setStatus('mandatory')
rtg_vns_total_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 17), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsTotalTxBytes.setStatus('mandatory')
rtg_vns_total_tx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 16, 1, 18), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsTotalTxDiscPkts.setStatus('mandatory')
rtg_vns_node = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2))
rtg_vns_node_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1))
if mibBuilder.loadTexts:
rtgVnsNodeRowStatusTable.setStatus('mandatory')
rtg_vns_node_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsNodeIndex'))
if mibBuilder.loadTexts:
rtgVnsNodeRowStatusEntry.setStatus('mandatory')
rtg_vns_node_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsNodeRowStatus.setStatus('mandatory')
rtg_vns_node_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsNodeComponentName.setStatus('mandatory')
rtg_vns_node_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsNodeStorageType.setStatus('mandatory')
rtg_vns_node_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095)))
if mibBuilder.loadTexts:
rtgVnsNodeIndex.setStatus('mandatory')
rtg_vns_node_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10))
if mibBuilder.loadTexts:
rtgVnsNodeOperTable.setStatus('mandatory')
rtg_vns_node_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsNodeIndex'))
if mibBuilder.loadTexts:
rtgVnsNodeOperEntry.setStatus('mandatory')
rtg_vns_node_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsNodeMetric.setStatus('mandatory')
rtg_vns_node_next_hop_link_group1 = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1, 2), row_pointer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsNodeNextHopLinkGroup1.setStatus('mandatory')
rtg_vns_node_next_hop_link_group2 = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 2, 10, 1, 3), row_pointer()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsNodeNextHopLinkGroup2.setStatus('mandatory')
rtg_vns_lp_stats = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3))
rtg_vns_lp_stats_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1))
if mibBuilder.loadTexts:
rtgVnsLpStatsRowStatusTable.setStatus('mandatory')
rtg_vns_lp_stats_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsLpStatsIndex'))
if mibBuilder.loadTexts:
rtgVnsLpStatsRowStatusEntry.setStatus('mandatory')
rtg_vns_lp_stats_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 1), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsRowStatus.setStatus('mandatory')
rtg_vns_lp_stats_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsComponentName.setStatus('mandatory')
rtg_vns_lp_stats_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsStorageType.setStatus('mandatory')
rtg_vns_lp_stats_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 15)))
if mibBuilder.loadTexts:
rtgVnsLpStatsIndex.setStatus('mandatory')
rtg_vns_lp_stats_fwd_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2))
if mibBuilder.loadTexts:
rtgVnsLpStatsFwdStatsTable.setStatus('mandatory')
rtg_vns_lp_stats_fwd_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsIndex'), (0, 'Nortel-Magellan-Passport-VnsMIB', 'rtgVnsLpStatsIndex'))
if mibBuilder.loadTexts:
rtgVnsLpStatsFwdStatsEntry.setStatus('mandatory')
rtg_vns_lp_stats_uni_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 1), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsUniRxPkts.setStatus('mandatory')
rtg_vns_lp_stats_uni_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 2), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsUniRxBytes.setStatus('mandatory')
rtg_vns_lp_stats_uni_rx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 3), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsUniRxDiscPkts.setStatus('mandatory')
rtg_vns_lp_stats_uni_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 4), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsUniTxPkts.setStatus('mandatory')
rtg_vns_lp_stats_uni_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 5), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsUniTxBytes.setStatus('mandatory')
rtg_vns_lp_stats_uni_tx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 6), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsUniTxDiscPkts.setStatus('mandatory')
rtg_vns_lp_stats_multi_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 7), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsMultiRxPkts.setStatus('mandatory')
rtg_vns_lp_stats_multi_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 8), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsMultiRxBytes.setStatus('mandatory')
rtg_vns_lp_stats_multi_rx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 9), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsMultiRxDiscPkts.setStatus('mandatory')
rtg_vns_lp_stats_multi_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 10), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsMultiTxPkts.setStatus('mandatory')
rtg_vns_lp_stats_multi_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 11), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsMultiTxBytes.setStatus('mandatory')
rtg_vns_lp_stats_multi_tx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 12), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsMultiTxDiscPkts.setStatus('mandatory')
rtg_vns_lp_stats_total_rx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 13), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsTotalRxPkts.setStatus('mandatory')
rtg_vns_lp_stats_total_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 14), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsTotalRxBytes.setStatus('mandatory')
rtg_vns_lp_stats_total_rx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 15), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsTotalRxDiscPkts.setStatus('mandatory')
rtg_vns_lp_stats_total_tx_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 16), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsTotalTxPkts.setStatus('mandatory')
rtg_vns_lp_stats_total_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 17), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsTotalTxBytes.setStatus('mandatory')
rtg_vns_lp_stats_total_tx_disc_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 3, 3, 2, 1, 18), passport_counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
rtgVnsLpStatsTotalTxDiscPkts.setStatus('mandatory')
vns_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1))
vns_group_bd = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1, 4))
vns_group_bd00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1, 4, 1))
vns_group_bd00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 1, 4, 1, 2))
vns_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3))
vns_capabilities_bd = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3, 4))
vns_capabilities_bd00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3, 4, 1))
vns_capabilities_bd00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 20, 3, 4, 1, 2))
mibBuilder.exportSymbols('Nortel-Magellan-Passport-VnsMIB', rtgVnsMultiRxBytes=rtgVnsMultiRxBytes, vnsCapabilities=vnsCapabilities, rtgVnsLpStatsUniRxDiscPkts=rtgVnsLpStatsUniRxDiscPkts, rtgVnsFwdStatsTable=rtgVnsFwdStatsTable, rtgVnsComponentName=rtgVnsComponentName, rtgVnsIfEntryTable=rtgVnsIfEntryTable, rtgVnsProvEntry=rtgVnsProvEntry, rtgVnsIfIndex=rtgVnsIfIndex, rtgVnsNodeRowStatusTable=rtgVnsNodeRowStatusTable, rtgVnsLpStatsMultiRxPkts=rtgVnsLpStatsMultiRxPkts, rtgVnsStateEntry=rtgVnsStateEntry, rtgVnsRowStatusEntry=rtgVnsRowStatusEntry, rtgVns=rtgVns, rtgVnsTotalRxPkts=rtgVnsTotalRxPkts, rtgVnsFwdStatsEntry=rtgVnsFwdStatsEntry, rtgVnsLpStatsTotalTxDiscPkts=rtgVnsLpStatsTotalTxDiscPkts, rtgVnsNodeMetric=rtgVnsNodeMetric, rtgVnsMultiTxDiscPkts=rtgVnsMultiTxDiscPkts, rtgVnsLpStatsTotalRxPkts=rtgVnsLpStatsTotalRxPkts, rtgVnsIfAdminStatus=rtgVnsIfAdminStatus, rtgVnsLpStats=rtgVnsLpStats, vnsGroupBD=vnsGroupBD, rtgVnsLpStatsTotalTxBytes=rtgVnsLpStatsTotalTxBytes, rtgVnsIfEntryEntry=rtgVnsIfEntryEntry, rtgVnsMaximumTransmissionUnit=rtgVnsMaximumTransmissionUnit, vnsCapabilitiesBD00=vnsCapabilitiesBD00, rtgVnsDiscardPriority=rtgVnsDiscardPriority, rtgVnsProvTable=rtgVnsProvTable, rtgVnsLpStatsUniTxBytes=rtgVnsLpStatsUniTxBytes, vnsCapabilitiesBD00A=vnsCapabilitiesBD00A, rtgVnsLogicalNetworkNumber=rtgVnsLogicalNetworkNumber, rtgVnsLpStatsMultiTxDiscPkts=rtgVnsLpStatsMultiTxDiscPkts, rtgVnsMultiTxBytes=rtgVnsMultiTxBytes, vnsGroupBD00A=vnsGroupBD00A, rtgVnsRowStatus=rtgVnsRowStatus, rtgVnsLinkToProtocolPort=rtgVnsLinkToProtocolPort, rtgVnsStorageType=rtgVnsStorageType, rtgVnsNodeRowStatusEntry=rtgVnsNodeRowStatusEntry, rtgVnsTotalRxBytes=rtgVnsTotalRxBytes, rtgVnsLpStatsFwdStatsTable=rtgVnsLpStatsFwdStatsTable, rtgVnsRowStatusTable=rtgVnsRowStatusTable, rtgVnsNodeIndex=rtgVnsNodeIndex, rtgVnsCustomerIdentifier=rtgVnsCustomerIdentifier, rtgVnsIndex=rtgVnsIndex, rtgVnsUniRxDiscPkts=rtgVnsUniRxDiscPkts, rtgVnsUniTxDiscPkts=rtgVnsUniTxDiscPkts, vnsGroupBD00=vnsGroupBD00, vnsCapabilitiesBD=vnsCapabilitiesBD, rtgVnsReportedThroughputMetric=rtgVnsReportedThroughputMetric, rtgVnsLpStatsUniTxPkts=rtgVnsLpStatsUniTxPkts, rtgVnsLpStatsComponentName=rtgVnsLpStatsComponentName, rtgVnsNodeOperEntry=rtgVnsNodeOperEntry, rtgVnsLpStatsRowStatusEntry=rtgVnsLpStatsRowStatusEntry, rtgVnsLpStatsRowStatus=rtgVnsLpStatsRowStatus, vnsGroup=vnsGroup, rtgVnsOperationalState=rtgVnsOperationalState, rtgVnsUsageState=rtgVnsUsageState, rtgVnsTotalTxDiscPkts=rtgVnsTotalTxDiscPkts, rtgVnsLpStatsMultiTxBytes=rtgVnsLpStatsMultiTxBytes, rtgVnsMultiRxDiscPkts=rtgVnsMultiRxDiscPkts, rtgVnsLpStatsRowStatusTable=rtgVnsLpStatsRowStatusTable, rtgVnsNodeNextHopLinkGroup2=rtgVnsNodeNextHopLinkGroup2, rtgVnsUniTxBytes=rtgVnsUniTxBytes, rtgVnsUniTxPkts=rtgVnsUniTxPkts, rtgVnsTotalTxPkts=rtgVnsTotalTxPkts, rtgVnsLpStatsIndex=rtgVnsLpStatsIndex, rtgVnsNodeComponentName=rtgVnsNodeComponentName, rtgVnsNodeRowStatus=rtgVnsNodeRowStatus, rtgVnsStateTable=rtgVnsStateTable, rtgVnsAdminState=rtgVnsAdminState, rtgVnsLpStatsTotalTxPkts=rtgVnsLpStatsTotalTxPkts, rtgVnsTotalTxBytes=rtgVnsTotalTxBytes, rtgVnsCidDataTable=rtgVnsCidDataTable, rtgVnsLoadSharing=rtgVnsLoadSharing, rtgVnsNodeStorageType=rtgVnsNodeStorageType, rtgVnsLpStatsMultiRxBytes=rtgVnsLpStatsMultiRxBytes, rtgVnsTotalRxDiscPkts=rtgVnsTotalRxDiscPkts, rtgVnsLpStatsFwdStatsEntry=rtgVnsLpStatsFwdStatsEntry, vnsMIB=vnsMIB, rtgVnsCidDataEntry=rtgVnsCidDataEntry, rtgVnsLpStatsMultiRxDiscPkts=rtgVnsLpStatsMultiRxDiscPkts, rtgVnsNodeNextHopLinkGroup1=rtgVnsNodeNextHopLinkGroup1, rtgVnsOperTable=rtgVnsOperTable, rtgVnsLpStatsStorageType=rtgVnsLpStatsStorageType, rtgVnsUniRxPkts=rtgVnsUniRxPkts, rtgVnsOperEntry=rtgVnsOperEntry, rtgVnsMultiTxPkts=rtgVnsMultiTxPkts, rtgVnsLpStatsTotalRxDiscPkts=rtgVnsLpStatsTotalRxDiscPkts, rtgVnsNodeOperTable=rtgVnsNodeOperTable, rtgVnsLpStatsUniRxBytes=rtgVnsLpStatsUniRxBytes, rtgVnsIlsForwarder=rtgVnsIlsForwarder, rtgVnsLpStatsUniTxDiscPkts=rtgVnsLpStatsUniTxDiscPkts, rtgVnsNode=rtgVnsNode, rtgVnsLpStatsTotalRxBytes=rtgVnsLpStatsTotalRxBytes, rtgVnsLpStatsMultiTxPkts=rtgVnsLpStatsMultiTxPkts, rtgVnsMultiRxPkts=rtgVnsMultiRxPkts, rtgVnsUniRxBytes=rtgVnsUniRxBytes, rtgVnsLpStatsUniRxPkts=rtgVnsLpStatsUniRxPkts) |
def selection_sort(ar):
n = len(ar)
for k in range(n):
minimal = k
for j in range(k + 1, n):
if ar[j] < ar[minimal]:
minimal = j
print(k, j, minimal, ar)
ar[k], ar[minimal] = ar[minimal], ar[k]
return ar
ar = [1, 5, 2, 7, 9, 6]
res = selection_sort(ar)
print("Finally result: ", res)
| def selection_sort(ar):
n = len(ar)
for k in range(n):
minimal = k
for j in range(k + 1, n):
if ar[j] < ar[minimal]:
minimal = j
print(k, j, minimal, ar)
(ar[k], ar[minimal]) = (ar[minimal], ar[k])
return ar
ar = [1, 5, 2, 7, 9, 6]
res = selection_sort(ar)
print('Finally result: ', res) |
# coding = utf-8
vis_js_template = """
<html>
<head>
<script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,700;1,100&display=swap" rel="stylesheet">
<style type="text/css">
#mynetwork {
height: %%heightpx !important;
border : solid 1px #999;
margin-bottom:0.2em;
}
.btn{
color:white !important;
background-color:rgb(53,150,243);
padding:0.5em;
border-radius:5px;
}
</style>
</head>
<body>
<div style="">
<div id="mynetwork"></div>
<a href="#" class="btn" id="btn-download" download="output.png">Download PNG</a>
</div>
<script type="text/javascript">
// create an array with nodes
var nodes = new vis.DataSet([
%%nodes
]);
// create an array with edges
var edges = new vis.DataSet([
%%edges
]);
// create a network
var container = document.getElementById('mynetwork');
// provide the data in the vis format
var data = {
nodes: nodes,
edges: edges
};
var options = {
nodes:{
shape:"box",
borderWidth : 3,
shapeProperties: {
borderDashes: false, // only for borders
borderRadius: 6
},
color: {
border: 'rgb(51,170,204)',
background: 'rgb(195,230,241)'
},
font:{
face:"Roboto",
multi: true,
bold: {
color: '#343434',
face: 'Roboto',
mod: 'bold'
}
}
},
edges:{
arrows: {
to: {
enabled: true
}
},
color: {
color:'#848484',
highlight:'#848484',
hover: '#848484'},
widthConstraint: 200,
},
physics:{
enabled: true,
solver: "repulsion",
forceAtlas2Based: {centralGravity:0.01},
repulsion: {nodeDistance:%%node_distance}
}
};
// initialize your network!
var network = new vis.Network(container, data, options);
network.on("afterDrawing", function (ctx) {
var button = document.getElementById('btn-download');
button.addEventListener('click', function (e) {
var dataURL = ctx.canvas.toDataURL('image/png');
button.href = dataURL;
});
});
</script>
</body>
</html>""" | vis_js_template = '\n<html>\n<head>\n <script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>\n <link rel="preconnect" href="https://fonts.gstatic.com"> \n<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,700;1,100&display=swap" rel="stylesheet"> \n\n <style type="text/css">\n #mynetwork {\n height: %%heightpx !important;\n border : solid 1px #999;\n margin-bottom:0.2em;\n }\n .btn{\n color:white !important;\n background-color:rgb(53,150,243);\n padding:0.5em;\n border-radius:5px;\n }\n </style>\n</head>\n<body>\n<div style="">\n\n<div id="mynetwork"></div>\n<a href="#" class="btn" id="btn-download" download="output.png">Download PNG</a>\n</div>\n<script type="text/javascript">\n // create an array with nodes\n var nodes = new vis.DataSet([\n %%nodes\n ]);\n\n // create an array with edges\n var edges = new vis.DataSet([\n %%edges\n ]);\n\n // create a network\n var container = document.getElementById(\'mynetwork\');\n\n // provide the data in the vis format\n var data = {\n nodes: nodes,\n edges: edges\n };\n var options = {\n nodes:{\n shape:"box",\n borderWidth : 3,\n shapeProperties: {\n borderDashes: false, // only for borders\n borderRadius: 6\n },\n color: {\n border: \'rgb(51,170,204)\',\n background: \'rgb(195,230,241)\'\n },\n font:{\n face:"Roboto",\n multi: true,\n bold: {\n color: \'#343434\',\n face: \'Roboto\',\n mod: \'bold\'\n }\n }\n },\n edges:{\n arrows: {\n\n to: {\n enabled: true\n }\n },\n color: {\n color:\'#848484\',\n highlight:\'#848484\',\n hover: \'#848484\'},\n\n widthConstraint: 200,\n },\n physics:{\n enabled: true,\n solver: "repulsion",\n forceAtlas2Based: {centralGravity:0.01},\n repulsion: {nodeDistance:%%node_distance}\n }\n };\n\n // initialize your network!\n var network = new vis.Network(container, data, options);\n\n network.on("afterDrawing", function (ctx) {\n\n var button = document.getElementById(\'btn-download\');\n button.addEventListener(\'click\', function (e) {\n var dataURL = ctx.canvas.toDataURL(\'image/png\');\n button.href = dataURL;\n });\n\n });\n</script>\n</body>\n</html>' |
# Time: O(n)
# Space: O(h)
# Given the root of a binary tree, then value v and depth d,
# you need to add a row of nodes with value v at the given depth d. The root node is at depth 1.
#
# The adding rule is: given a positive integer depth d,
# for each NOT null tree nodes N in depth d-1, create two tree nodes
# with value v as N's left subtree root and right subtree root.
# And N's original left subtree should be the left subtree of the new left subtree root,
# its original right subtree should be the right subtree of the new right subtree root.
# If depth d is 1 that means there is no depth d-1 at all,
# then create a tree node with value v as the new root of the whole original tree,
# and the original tree is the new root's left subtree.
#
# Example 1:
# Input:
# A binary tree as following:
# 4
# / \
# 2 6
# / \ /
# 3 1 5
#
# v = 1
#
# d = 2
#
# Output:
# 4
# / \
# 1 1
# / \
# 2 6
# / \ /
# 3 1 5
#
# Example 2:
# Input:
# A binary tree as following:
# 4
# /
# 2
# / \
# 3 1
#
# v = 1
#
# d = 3
#
# Output:
# 4
# /
# 2
# / \
# 1 1
# / \
# 3 1
# Note:
# 1. The given d is in range [1, maximum depth of the given tree + 1].
# 2. The given binary tree has at least one tree node.
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def addOneRow(self, root, v, d):
"""
:type root: TreeNode
:type v: int
:type d: int
:rtype: TreeNode
"""
if d in (0, 1):
node = TreeNode(v)
if d == 1:
node.left = root
else:
node.right = root
return node
if root and d >= 2:
root.left = self.addOneRow(root.left, v, d-1 if d > 2 else 1)
root.right = self.addOneRow(root.right, v, d-1 if d > 2 else 0)
return root
| class Solution(object):
def add_one_row(self, root, v, d):
"""
:type root: TreeNode
:type v: int
:type d: int
:rtype: TreeNode
"""
if d in (0, 1):
node = tree_node(v)
if d == 1:
node.left = root
else:
node.right = root
return node
if root and d >= 2:
root.left = self.addOneRow(root.left, v, d - 1 if d > 2 else 1)
root.right = self.addOneRow(root.right, v, d - 1 if d > 2 else 0)
return root |
# The Nexus software is licensed under the BSD 2-Clause license.
#
# You should have recieved a copy of this license with the software.
# If you did not, you can find one at the following link.
#
# http://opensource.org/licenses/bsd-license.php
(i,j,k) = (x,y,z)
entitylist.append(["fish",(x,y,z),7,7,(i,j,k),3,False])
self.client.sendServerMessage("A fish was created.")
| (i, j, k) = (x, y, z)
entitylist.append(['fish', (x, y, z), 7, 7, (i, j, k), 3, False])
self.client.sendServerMessage('A fish was created.') |
#
# PySNMP MIB module ONEACCESS-BRIDGE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ONEACCESS-BRIDGE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:34:13 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)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint")
InterfaceIndex, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "ifIndex")
oacExpIMIp, oacMIBModules = mibBuilder.importSymbols("ONEACCESS-GLOBAL-REG", "oacExpIMIp", "oacMIBModules")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
IpAddress, MibIdentifier, ModuleIdentity, Integer32, Unsigned32, TimeTicks, NotificationType, iso, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, ObjectIdentity, Counter32, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "MibIdentifier", "ModuleIdentity", "Integer32", "Unsigned32", "TimeTicks", "NotificationType", "iso", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "ObjectIdentity", "Counter32", "Counter64")
DisplayString, TruthValue, RowStatus, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue", "RowStatus", "TextualConvention")
oacBridgeMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 13191, 1, 100, 682))
oacBridgeMIB.setRevisions(('2011-06-15 00:00', '2010-07-08 10:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: oacBridgeMIB.setRevisionsDescriptions(('Removed the Deprecated group. fixed some minor corrections.', 'This MIB defines configuration capabilities relating to Bridge Group on interfaces.',))
if mibBuilder.loadTexts: oacBridgeMIB.setLastUpdated('201106150000Z')
if mibBuilder.loadTexts: oacBridgeMIB.setOrganization(' OneAccess ')
if mibBuilder.loadTexts: oacBridgeMIB.setContactInfo('Pascal KESTELOOT Postal: ONE ACCESS 381 Avenue du Gnral de Gaulle 92140 Clamart, France FRANCE Tel: (+33) 01 41 87 70 00 Fax: (+33) 01 41 87 74 00 E-mail: pascal.kesteloot@oneaccess-net.com')
if mibBuilder.loadTexts: oacBridgeMIB.setDescription('Contact updated')
oacBridgeObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7))
oacBridgeConfigObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1))
oacBridgeConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10))
oacBridgeGroupTable = MibTable((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1), )
if mibBuilder.loadTexts: oacBridgeGroupTable.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupTable.setDescription('This table contains the bridge group configuration on interfaces.')
oacBridgeGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1), ).setIndexNames((0, "ONEACCESS-BRIDGE-MIB", "oacBridgeGroupValue"))
if mibBuilder.loadTexts: oacBridgeGroupEntry.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupEntry.setDescription('An entry in this table defines a Bridged interface.')
oacBridgeGroupValue = MibTableColumn((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: oacBridgeGroupValue.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupValue.setDescription('The Value of a bridge group to assign to an interface')
oacBridgeTransparency = MibTableColumn((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1, 2), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: oacBridgeTransparency.setStatus('current')
if mibBuilder.loadTexts: oacBridgeTransparency.setDescription('Activation of the transparency of a bridge group')
oacBridgeGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: oacBridgeGroupRowStatus.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupRowStatus.setDescription('This object allows the creation, modification, or deletion of the row')
oacBridgeGroupInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2), )
if mibBuilder.loadTexts: oacBridgeGroupInterfaceTable.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupInterfaceTable.setDescription('Table for configuration of Bridge Group per Interface')
oacBridgeGroupInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: oacBridgeGroupInterfaceEntry.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupInterfaceEntry.setDescription('An entry in Bridge Group table.')
oacInBridgeGroupValue = MibTableColumn((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: oacInBridgeGroupValue.setStatus('current')
if mibBuilder.loadTexts: oacInBridgeGroupValue.setDescription('The Value of a bridge group to assign to an interface')
oacBridgeGroupInterfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1, 2), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: oacBridgeGroupInterfaceName.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupInterfaceName.setDescription('The name of the interface to which the bridge group is applied. This is read-only ')
oacBridgeGroupInterfaceRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: oacBridgeGroupInterfaceRowStatus.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupInterfaceRowStatus.setDescription('The row status for this entry.')
oacBridgeGroupConfigGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10, 1))
oacBridgeGroupConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10, 1, 1)).setObjects(("ONEACCESS-BRIDGE-MIB", "oacBridgeGroupValue"), ("ONEACCESS-BRIDGE-MIB", "oacBridgeGroupInterfaceName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
oacBridgeGroupConfigGroup = oacBridgeGroupConfigGroup.setStatus('current')
if mibBuilder.loadTexts: oacBridgeGroupConfigGroup.setDescription('Group of Bridge Group objects')
oacBridgeGroupCompls = MibIdentifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10, 2))
mibBuilder.exportSymbols("ONEACCESS-BRIDGE-MIB", oacBridgeMIB=oacBridgeMIB, oacBridgeGroupEntry=oacBridgeGroupEntry, oacBridgeConfigObjects=oacBridgeConfigObjects, oacBridgeTransparency=oacBridgeTransparency, oacBridgeConformance=oacBridgeConformance, oacBridgeGroupRowStatus=oacBridgeGroupRowStatus, PYSNMP_MODULE_ID=oacBridgeMIB, oacBridgeGroupInterfaceTable=oacBridgeGroupInterfaceTable, oacBridgeGroupInterfaceEntry=oacBridgeGroupInterfaceEntry, oacBridgeGroupInterfaceName=oacBridgeGroupInterfaceName, oacInBridgeGroupValue=oacInBridgeGroupValue, oacBridgeGroupConfigGroup=oacBridgeGroupConfigGroup, oacBridgeObjects=oacBridgeObjects, oacBridgeGroupConfigGroups=oacBridgeGroupConfigGroups, oacBridgeGroupValue=oacBridgeGroupValue, oacBridgeGroupCompls=oacBridgeGroupCompls, oacBridgeGroupInterfaceRowStatus=oacBridgeGroupInterfaceRowStatus, oacBridgeGroupTable=oacBridgeGroupTable)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_union, constraints_intersection, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint')
(interface_index, if_index) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex', 'ifIndex')
(oac_exp_im_ip, oac_mib_modules) = mibBuilder.importSymbols('ONEACCESS-GLOBAL-REG', 'oacExpIMIp', 'oacMIBModules')
(object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance')
(ip_address, mib_identifier, module_identity, integer32, unsigned32, time_ticks, notification_type, iso, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, object_identity, counter32, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'MibIdentifier', 'ModuleIdentity', 'Integer32', 'Unsigned32', 'TimeTicks', 'NotificationType', 'iso', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'ObjectIdentity', 'Counter32', 'Counter64')
(display_string, truth_value, row_status, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TruthValue', 'RowStatus', 'TextualConvention')
oac_bridge_mib = module_identity((1, 3, 6, 1, 4, 1, 13191, 1, 100, 682))
oacBridgeMIB.setRevisions(('2011-06-15 00:00', '2010-07-08 10:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
oacBridgeMIB.setRevisionsDescriptions(('Removed the Deprecated group. fixed some minor corrections.', 'This MIB defines configuration capabilities relating to Bridge Group on interfaces.'))
if mibBuilder.loadTexts:
oacBridgeMIB.setLastUpdated('201106150000Z')
if mibBuilder.loadTexts:
oacBridgeMIB.setOrganization(' OneAccess ')
if mibBuilder.loadTexts:
oacBridgeMIB.setContactInfo('Pascal KESTELOOT Postal: ONE ACCESS 381 Avenue du Gnral de Gaulle 92140 Clamart, France FRANCE Tel: (+33) 01 41 87 70 00 Fax: (+33) 01 41 87 74 00 E-mail: pascal.kesteloot@oneaccess-net.com')
if mibBuilder.loadTexts:
oacBridgeMIB.setDescription('Contact updated')
oac_bridge_objects = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7))
oac_bridge_config_objects = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1))
oac_bridge_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10))
oac_bridge_group_table = mib_table((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1))
if mibBuilder.loadTexts:
oacBridgeGroupTable.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupTable.setDescription('This table contains the bridge group configuration on interfaces.')
oac_bridge_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1)).setIndexNames((0, 'ONEACCESS-BRIDGE-MIB', 'oacBridgeGroupValue'))
if mibBuilder.loadTexts:
oacBridgeGroupEntry.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupEntry.setDescription('An entry in this table defines a Bridged interface.')
oac_bridge_group_value = mib_table_column((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
oacBridgeGroupValue.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupValue.setDescription('The Value of a bridge group to assign to an interface')
oac_bridge_transparency = mib_table_column((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1, 2), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
oacBridgeTransparency.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeTransparency.setDescription('Activation of the transparency of a bridge group')
oac_bridge_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 1, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
oacBridgeGroupRowStatus.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupRowStatus.setDescription('This object allows the creation, modification, or deletion of the row')
oac_bridge_group_interface_table = mib_table((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2))
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceTable.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceTable.setDescription('Table for configuration of Bridge Group per Interface')
oac_bridge_group_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceEntry.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceEntry.setDescription('An entry in Bridge Group table.')
oac_in_bridge_group_value = mib_table_column((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
oacInBridgeGroupValue.setStatus('current')
if mibBuilder.loadTexts:
oacInBridgeGroupValue.setDescription('The Value of a bridge group to assign to an interface')
oac_bridge_group_interface_name = mib_table_column((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1, 2), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceName.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceName.setDescription('The name of the interface to which the bridge group is applied. This is read-only ')
oac_bridge_group_interface_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 1, 2, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceRowStatus.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupInterfaceRowStatus.setDescription('The row status for this entry.')
oac_bridge_group_config_groups = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10, 1))
oac_bridge_group_config_group = object_group((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10, 1, 1)).setObjects(('ONEACCESS-BRIDGE-MIB', 'oacBridgeGroupValue'), ('ONEACCESS-BRIDGE-MIB', 'oacBridgeGroupInterfaceName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
oac_bridge_group_config_group = oacBridgeGroupConfigGroup.setStatus('current')
if mibBuilder.loadTexts:
oacBridgeGroupConfigGroup.setDescription('Group of Bridge Group objects')
oac_bridge_group_compls = mib_identifier((1, 3, 6, 1, 4, 1, 13191, 10, 3, 1, 7, 10, 2))
mibBuilder.exportSymbols('ONEACCESS-BRIDGE-MIB', oacBridgeMIB=oacBridgeMIB, oacBridgeGroupEntry=oacBridgeGroupEntry, oacBridgeConfigObjects=oacBridgeConfigObjects, oacBridgeTransparency=oacBridgeTransparency, oacBridgeConformance=oacBridgeConformance, oacBridgeGroupRowStatus=oacBridgeGroupRowStatus, PYSNMP_MODULE_ID=oacBridgeMIB, oacBridgeGroupInterfaceTable=oacBridgeGroupInterfaceTable, oacBridgeGroupInterfaceEntry=oacBridgeGroupInterfaceEntry, oacBridgeGroupInterfaceName=oacBridgeGroupInterfaceName, oacInBridgeGroupValue=oacInBridgeGroupValue, oacBridgeGroupConfigGroup=oacBridgeGroupConfigGroup, oacBridgeObjects=oacBridgeObjects, oacBridgeGroupConfigGroups=oacBridgeGroupConfigGroups, oacBridgeGroupValue=oacBridgeGroupValue, oacBridgeGroupCompls=oacBridgeGroupCompls, oacBridgeGroupInterfaceRowStatus=oacBridgeGroupInterfaceRowStatus, oacBridgeGroupTable=oacBridgeGroupTable) |
"""
OS related constants
"""
LINK_ROOT = "http://localhost:8050"
LINK_ROOT_LOGIN = "http://{}:{}@localhost:8050"
LINK_MAIN = "/"
LINK_DASHBOARD = "/dashboard"
LINK_EVOLUTION = "/evolution"
LINK_COMPARISON = "/comparison"
LINK_HEATMAPS = "/heatmaps"
LINK_PIES = "/pies"
LINK_LIQUID = "/liquid"
LINK_INVESTMENTS = "/investments"
LINKS_ALL = [
LINK_DASHBOARD,
LINK_EVOLUTION,
LINK_COMPARISON,
LINK_PIES,
LINK_HEATMAPS,
LINK_LIQUID,
LINK_INVESTMENTS,
]
LANDING_APP = LINK_DASHBOARD
NUM_DICT = {
1: "one",
2: "two",
3: "three",
4: "four",
5: "five",
6: "six",
7: "seven",
8: "eight",
9: "nine",
10: "ten",
11: "eleven",
12: "twelve",
}
INPUT_CATEGORIES = "categories"
INPUT_SMOOTHING = "smoothing"
INPUT_TIMEWINDOW = "timewindow"
DEFAULT_SMOOTHING = 3
PLOT_CONFIG = {
"displaylogo": False,
"modeBarButtonsToRemove": ["sendDataToCloud", "select2d", "lasso2d", "resetScale2d"],
}
| """
OS related constants
"""
link_root = 'http://localhost:8050'
link_root_login = 'http://{}:{}@localhost:8050'
link_main = '/'
link_dashboard = '/dashboard'
link_evolution = '/evolution'
link_comparison = '/comparison'
link_heatmaps = '/heatmaps'
link_pies = '/pies'
link_liquid = '/liquid'
link_investments = '/investments'
links_all = [LINK_DASHBOARD, LINK_EVOLUTION, LINK_COMPARISON, LINK_PIES, LINK_HEATMAPS, LINK_LIQUID, LINK_INVESTMENTS]
landing_app = LINK_DASHBOARD
num_dict = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve'}
input_categories = 'categories'
input_smoothing = 'smoothing'
input_timewindow = 'timewindow'
default_smoothing = 3
plot_config = {'displaylogo': False, 'modeBarButtonsToRemove': ['sendDataToCloud', 'select2d', 'lasso2d', 'resetScale2d']} |
data = (
((-0.010000, -0.090000), (-0.010000, -0.040000)),
((0.589999, -0.040000), (0.730000, -0.040000)),
((0.990000, -0.980000), (0.990000, -0.840000)),
((0.630000, -0.490000), (0.630000, -0.480000)),
((-0.300000, 0.160000), (-0.250000, 0.160000)),
((0.440000, -0.190000), (0.440000, -0.240000)),
((0.150000, -0.630000), (0.150000, -0.680000)),
((0.429999, -0.540000), (0.290000, -0.540000)),
((-0.690001, 0.200000), (-0.750000, 0.200000)),
((0.929999, -0.580000), (0.929999, -0.490000)),
((-0.900001, -0.440000), (-0.950001, -0.440000)),
((-0.840000, 0.840000), (-0.840000, 0.800000)),
((0.679999, 0.150000), (0.679999, 0.200000)),
((-0.250000, 0.540000), (-0.350000, 0.540000)),
((0.290000, 0.360000), (0.290000, 0.440000)),
((-0.840000, 0.000000), (-0.840000, -0.050000)),
((0.530000, 0.550000), (0.589999, 0.550000)),
((-0.010000, 0.740000), (-0.050000, 0.740000)),
((-0.100000, 0.010000), (-0.100000, -0.040000)),
((-0.590000, -0.430000), (-0.540000, -0.430000)),
((0.429999, 0.010000), (0.530000, 0.010000)),
((0.139999, 0.690000), (0.139999, 0.750000)),
((-0.700001, 0.650000), (-0.700001, 0.700000)),
((-0.590000, -0.730000), (-0.500000, -0.730000)),
((-0.500000, -0.930000), (-0.440001, -0.930000)),
((-0.110001, -0.690000), (-0.110001, -0.590000)),
((0.000000, 0.310000), (0.000000, 0.300000)),
((0.440000, 0.750000), (0.490000, 0.750000)),
((-0.550000, -0.690000), (-0.550000, -0.640000)),
((0.880000, 0.490000), (0.830000, 0.490000)),
((0.730000, 0.490000), (0.730000, 0.500000)),
((-0.390000, -0.980000), (-0.010000, -0.980000)),
((-0.260000, -0.190000), (-0.260000, -0.140000)),
((0.349999, -0.680000), (0.480000, -0.680000)),
((0.250000, 0.250000), (0.250000, 0.060000)),
((-0.360001, 0.850000), (-0.310000, 0.850000)),
((1.000000, 1.000000), (1.000000, -0.990000)),
((0.040000, 0.050000), (-0.010000, 0.050000)),
((0.740000, -0.980000), (0.990000, -0.980000)),
((-0.250000, 0.160000), (-0.250000, 0.050000)),
((-0.210000, 0.390000), (-0.210000, 0.440000)),
((0.540000, -0.440000), (0.530000, -0.440000)),
((0.290000, -0.540000), (0.290000, -0.480000)),
((-0.890000, 0.350000), (-0.890000, 0.210000)),
((0.929999, -0.490000), (0.889999, -0.490000)),
((-0.950001, -0.540000), (-0.950001, -0.530000)),
((0.190000, -0.200000), (0.150000, -0.200000)),
((0.040000, 0.940000), (-0.050000, 0.940000)),
((-0.740001, 0.690000), (-0.790000, 0.690000)),
((0.679999, 0.200000), (0.589999, 0.200000)),
((-0.400001, 0.490000), (-0.400001, 0.500000)),
((0.040000, -0.690000), (0.000000, -0.690000)),
((-0.690001, 0.100000), (-0.740001, 0.100000)),
((0.490000, 0.440000), (0.490000, 0.390000)),
((-0.010000, 0.500000), (-0.010000, 0.740000)),
((-0.110001, 0.010000), (-0.100000, 0.010000)),
((-0.740001, -0.300000), (-0.740001, -0.380000)),
((0.429999, 0.000000), (0.429999, 0.010000)),
((0.139999, 0.750000), (0.150000, 0.750000)),
((-0.500000, -0.730000), (-0.500000, -0.680000)),
((-0.440001, -0.930000), (-0.440001, -0.940000)),
((0.089999, -0.790000), (-0.010000, -0.790000)),
((0.000000, 0.300000), (-0.160001, 0.300000)),
((0.250000, 0.940000), (0.250000, 0.850000)),
((-0.550000, -0.640000), (-0.700001, -0.640000)),
((0.880000, 0.390000), (0.730000, 0.390000)),
((0.830000, 0.440000), (0.830000, 0.450000)),
((-0.300000, -0.790000), (-0.300000, -0.840000)),
((-0.310000, -0.190000), (-0.260000, -0.190000)),
((0.540000, -0.840000), (0.540000, -0.890000)),
((0.380000, 0.060000), (0.490000, 0.060000)),
((-0.360001, 0.840000), (-0.360001, 0.850000)),
((-0.060000, -0.100000), (-0.060000, -0.090000)),
((0.580000, -0.050000), (0.530000, -0.050000)),
((-0.250000, 0.050000), (-0.260000, 0.050000)),
((0.339999, -0.240000), (0.339999, -0.190000)),
((-0.800000, 0.350000), (-0.890000, 0.350000)),
((-0.950001, -0.430000), (-0.900001, -0.430000)),
((-0.160001, -0.690000), (-0.210000, -0.690000)),
((0.730000, 0.690000), (0.730000, 0.840000)),
((-0.800000, 0.590000), (-0.800000, 0.640000)),
((0.589999, 0.200000), (0.589999, 0.100000)),
((-0.350000, 0.490000), (-0.400001, 0.490000)),
((0.040000, -0.740000), (0.040000, -0.690000)),
((-0.850000, -0.050000), (-0.850000, 0.000000)),
((0.540000, 0.440000), (0.490000, 0.440000)),
((-0.060000, 0.500000), (-0.010000, 0.500000)),
((-0.050000, 0.000000), (-0.050000, -0.050000)),
((-0.740001, -0.380000), (-0.590000, -0.380000)),
((-0.590000, -0.350000), (-0.600000, -0.350000)),
((0.349999, -0.090000), (0.389999, -0.090000)),
((0.150000, 0.750000), (0.150000, 0.700000)),
((-0.750000, -0.680000), (-0.590000, -0.680000)),
((-0.790000, -0.980000), (-0.500000, -0.980000)),
((-0.200001, -0.590000), (-0.200001, -0.640000)),
((-0.150001, 0.390000), (-0.150001, 0.310000)),
((-0.840000, -0.530000), (-0.840000, -0.580000)),
((0.830000, 0.540000), (0.730000, 0.540000)),
((0.889999, 0.640000), (0.889999, 0.550000)),
((-0.940001, 0.790000), (-0.940001, 0.750000)),
((1.000000, 1.000000), (-1.000000, 1.000000)),
((0.740000, -0.840000), (0.540000, -0.840000)),
((0.490000, 0.060000), (0.490000, 0.050000)),
((-0.440001, 0.900000), (-0.390000, 0.900000)),
((-0.010000, 0.110000), (0.000000, 0.110000)),
((0.540000, 0.050000), (0.540000, 0.000000)),
((0.740000, 0.060000), (0.740000, -0.040000)),
((0.630000, -0.930000), (0.740000, -0.930000)),
((0.679999, -0.490000), (0.630000, -0.490000)),
((0.240000, -0.240000), (0.339999, -0.240000)),
((0.150000, -0.680000), (0.190000, -0.680000)),
((0.349999, -0.480000), (0.349999, -0.490000)),
((-0.840000, 0.210000), (-0.840000, 0.200000)),
((0.889999, -0.540000), (0.880000, -0.540000)),
((-0.900001, -0.640000), (-0.900001, -0.540000)),
((0.139999, -0.290000), (0.150000, -0.290000)),
((-0.210000, -0.690000), (-0.210000, -0.680000)),
((0.099999, 0.650000), (0.200000, 0.650000)),
((0.730000, 0.840000), (0.639999, 0.840000)),
((-0.600000, 0.890000), (-0.690001, 0.890000)),
((0.740000, 0.150000), (0.679999, 0.150000)),
((-0.350000, 0.540000), (-0.350000, 0.490000)),
((-0.840000, -0.050000), (-0.850000, -0.050000)),
((0.380000, 0.390000), (0.380000, 0.440000)),
((-0.060000, 0.550000), (-0.060000, 0.600000)),
((0.040000, 0.150000), (-0.050000, 0.150000)),
((-0.590000, -0.380000), (-0.590000, -0.430000)),
((-0.590000, -0.300000), (-0.590000, -0.350000)),
((0.389999, 0.150000), (0.389999, 0.100000)),
((0.200000, 0.690000), (0.139999, 0.690000)),
((-0.750000, 0.650000), (-0.700001, 0.650000)),
((0.040000, -0.930000), (0.089999, -0.930000)),
((-0.700001, -0.590000), (-0.790000, -0.590000)),
((0.889999, 0.500000), (0.889999, 0.440000)),
((0.990000, 0.640000), (0.889999, 0.640000)),
((-0.250000, -0.190000), (-0.200001, -0.190000)),
((0.480000, -0.680000), (0.480000, -0.580000)),
((0.490000, 0.050000), (0.389999, 0.050000)),
((1.000000, -0.990000), (-1.000000, -0.990000)),
((-0.350000, 0.800000), (-0.350000, 0.700000)),
((-0.010000, 0.050000), (-0.010000, 0.110000)),
((0.740000, -0.040000), (0.790000, -0.040000)),
((0.839999, -0.690000), (0.839999, -0.730000)),
((-0.210000, 0.440000), (-0.250000, 0.440000)),
((0.240000, -0.380000), (0.240000, -0.240000)),
((-0.700001, 0.350000), (-0.750000, 0.350000)),
((-0.900001, -0.540000), (-0.950001, -0.540000)),
((0.150000, -0.290000), (0.150000, -0.480000)),
((-0.210000, -0.680000), (-0.160001, -0.680000)),
((0.099999, 0.790000), (0.099999, 0.650000)),
((0.639999, 0.840000), (0.639999, 0.740000)),
((-0.600000, 0.840000), (-0.600000, 0.890000)),
((0.690000, 0.300000), (0.690000, 0.160000)),
((-0.400001, 0.500000), (-0.360001, 0.500000)),
((0.049999, -0.680000), (0.049999, -0.740000)),
((-0.740001, 0.100000), (-0.740001, -0.050000)),
((0.639999, 0.490000), (0.540000, 0.490000)),
((-0.100000, 0.590000), (-0.110001, 0.590000)),
((-0.160001, 0.100000), (-0.160001, 0.150000)),
((-0.650001, -0.300000), (-0.740001, -0.300000)),
((0.290000, -0.100000), (0.240000, -0.100000)),
((0.190000, 0.700000), (0.190000, 0.840000)),
((-0.950001, -0.690000), (-0.950001, -0.580000)),
((-0.490001, 0.400000), (-0.490001, 0.360000)),
((-0.440001, -0.690000), (-0.490001, -0.690000)),
((-0.950001, -0.930000), (-0.940001, -0.930000)),
((0.089999, -0.930000), (0.089999, -0.790000)),
((-0.850000, -0.590000), (-0.850000, -0.530000)),
((0.889999, 0.440000), (0.830000, 0.440000)),
((0.940000, 0.550000), (0.940000, 0.390000)),
((-0.890000, 0.890000), (-0.890000, 0.790000)),
((0.690000, -0.830000), (0.740000, -0.830000)),
((0.440000, 0.310000), (0.440000, 0.260000)),
((-0.390000, 0.800000), (-0.350000, 0.800000)),
((-0.060000, -0.090000), (-0.010000, -0.090000)),
((0.730000, -0.040000), (0.730000, 0.060000)),
((0.630000, -0.680000), (0.679999, -0.680000)),
((-0.310000, 0.100000), (-0.310000, 0.110000)),
((-0.150001, 0.490000), (-0.150001, 0.440000)),
((0.339999, -0.190000), (0.440000, -0.190000)),
((-0.750000, 0.350000), (-0.750000, 0.360000)),
((0.889999, -0.480000), (0.940000, -0.480000)),
((-0.950001, -0.440000), (-0.950001, -0.430000)),
((0.589999, -0.100000), (0.490000, -0.100000)),
((-0.060000, -0.930000), (-0.060000, -0.740000)),
((0.740000, 0.690000), (0.730000, 0.690000)),
((-0.800000, 0.640000), (-0.840000, 0.640000)),
((0.580000, 0.150000), (0.480000, 0.150000)),
((-0.440001, 0.790000), (-0.440001, 0.740000)),
((-0.100000, -0.680000), (0.049999, -0.680000)),
((0.290000, 0.440000), (0.200000, 0.440000)),
((0.639999, 0.500000), (0.639999, 0.490000)),
((0.150000, 0.950000), (0.150000, 0.900000)),
((-0.110001, 0.400000), (-0.110001, 0.450000)),
((-0.060000, 0.100000), (-0.160001, 0.100000)),
((-0.550000, -0.390000), (-0.550000, -0.300000)),
((0.290000, -0.190000), (0.290000, -0.100000)),
((0.339999, 0.740000), (0.200000, 0.740000)),
((0.000000, -0.050000), (0.000000, -0.150000)),
((-0.800000, 0.550000), (-0.750000, 0.550000)),
((-0.490001, -0.690000), (-0.490001, -0.740000)),
((-0.940001, -0.930000), (-0.940001, -0.980000)),
((-0.110001, -0.590000), (-0.200001, -0.590000)),
((0.630000, 0.800000), (0.630000, 0.850000)),
((-0.850000, -0.530000), (-0.840000, -0.530000)),
((0.780000, 0.490000), (0.730000, 0.490000)),
((0.830000, 0.490000), (0.830000, 0.540000)),
((-0.890000, 0.790000), (-0.940001, 0.790000)),
((-0.060000, -0.190000), (0.000000, -0.190000)),
((0.490000, -0.580000), (0.490000, -0.680000)),
((0.250000, 0.060000), (0.299999, 0.060000)),
((-0.390000, 0.900000), (-0.390000, 0.800000)),
((0.540000, 0.000000), (0.490000, 0.000000)),
((0.740000, -0.930000), (0.740000, -0.980000)),
((0.679999, -0.680000), (0.679999, -0.490000)),
((-0.310000, 0.110000), (-0.260000, 0.110000)),
((0.290000, -0.480000), (0.349999, -0.480000)),
((-0.750000, 0.360000), (-0.690001, 0.360000)),
((0.889999, -0.490000), (0.889999, -0.540000)),
((0.889999, -0.430000), (0.889999, -0.480000)),
((0.240000, -0.480000), (0.240000, -0.430000)),
((-0.950001, -0.190000), (-0.850000, -0.190000)),
((0.589999, -0.050000), (0.589999, -0.100000)),
((0.150000, 0.800000), (0.150000, 0.790000)),
((-0.700001, 0.500000), (-0.700001, 0.600000)),
((0.480000, 0.150000), (0.480000, 0.200000)),
((-0.100000, -0.590000), (-0.100000, -0.680000)),
((0.200000, 0.440000), (0.200000, 0.390000)),
((-0.250000, 0.350000), (-0.250000, 0.210000)),
((0.589999, 0.500000), (0.639999, 0.500000)),
((-0.160001, 0.400000), (-0.110001, 0.400000)),
((-0.050000, 0.150000), (-0.050000, 0.010000)),
((0.389999, 0.100000), (0.349999, 0.100000)),
((0.200000, 0.740000), (0.200000, 0.690000)),
((-0.750000, 0.550000), (-0.750000, 0.650000)),
((-0.790000, -0.740000), (-0.840000, -0.740000)),
((-0.200001, -0.730000), (-0.200001, -0.880000)),
((-0.050000, 0.490000), (-0.050000, 0.440000)),
((-0.700001, -0.640000), (-0.700001, -0.590000)),
((0.780000, 0.400000), (0.780000, 0.490000)),
((0.740000, 0.550000), (0.780000, 0.550000)),
((-0.300000, -0.840000), (-0.390000, -0.840000)),
((0.000000, -0.190000), (0.000000, -0.250000)),
((0.480000, -0.580000), (0.490000, -0.580000)),
((0.380000, 0.300000), (0.380000, 0.310000)),
((-0.350000, 0.700000), (-0.300000, 0.700000)),
((-1.000000, -0.990000), (-1.000000, 1.000000)),
((-0.150001, -0.190000), (-0.110001, -0.190000)),
((0.940000, -0.690000), (0.839999, -0.690000)),
((-0.260000, 0.050000), (-0.260000, 0.100000)),
((0.630000, -0.390000), (0.540000, -0.390000)),
((0.530000, -0.640000), (0.530000, -0.540000)),
((-0.650001, 0.400000), (-0.650001, 0.440000)),
((0.780000, -0.590000), (0.730000, -0.590000)),
((-0.850000, -0.190000), (-0.850000, -0.140000)),
((0.780000, -0.050000), (0.589999, -0.050000)),
((0.630000, 0.790000), (0.540000, 0.790000)),
((-0.840000, 0.500000), (-0.700001, 0.500000)),
((0.740000, 0.300000), (0.690000, 0.300000)),
((0.049999, -0.740000), (0.040000, -0.740000)),
((0.200000, 0.390000), (0.089999, 0.390000)),
((-0.060000, 0.900000), (-0.060000, 0.950000)),
((-0.060000, 0.450000), (-0.060000, 0.500000)),
((-0.100000, -0.040000), (-0.060000, -0.040000)),
((0.150000, -0.090000), (0.150000, -0.190000)),
((0.150000, 0.700000), (0.190000, 0.700000)),
((-0.900001, -0.690000), (-0.950001, -0.690000)),
((-0.490001, 0.360000), (-0.350000, 0.360000)),
((-0.790000, -0.730000), (-0.790000, -0.740000)),
((0.190000, -0.840000), (0.099999, -0.840000)),
((-0.150001, 0.310000), (0.000000, 0.310000)),
((0.740000, 0.850000), (0.740000, 0.750000)),
((0.929999, -0.880000), (0.940000, -0.880000)),
((0.730000, 0.400000), (0.780000, 0.400000)),
((0.790000, 0.690000), (0.790000, 0.550000)),
((-0.390000, -0.380000), (-0.210000, -0.380000)),
((0.740000, -0.830000), (0.740000, -0.840000)),
((0.380000, 0.310000), (0.440000, 0.310000)),
((-0.310000, 0.850000), (-0.310000, 0.890000)),
((-0.150001, 0.050000), (-0.150001, -0.190000)),
((0.490000, -0.090000), (0.580000, -0.090000)),
((0.530000, -0.290000), (0.530000, -0.200000)),
((-0.150001, 0.440000), (-0.200001, 0.440000)),
((0.630000, -0.430000), (0.630000, -0.390000)),
((0.580000, -0.640000), (0.530000, -0.640000)),
((-0.890000, 0.210000), (-0.840000, 0.210000)),
((0.740000, -0.300000), (0.740000, -0.390000)),
((0.200000, -0.200000), (0.200000, -0.350000)),
((-0.850000, -0.140000), (-0.840000, -0.140000)),
((0.540000, 0.790000), (0.540000, 0.690000)),
((-0.840000, 0.640000), (-0.840000, 0.500000)),
((0.349999, 0.200000), (0.349999, 0.150000)),
((-0.440001, 0.740000), (-0.450001, 0.740000)),
((-0.790000, 0.060000), (-0.790000, 0.010000)),
((-0.650001, 0.160000), (-0.650001, 0.210000)),
((-0.200001, 0.210000), (-0.200001, 0.160000)),
((0.490000, 0.390000), (0.380000, 0.390000)),
((-0.060000, 0.950000), (0.150000, 0.950000)),
((-0.150001, 0.550000), (-0.060000, 0.550000)),
((0.000000, 0.010000), (0.000000, 0.000000)),
((-0.550000, -0.300000), (-0.590000, -0.300000)),
((0.349999, 0.050000), (0.339999, 0.050000)),
((0.099999, 0.540000), (0.099999, 0.500000)),
((-0.990001, -0.740000), (-0.990001, -0.830000)),
((0.000000, -0.150000), (-0.100000, -0.150000)),
((-0.360001, 0.300000), (-0.360001, 0.350000)),
((-0.840000, -0.730000), (-0.790000, -0.730000)),
((0.099999, -0.840000), (0.099999, -0.940000)),
((0.630000, 0.850000), (0.740000, 0.850000)),
((0.940000, -0.880000), (0.940000, -0.940000)),
((0.790000, 0.550000), (0.839999, 0.550000)),
((0.830000, 0.590000), (0.830000, 0.600000)),
((-0.310000, -0.790000), (-0.360001, -0.790000)),
((-0.390000, -0.340000), (-0.390000, -0.380000)),
((-0.010000, -0.250000), (-0.010000, -0.200000)),
((0.440000, -0.790000), (0.380000, -0.790000)),
((0.429999, 0.260000), (0.429999, 0.300000)),
((0.490000, 0.000000), (0.490000, -0.090000)),
((0.630000, -0.530000), (0.639999, -0.530000)),
((0.139999, -0.630000), (0.150000, -0.630000)),
((0.440000, -0.540000), (0.440000, -0.640000)),
((-0.950001, 0.350000), (-0.950001, 0.400000)),
((0.740000, -0.390000), (0.730000, -0.390000)),
((0.150000, -0.480000), (0.240000, -0.480000)),
((0.150000, 0.790000), (0.099999, 0.790000)),
((-0.700001, 0.600000), (-0.690001, 0.600000)),
((0.349999, 0.150000), (0.339999, 0.150000)),
((-0.150001, 0.250000), (-0.150001, 0.210000)),
((-0.250000, 0.210000), (-0.200001, 0.210000)),
((-0.150001, 0.640000), (-0.150001, 0.550000)),
((-0.050000, 0.010000), (0.000000, 0.010000)),
((-0.650001, -0.290000), (-0.650001, -0.240000)),
((0.349999, 0.100000), (0.349999, 0.050000)),
((-0.990001, -0.830000), (-0.900001, -0.830000)),
((-0.350000, 0.300000), (-0.360001, 0.300000)),
((-0.250000, -0.730000), (-0.200001, -0.730000)),
((0.889999, 0.550000), (0.940000, 0.550000)),
((0.740000, 0.600000), (0.740000, 0.550000)),
((-0.640000, 0.940000), (-0.740001, 0.940000)),
((-0.310000, -0.830000), (-0.310000, -0.790000)),
((-0.440001, -0.340000), (-0.390000, -0.340000)),
((0.389999, -0.890000), (0.389999, -0.940000)),
((0.429999, -0.050000), (0.380000, -0.050000)),
((-0.940001, 0.940000), (-0.990001, 0.940000)),
((-0.100000, 0.060000), (-0.100000, 0.050000)),
((0.730000, 0.060000), (0.740000, 0.060000)),
((-0.200001, 0.390000), (-0.210000, 0.390000)),
((0.299999, -0.380000), (0.299999, -0.390000)),
((0.139999, -0.790000), (0.139999, -0.630000)),
((-0.900001, 0.350000), (-0.950001, 0.350000)),
((0.830000, -0.440000), (0.830000, -0.300000)),
((-0.840000, -0.190000), (-0.790000, -0.190000)),
((0.690000, -0.140000), (0.690000, -0.190000)),
((0.049999, 0.800000), (0.049999, 0.600000)),
((-0.690001, 0.890000), (-0.690001, 0.840000)),
((0.339999, 0.150000), (0.339999, 0.200000)),
((-0.110001, 0.360000), (-0.060000, 0.360000)),
((0.099999, 0.450000), (0.099999, 0.400000)),
((-0.750000, 0.010000), (-0.750000, 0.110000)),
((-0.790000, 0.250000), (-0.790000, 0.160000)),
((-0.150001, 0.160000), (-0.150001, 0.110000)),
((-0.110001, 0.640000), (-0.150001, 0.640000)),
((-0.060000, -0.040000), (-0.060000, 0.100000)),
((-0.650001, -0.240000), (-0.640000, -0.240000)),
((-0.750000, -0.090000), (-0.700001, -0.090000)),
((0.150000, -0.190000), (0.290000, -0.190000)),
((-0.900001, -0.830000), (-0.900001, -0.690000)),
((-0.100000, -0.200000), (-0.150001, -0.200000)),
((-0.350000, 0.360000), (-0.350000, 0.300000)),
((-0.890000, -0.630000), (-0.840000, -0.630000)),
((0.040000, -0.940000), (0.040000, -0.930000)),
((0.389999, 0.800000), (0.440000, 0.800000)),
((-0.360001, -0.680000), (-0.360001, -0.630000)),
((-0.600000, -0.440000), (-0.600000, -0.390000)),
((0.830000, -0.940000), (0.830000, -0.880000)),
((0.839999, 0.500000), (0.889999, 0.500000)),
((0.880000, 0.600000), (0.880000, 0.650000)),
((-0.640000, 0.950000), (-0.640000, 0.940000)),
((-0.360001, -0.780000), (-0.250000, -0.780000)),
((-0.200001, -0.140000), (-0.200001, -0.150000)),
((0.389999, -0.940000), (0.380000, -0.940000)),
((0.380000, -0.050000), (0.380000, 0.000000)),
((-0.310000, 0.890000), (-0.360001, 0.890000)),
((-0.940001, 0.950000), (-0.940001, 0.940000)),
((0.480000, -0.290000), (0.530000, -0.290000)),
((-0.200001, 0.440000), (-0.200001, 0.390000)),
((0.250000, -0.380000), (0.299999, -0.380000)),
((-0.010000, -0.490000), (-0.050000, -0.490000)),
((-0.940001, 0.400000), (-0.940001, 0.360000)),
((0.730000, -0.300000), (0.690000, -0.300000)),
((0.679999, -0.140000), (0.690000, -0.140000)),
((0.480000, 0.200000), (0.349999, 0.200000)),
((-0.060000, 0.360000), (-0.060000, 0.400000)),
((0.099999, 0.400000), (0.190000, 0.400000)),
((-0.790000, 0.010000), (-0.750000, 0.010000)),
((-0.790000, 0.160000), (-0.650001, 0.160000)),
((-0.310000, 0.940000), (-0.310000, 0.950000)),
((-0.590000, 0.440000), (-0.590000, 0.300000)),
((0.089999, -0.040000), (0.290000, -0.040000)),
((-0.640000, -0.240000), (-0.640000, -0.350000)),
((-0.750000, -0.100000), (-0.750000, -0.090000)),
((0.150000, 0.540000), (0.099999, 0.540000)),
((-0.950001, -0.740000), (-0.990001, -0.740000)),
((-0.100000, -0.150000), (-0.100000, -0.200000)),
((-0.360001, 0.350000), (-0.440001, 0.350000)),
((-0.440001, -0.680000), (-0.440001, -0.690000)),
((-0.200001, -0.640000), (-0.250000, -0.640000)),
((-0.050000, 0.440000), (-0.100000, 0.440000)),
((0.830000, -0.880000), (0.880000, -0.880000)),
((0.830000, 0.600000), (0.880000, 0.600000)),
((0.730000, 0.540000), (0.730000, 0.600000)),
((-0.740001, 0.890000), (-0.890000, 0.890000)),
((-0.400001, -0.880000), (-0.400001, -0.830000)),
((-0.250000, -0.780000), (-0.250000, -0.790000)),
((0.000000, -0.250000), (-0.010000, -0.250000)),
((0.380000, -0.940000), (0.380000, -0.890000)),
((0.380000, -0.790000), (0.380000, -0.740000)),
((0.380000, 0.000000), (0.299999, 0.000000)),
((-0.110001, 0.940000), (-0.110001, 0.990000)),
((0.780000, 0.100000), (0.690000, 0.100000)),
((0.089999, 0.850000), (0.089999, 0.900000)),
((-0.260000, 0.100000), (-0.310000, 0.100000)),
((0.630000, -0.580000), (0.630000, -0.530000)),
((0.250000, -0.300000), (0.250000, -0.380000)),
((-0.950001, 0.210000), (-0.900001, 0.210000)),
((-0.650001, 0.440000), (-0.740001, 0.440000)),
((0.940000, -0.480000), (0.940000, -0.590000)),
((0.880000, -0.540000), (0.880000, -0.440000)),
((-0.890000, -0.940000), (-0.900001, -0.940000)),
((0.780000, -0.190000), (0.780000, -0.050000)),
((0.089999, 0.250000), (-0.150001, 0.250000)),
((0.929999, 0.160000), (0.929999, 0.300000)),
((-0.260000, -0.590000), (-0.260000, -0.580000)),
((0.089999, 0.390000), (0.089999, 0.450000)),
((-0.310000, 0.950000), (-0.150001, 0.950000)),
((-0.110001, 0.450000), (-0.060000, 0.450000)),
((-0.260000, -0.050000), (-0.260000, 0.000000)),
((-0.740001, -0.290000), (-0.650001, -0.290000)),
((0.290000, 0.160000), (0.299999, 0.160000)),
((-0.490001, 0.300000), (-0.490001, 0.210000)),
((-0.450001, -0.730000), (-0.260000, -0.730000)),
((-0.250000, -0.640000), (-0.250000, -0.730000)),
((-0.100000, 0.440000), (-0.100000, 0.390000)),
((-0.390000, -0.630000), (-0.390000, -0.680000)),
((-0.690001, -0.390000), (-0.690001, -0.440000)),
((0.880000, -0.880000), (0.880000, -0.740000)),
((0.730000, 0.600000), (0.740000, 0.600000)),
((0.990000, 0.650000), (0.990000, 0.840000)),
((-0.250000, -0.790000), (-0.300000, -0.790000)),
((-0.490001, -0.190000), (-0.490001, -0.240000)),
((0.440000, -0.890000), (0.389999, -0.890000)),
((0.380000, 0.010000), (0.380000, 0.060000)),
((-0.990001, 0.990000), (-0.990001, 0.950000)),
((-0.100000, 0.050000), (-0.150001, 0.050000)),
((0.780000, 0.000000), (0.780000, 0.100000)),
((0.490000, -0.440000), (0.480000, -0.440000)),
((0.299999, -0.390000), (0.200000, -0.390000)),
((-0.950001, 0.200000), (-0.950001, 0.210000)),
((-0.740001, 0.440000), (-0.740001, 0.390000)),
((0.880000, -0.440000), (0.830000, -0.440000)),
((-0.890000, -0.890000), (-0.890000, -0.940000)),
((0.580000, -0.240000), (0.679999, -0.240000)),
((-0.840000, -0.140000), (-0.840000, -0.190000)),
((-0.160001, -0.840000), (-0.160001, -0.690000)),
((0.049999, 0.600000), (0.089999, 0.600000)),
((-0.690001, 0.840000), (-0.840000, 0.840000)),
((0.690000, 0.160000), (0.740000, 0.160000)),
((-0.010000, 0.400000), (-0.010000, 0.450000)),
((0.790000, -0.190000), (0.940000, -0.190000)),
((-0.210000, -0.590000), (-0.260000, -0.590000)),
((-0.750000, 0.000000), (-0.840000, 0.000000)),
((-0.260000, 0.750000), (-0.260000, 0.940000)),
((-0.600000, 0.300000), (-0.600000, 0.450000)),
((-0.260000, 0.000000), (-0.310000, 0.000000)),
((-0.700001, -0.250000), (-0.700001, -0.100000)),
((0.290000, 0.100000), (0.290000, 0.160000)),
((0.139999, 0.600000), (0.150000, 0.600000)),
((-0.260000, -0.730000), (-0.260000, -0.640000)),
((-0.840000, -0.630000), (-0.840000, -0.730000)),
((0.099999, -0.940000), (0.040000, -0.940000)),
((-0.100000, 0.390000), (-0.150001, 0.390000)),
((-0.390000, -0.680000), (-0.360001, -0.680000)),
((-0.600000, -0.390000), (-0.690001, -0.390000)),
((0.940000, -0.940000), (0.830000, -0.940000)),
((0.839999, 0.550000), (0.839999, 0.500000)),
((-0.500000, -0.190000), (-0.490001, -0.190000)),
((0.290000, -0.740000), (0.290000, -0.580000)),
((0.429999, 0.300000), (0.380000, 0.300000)),
((0.480000, -0.440000), (0.480000, -0.290000)),
((0.589999, -0.440000), (0.589999, -0.580000)),
((0.190000, -0.440000), (0.190000, -0.380000)),
((0.530000, -0.540000), (0.440000, -0.540000)),
((-0.010000, -0.640000), (-0.010000, -0.490000)),
((-0.840000, 0.200000), (-0.950001, 0.200000)),
((-0.740001, 0.390000), (-0.840000, 0.390000)),
((0.730000, -0.390000), (0.730000, -0.300000)),
((-0.950001, -0.530000), (-0.900001, -0.530000)),
((0.580000, -0.250000), (0.580000, -0.240000)),
((0.630000, 0.740000), (0.630000, 0.790000)),
((-0.500000, 0.750000), (-0.500000, 0.940000)),
((0.740000, 0.160000), (0.740000, 0.150000)),
((0.139999, 0.150000), (0.089999, 0.150000)),
((-0.360001, 0.790000), (-0.440001, 0.790000)),
((-0.310000, 0.390000), (-0.450001, 0.390000)),
((0.940000, -0.190000), (0.940000, -0.300000)),
((-0.210000, -0.630000), (-0.210000, -0.590000)),
((-0.840000, 0.310000), (-0.840000, 0.260000)),
((-0.150001, 0.900000), (-0.060000, 0.900000)),
((-0.590000, 0.300000), (-0.600000, 0.300000)),
((0.290000, -0.040000), (0.290000, 0.050000)),
((-0.310000, 0.000000), (-0.310000, 0.050000)),
((-0.700001, -0.340000), (-0.650001, -0.340000)),
((0.299999, 0.110000), (0.380000, 0.110000)),
((0.150000, 0.600000), (0.150000, 0.540000)),
((-0.160001, -0.100000), (-0.300000, -0.100000)),
((-0.500000, -0.680000), (-0.440001, -0.680000)),
((-0.350000, -0.880000), (-0.350000, -0.930000)),
((0.299999, -0.830000), (0.299999, -0.840000)),
((-0.160001, 0.650000), (-0.160001, 0.700000)),
((-0.740001, 0.940000), (-0.740001, 0.890000)),
((-0.400001, -0.830000), (-0.310000, -0.830000)),
((-0.440001, -0.240000), (-0.440001, -0.340000)),
((0.380000, -0.740000), (0.290000, -0.740000)),
((-0.100000, 0.940000), (-0.110001, 0.940000)),
((0.889999, 0.100000), (0.889999, 0.000000)),
((0.089999, 0.900000), (0.099999, 0.900000)),
((0.830000, -0.790000), (0.790000, -0.790000)),
((0.589999, -0.580000), (0.630000, -0.580000)),
((0.429999, -0.630000), (0.429999, -0.540000)),
((0.940000, -0.590000), (0.889999, -0.590000)),
((-0.650001, -0.480000), (-0.650001, -0.430000)),
((0.630000, -0.250000), (0.580000, -0.250000)),
((-0.100000, -0.780000), (-0.100000, -0.840000)),
((0.089999, 0.800000), (0.150000, 0.800000)),
((0.830000, 0.160000), (0.929999, 0.160000)),
((0.089999, 0.150000), (0.089999, 0.250000)),
((-0.360001, 0.500000), (-0.360001, 0.790000)),
((-0.310000, 0.260000), (-0.310000, 0.390000)),
((0.940000, -0.300000), (0.889999, -0.300000)),
((-0.260000, -0.580000), (-0.050000, -0.580000)),
((-0.840000, 0.260000), (-0.740001, 0.260000)),
((-0.200001, 0.160000), (-0.150001, 0.160000)),
((0.540000, 0.490000), (0.540000, 0.440000)),
((-0.310000, 0.740000), (-0.310000, 0.750000)),
((-0.550000, 0.450000), (-0.550000, 0.500000)),
((-0.250000, -0.050000), (-0.260000, -0.050000)),
((-0.650001, -0.340000), (-0.650001, -0.300000)),
((0.339999, 0.050000), (0.339999, 0.100000)),
((0.380000, 0.110000), (0.380000, 0.160000)),
((-0.990001, -0.730000), (-0.940001, -0.730000)),
((-0.160001, -0.250000), (-0.160001, -0.100000)),
((-0.490001, 0.210000), (-0.390000, 0.210000)),
((-0.310000, -0.640000), (-0.310000, -0.590000)),
((-0.540000, -0.880000), (-0.540000, -0.940000)),
((0.200000, -0.830000), (0.299999, -0.830000)),
((0.780000, -0.730000), (0.830000, -0.730000)),
((-0.900001, 0.890000), (-0.950001, 0.890000)),
((-0.540000, -0.240000), (-0.500000, -0.240000)),
((0.589999, 0.390000), (0.540000, 0.390000)),
((-0.160001, 0.800000), (-0.160001, 0.850000)),
((-0.990001, 0.950000), (-0.940001, 0.950000)),
((0.200000, 0.850000), (0.200000, 0.800000)),
((0.830000, -0.840000), (0.830000, -0.790000)),
((-0.450001, 0.100000), (-0.490001, 0.100000)),
((0.089999, -0.740000), (0.089999, -0.640000)),
((-0.950001, 0.400000), (-0.940001, 0.400000)),
((-0.650001, -0.430000), (-0.640000, -0.430000)),
((-0.100000, -0.840000), (-0.160001, -0.840000)),
((0.089999, 0.600000), (0.089999, 0.800000)),
((0.839999, 0.150000), (0.839999, 0.050000)),
((-0.060000, 0.400000), (-0.010000, 0.400000)),
((-0.060000, -0.640000), (-0.060000, -0.590000)),
((0.000000, 0.440000), (0.000000, 0.390000)),
((-0.850000, 0.250000), (-0.850000, 0.310000)),
((0.049999, 0.210000), (0.049999, 0.110000)),
((-0.310000, 0.750000), (-0.260000, 0.750000)),
((0.250000, 0.050000), (0.250000, 0.000000)),
((-0.700001, -0.100000), (-0.750000, -0.100000)),
((0.380000, 0.160000), (0.440000, 0.160000)),
((-0.300000, -0.150000), (-0.350000, -0.150000)),
((-0.310000, -0.590000), (-0.450001, -0.590000)),
((0.200000, -0.840000), (0.200000, -0.930000)),
((-0.750000, -0.390000), (-0.750000, -0.150000)),
((0.830000, -0.730000), (0.830000, -0.630000)),
((-0.540000, -0.140000), (-0.540000, -0.240000)),
((0.540000, -0.890000), (0.530000, -0.890000)),
((0.589999, 0.440000), (0.589999, 0.390000)),
((0.190000, 0.990000), (-0.100000, 0.990000)),
((-0.640000, 0.650000), (-0.640000, 0.600000)),
((0.099999, 0.850000), (0.200000, 0.850000)),
((0.839999, -0.840000), (0.830000, -0.840000)),
((0.630000, -0.480000), (0.679999, -0.480000)),
((-0.490001, 0.100000), (-0.490001, 0.050000)),
((0.190000, -0.380000), (0.240000, -0.380000)),
((0.089999, -0.640000), (-0.010000, -0.640000)),
((-0.790000, 0.360000), (-0.790000, 0.310000)),
((0.889999, -0.640000), (0.880000, -0.640000)),
((-0.740001, -0.430000), (-0.740001, -0.480000)),
((0.690000, -0.190000), (0.780000, -0.190000)),
((-0.110001, -0.830000), (-0.110001, -0.780000)),
((0.639999, 0.740000), (0.630000, 0.740000)),
((-0.540000, 0.750000), (-0.500000, 0.750000)),
((0.839999, 0.050000), (0.830000, 0.050000)),
((-0.890000, 0.990000), (-0.890000, 0.900000)),
((-0.390000, 0.310000), (-0.390000, 0.260000)),
((0.089999, 0.450000), (0.099999, 0.450000)),
((-0.740001, 0.250000), (-0.790000, 0.250000)),
((0.200000, 0.210000), (0.200000, 0.050000)),
((0.040000, 0.210000), (0.049999, 0.210000)),
((-0.150001, 0.950000), (-0.150001, 0.900000)),
((0.290000, 0.050000), (0.250000, 0.050000)),
((-0.600000, -0.350000), (-0.600000, -0.200000)),
((-0.150001, -0.200000), (-0.150001, -0.250000)),
((-0.350000, -0.150000), (-0.350000, -0.340000)),
((-0.700001, 0.700000), (-0.650001, 0.700000)),
((-0.450001, -0.590000), (-0.450001, -0.480000)),
((-0.360001, -0.880000), (-0.350000, -0.880000)),
((0.889999, 0.260000), (0.889999, 0.200000)),
((-0.440001, -0.440000), (-0.490001, -0.440000)),
((-0.700001, -0.390000), (-0.750000, -0.390000)),
((0.880000, 0.650000), (0.990000, 0.650000)),
((0.940000, 0.750000), (0.940000, 0.690000)),
((-0.640000, -0.140000), (-0.540000, -0.140000)),
((0.349999, -0.590000), (0.349999, -0.680000)),
((0.540000, 0.350000), (0.349999, 0.350000)),
((-0.940001, 0.600000), (-0.850000, 0.600000)),
((-0.100000, 0.990000), (-0.100000, 0.940000)),
((-0.800000, 0.450000), (-0.800000, 0.490000)),
((0.889999, 0.000000), (0.780000, 0.000000)),
((0.099999, 0.900000), (0.099999, 0.850000)),
((0.929999, -0.840000), (0.929999, -0.780000)),
((0.679999, -0.480000), (0.679999, -0.350000)),
((-0.490001, 0.050000), (-0.540000, 0.050000)),
((0.380000, -0.630000), (0.429999, -0.630000)),
((-0.790000, 0.310000), (-0.700001, 0.310000)),
((0.380000, 0.640000), (0.380000, 0.740000)),
((0.889999, -0.590000), (0.889999, -0.640000)),
((-0.640000, -0.480000), (-0.590000, -0.480000)),
((0.139999, -0.380000), (0.139999, -0.290000)),
((0.429999, 0.940000), (0.429999, 0.950000)),
((0.830000, 0.050000), (0.830000, 0.160000)),
((-0.850000, 0.990000), (-0.890000, 0.990000)),
((0.929999, -0.380000), (0.929999, -0.340000)),
((-0.800000, 0.160000), (-0.800000, 0.250000)),
((0.099999, 0.110000), (0.099999, 0.010000)),
((0.190000, 0.210000), (0.200000, 0.210000)),
((0.339999, 0.100000), (0.290000, 0.100000)),
((-0.940001, -0.730000), (-0.940001, -0.790000)),
((-0.350000, -0.340000), (-0.260000, -0.340000)),
((-0.650001, 0.700000), (-0.650001, 0.750000)),
((-0.260000, -0.640000), (-0.310000, -0.640000)),
((-0.540000, -0.940000), (-0.600000, -0.940000)),
((0.530000, 0.800000), (0.630000, 0.800000)),
((-0.440001, -0.380000), (-0.440001, -0.440000)),
((0.929999, 0.790000), (0.929999, 0.850000)),
((0.389999, -0.590000), (0.349999, -0.590000)),
((0.389999, -0.390000), (0.349999, -0.390000)),
((0.349999, 0.350000), (0.349999, 0.260000)),
((0.679999, 0.350000), (0.679999, 0.440000)),
((-0.940001, 0.700000), (-0.940001, 0.600000)),
((-0.160001, 0.850000), (-0.100000, 0.850000)),
((0.940000, 0.060000), (0.940000, -0.040000)),
((0.200000, 0.800000), (0.349999, 0.800000)),
((0.740000, -0.780000), (0.839999, -0.780000)),
((0.530000, -0.380000), (0.639999, -0.380000)),
((-0.840000, 0.390000), (-0.840000, 0.360000)),
((0.880000, -0.590000), (0.790000, -0.590000)),
((-0.900001, -0.940000), (-0.900001, -0.890000)),
((-0.790000, -0.190000), (-0.790000, -0.430000)),
((0.040000, 0.440000), (0.000000, 0.440000)),
((0.429999, 0.950000), (0.589999, 0.950000)),
((-0.550000, 0.850000), (-0.540000, 0.850000)),
((0.940000, 0.150000), (0.839999, 0.150000)),
((-0.850000, 0.940000), (-0.850000, 0.990000)),
((0.929999, -0.340000), (0.940000, -0.340000)),
((-0.060000, -0.590000), (-0.100000, -0.590000)),
((-0.800000, 0.250000), (-0.850000, 0.250000)),
((0.139999, 0.050000), (0.139999, 0.150000)),
((-0.060000, 0.160000), (0.040000, 0.160000)),
((-0.400001, 0.010000), (-0.400001, 0.110000)),
((-0.160001, 0.150000), (-0.200001, 0.150000)),
((0.240000, -0.100000), (0.240000, -0.090000)),
((-0.800000, -0.930000), (-0.800000, -0.830000)),
((-0.300000, -0.940000), (-0.360001, -0.940000)),
((0.880000, 0.210000), (0.880000, 0.260000)),
((-0.160001, 0.700000), (-0.150001, 0.700000)),
((0.530000, 0.700000), (0.530000, 0.800000)),
((-0.490001, -0.630000), (-0.390000, -0.630000)),
((-0.690001, -0.440000), (-0.700001, -0.440000)),
((0.889999, 0.890000), (0.889999, 0.750000)),
((-0.490001, -0.240000), (-0.440001, -0.240000)),
((0.530000, -0.890000), (0.530000, -0.840000)),
((0.349999, -0.390000), (0.349999, -0.430000)),
((0.349999, 0.260000), (0.429999, 0.260000)),
((-0.690001, 0.650000), (-0.640000, 0.650000)),
((0.200000, 0.790000), (0.200000, 0.750000)),
((0.490000, -0.350000), (0.490000, -0.440000)),
((0.530000, -0.440000), (0.530000, -0.380000)),
((0.440000, -0.640000), (0.380000, -0.640000)),
((0.349999, 0.740000), (0.349999, 0.550000)),
((-0.790000, -0.430000), (-0.740001, -0.430000)),
((0.040000, 0.390000), (0.040000, 0.440000)),
((0.589999, 0.950000), (0.589999, 0.900000)),
((-0.540000, 0.850000), (-0.540000, 0.750000)),
((-0.890000, 0.900000), (-0.750000, 0.900000)),
((-0.390000, 0.260000), (-0.310000, 0.260000)),
((0.889999, -0.300000), (0.889999, -0.380000)),
((-0.740001, 0.260000), (-0.740001, 0.250000)),
((0.150000, 0.060000), (0.190000, 0.060000)),
((-0.060000, 0.110000), (-0.060000, 0.160000)),
((-0.600000, 0.450000), (-0.550000, 0.450000)),
((0.040000, 0.100000), (0.040000, 0.150000)),
((-0.600000, -0.200000), (-0.690001, -0.200000)),
((-0.150001, -0.250000), (-0.160001, -0.250000)),
((-0.590000, 0.750000), (-0.590000, 0.700000)),
((-0.400001, -0.350000), (-0.500000, -0.350000)),
((-0.600000, -0.890000), (-0.700001, -0.890000)),
((-0.360001, -0.940000), (-0.360001, -0.880000)),
((0.880000, 0.260000), (0.889999, 0.260000)),
((0.440000, 0.700000), (0.530000, 0.700000)),
((-0.150001, 0.700000), (-0.150001, 0.650000)),
((0.889999, 0.750000), (0.940000, 0.750000)),
((-0.060000, -0.240000), (-0.060000, -0.190000)),
((0.290000, -0.580000), (0.389999, -0.580000)),
((0.429999, -0.100000), (0.429999, -0.050000)),
((-0.990001, 0.840000), (-0.990001, 0.700000)),
((-0.100000, 0.840000), (-0.150001, 0.840000)),
((0.380000, 0.990000), (0.200000, 0.990000)),
((-0.800000, 0.490000), (-0.850000, 0.490000)),
((0.929999, -0.780000), (0.940000, -0.780000)),
((-0.490001, -0.090000), (-0.490001, -0.140000)),
((0.639999, -0.440000), (0.589999, -0.440000)),
((0.380000, -0.640000), (0.380000, -0.630000)),
((0.190000, -0.590000), (0.099999, -0.590000)),
((0.380000, 0.740000), (0.349999, 0.740000)),
((0.630000, -0.150000), (0.540000, -0.150000)),
((-0.640000, -0.430000), (-0.640000, -0.480000)),
((0.099999, -0.380000), (0.139999, -0.380000)),
((0.429999, -0.980000), (0.429999, -0.930000)),
((0.580000, 0.940000), (0.429999, 0.940000)),
((-0.800000, 0.940000), (-0.800000, 0.950000)),
((-0.450001, 0.250000), (-0.450001, 0.260000)),
((0.000000, 0.390000), (-0.050000, 0.390000)),
((-0.800000, 0.060000), (-0.790000, 0.060000)),
((-0.150001, 0.110000), (-0.060000, 0.110000)),
((0.150000, 0.160000), (0.150000, 0.060000)),
((-0.500000, -0.050000), (-0.500000, 0.010000)),
((-0.450001, 0.450000), (-0.450001, 0.640000)),
((0.089999, 0.100000), (0.040000, 0.100000)),
((-0.700001, -0.350000), (-0.700001, -0.340000)),
((-0.940001, -0.790000), (-0.950001, -0.790000)),
((-0.440001, 0.300000), (-0.490001, 0.300000)),
((-0.500000, -0.350000), (-0.500000, -0.340000)),
((-0.600000, -0.940000), (-0.600000, -0.890000)),
((0.299999, -0.840000), (0.200000, -0.840000)),
((0.790000, 0.310000), (0.790000, 0.210000)),
((-0.150001, 0.650000), (-0.060000, 0.650000)),
((0.429999, 0.840000), (0.429999, 0.850000)),
((0.940000, 0.790000), (0.929999, 0.790000)),
((-0.360001, -0.790000), (-0.360001, -0.780000)),
((-0.100000, -0.490000), (-0.160001, -0.490000)),
((0.389999, -0.430000), (0.389999, -0.480000)),
((0.679999, 0.440000), (0.589999, 0.440000)),
((-0.100000, 0.850000), (-0.100000, 0.840000)),
((0.200000, 0.990000), (0.200000, 0.940000)),
((-0.110001, -0.190000), (-0.110001, -0.140000)),
((-0.640000, 0.690000), (-0.690001, 0.690000)),
((0.940000, -0.040000), (0.990000, -0.040000)),
((0.940000, -0.780000), (0.940000, -0.830000)),
((0.839999, -0.780000), (0.839999, -0.840000)),
((-0.490001, -0.140000), (-0.440001, -0.140000)),
((0.190000, -0.680000), (0.190000, -0.590000)),
((0.880000, -0.640000), (0.880000, -0.590000)),
((0.630000, -0.190000), (0.630000, -0.150000)),
((-0.900001, -0.890000), (-0.950001, -0.890000)),
((-0.110001, -0.780000), (-0.100000, -0.780000)),
((0.049999, 0.590000), (0.049999, 0.390000)),
((-0.450001, 0.990000), (-0.840000, 0.990000)),
((-0.050000, 0.390000), (-0.050000, 0.360000)),
((-0.800000, 0.010000), (-0.800000, 0.060000)),
((0.099999, 0.160000), (0.150000, 0.160000)),
((-0.500000, 0.010000), (-0.400001, 0.010000)),
((-0.200001, 0.150000), (-0.200001, 0.000000)),
((-0.690001, -0.250000), (-0.700001, -0.250000)),
((0.240000, -0.090000), (0.339999, -0.090000)),
((-0.950001, -0.790000), (-0.950001, -0.740000)),
((-0.440001, 0.350000), (-0.440001, 0.300000)),
((-0.800000, -0.250000), (-0.850000, -0.250000)),
((-0.850000, -0.930000), (-0.800000, -0.930000)),
((0.190000, -0.940000), (0.190000, -0.840000)),
((0.490000, 0.740000), (0.440000, 0.740000)),
((-0.490001, -0.440000), (-0.490001, -0.630000)),
((-0.700001, -0.440000), (-0.700001, -0.390000)),
((0.780000, -0.740000), (0.780000, -0.730000)),
((-0.160001, -0.490000), (-0.160001, -0.480000)),
((0.530000, -0.840000), (0.440000, -0.840000)),
((0.440000, -0.040000), (0.440000, -0.100000)),
((-0.150001, 0.790000), (-0.200001, 0.790000)),
((-0.850000, 0.590000), (-0.950001, 0.590000)),
((-0.690001, 0.690000), (-0.690001, 0.650000)),
((0.200000, 0.750000), (0.389999, 0.750000)),
((0.679999, -0.350000), (0.490000, -0.350000)),
((-0.540000, 0.050000), (-0.540000, -0.090000)),
((0.200000, -0.440000), (0.190000, -0.440000)),
((0.639999, 0.400000), (0.639999, 0.350000)),
((0.480000, -0.930000), (0.480000, -0.880000)),
((0.099999, -0.740000), (0.089999, -0.740000)),
((-0.900001, 0.210000), (-0.900001, 0.350000)),
((0.830000, -0.300000), (0.740000, -0.300000)),
((0.150000, -0.250000), (0.099999, -0.250000)),
((0.780000, 0.950000), (0.940000, 0.950000)),
((-0.650001, 0.850000), (-0.640000, 0.850000)),
((0.690000, 0.360000), (0.839999, 0.360000)),
((-0.450001, 0.890000), (-0.450001, 0.990000)),
((-0.050000, 0.360000), (0.150000, 0.360000)),
((-0.900001, 0.010000), (-0.800000, 0.010000)),
((0.049999, 0.110000), (0.099999, 0.110000)),
((-0.450001, -0.100000), (-0.450001, -0.050000)),
((0.250000, 0.000000), (0.089999, 0.000000)),
((-0.690001, -0.200000), (-0.690001, -0.250000)),
((0.040000, -0.590000), (0.040000, -0.530000)),
((-0.650001, 0.750000), (-0.590000, 0.750000)),
((-0.800000, -0.440000), (-0.800000, -0.250000)),
((-0.200001, -0.880000), (-0.100000, -0.880000)),
((-0.500000, 0.350000), (-0.500000, 0.390000)),
((-0.740001, -0.640000), (-0.790000, -0.640000)),
((0.990000, 0.840000), (0.940000, 0.840000)),
((-0.650001, -0.790000), (-0.650001, -0.740000)),
((-0.110001, -0.240000), (-0.060000, -0.240000)),
((0.440000, -0.840000), (0.440000, -0.890000)),
((0.389999, -0.580000), (0.389999, -0.590000)),
((0.440000, -0.100000), (0.429999, -0.100000)),
((-0.990001, 0.700000), (-0.940001, 0.700000)),
((0.190000, 0.940000), (0.190000, 0.990000)),
((-0.850000, 0.490000), (-0.850000, 0.590000)),
((0.990000, 0.100000), (0.889999, 0.100000)),
((0.580000, -0.200000), (0.580000, -0.190000)),
((0.200000, -0.390000), (0.200000, -0.440000)),
((0.639999, -0.380000), (0.639999, -0.440000)),
((0.429999, -0.930000), (0.480000, -0.930000)),
((-0.840000, 0.360000), (-0.790000, 0.360000)),
((0.339999, 0.540000), (0.339999, 0.640000)),
((0.690000, -0.540000), (0.690000, -0.680000)),
((-0.950001, -0.880000), (-0.850000, -0.880000)),
((0.099999, -0.250000), (0.099999, -0.380000)),
((0.679999, -0.240000), (0.679999, -0.140000)),
((0.940000, 0.950000), (0.940000, 0.940000)),
((-0.640000, 0.850000), (-0.640000, 0.800000)),
((-0.800000, 0.950000), (-0.640000, 0.950000)),
((-0.450001, 0.260000), (-0.400001, 0.260000)),
((-0.950001, -0.100000), (-0.950001, 0.110000)),
((0.200000, 0.050000), (0.139999, 0.050000)),
((-0.540000, 0.450000), (-0.450001, 0.450000)),
((-0.640000, -0.350000), (-0.700001, -0.350000)),
((0.339999, -0.040000), (0.349999, -0.040000)),
((0.679999, 0.450000), (0.679999, 0.540000)),
((-0.950001, -0.380000), (-0.950001, -0.290000)),
((-0.750000, -0.440000), (-0.800000, -0.440000)),
((-0.100000, -0.880000), (-0.100000, -0.890000)),
((0.000000, 0.750000), (0.000000, 0.490000)),
((0.429999, 0.850000), (0.580000, 0.850000)),
((-0.590000, -0.190000), (-0.590000, -0.290000)),
((0.940000, 0.360000), (0.940000, 0.350000)),
((0.940000, 0.840000), (0.940000, 0.790000)),
((0.830000, 0.900000), (0.940000, 0.900000)),
((-0.600000, -0.790000), (-0.650001, -0.790000)),
((-0.110001, -0.480000), (-0.110001, -0.440000)),
((0.349999, -0.430000), (0.389999, -0.430000)),
((0.389999, 0.050000), (0.389999, -0.040000)),
((-0.990001, 0.940000), (-0.990001, 0.850000)),
((-0.360001, 0.990000), (-0.440001, 0.990000)),
((-0.110001, -0.140000), (-0.010000, -0.140000)),
((-0.950001, 0.690000), (-0.990001, 0.690000)),
((-0.600000, 0.690000), (-0.600000, 0.740000)),
((0.580000, -0.040000), (0.580000, 0.010000)),
((0.990000, -0.040000), (0.990000, 0.100000)),
((0.639999, -0.200000), (0.580000, -0.200000)),
((0.349999, -0.880000), (0.429999, -0.880000)),
((0.490000, -0.880000), (0.490000, -0.930000)),
((0.440000, 0.540000), (0.339999, 0.540000)),
((0.790000, -0.540000), (0.690000, -0.540000)),
((-0.950001, -0.890000), (-0.950001, -0.880000)),
((0.049999, 0.390000), (0.040000, 0.390000)),
((-0.400001, 0.800000), (-0.400001, 0.890000)),
((0.889999, -0.380000), (0.929999, -0.380000)),
((-0.050000, -0.640000), (-0.060000, -0.640000)),
((-0.850000, 0.000000), (-0.900001, 0.000000)),
((-0.200001, 0.000000), (-0.250000, 0.000000)),
((0.339999, -0.090000), (0.339999, -0.040000)),
((0.299999, 0.160000), (0.299999, 0.110000)),
((0.099999, 0.500000), (0.290000, 0.500000)),
((-0.990001, -0.380000), (-0.950001, -0.380000)),
((-0.840000, -0.740000), (-0.840000, -0.780000)),
((0.349999, -0.940000), (0.190000, -0.940000)),
((0.000000, 0.490000), (-0.050000, 0.490000)),
((0.440000, 0.740000), (0.440000, 0.700000)),
((0.580000, 0.850000), (0.580000, 0.940000)),
((-0.690001, -0.190000), (-0.590000, -0.190000)),
((0.880000, -0.740000), (0.780000, -0.740000)),
((0.830000, 0.890000), (0.830000, 0.900000)),
((-0.600000, -0.880000), (-0.600000, -0.790000)),
((-0.200001, -0.290000), (-0.110001, -0.290000)),
((0.380000, -0.350000), (0.380000, -0.340000)),
((-0.150001, 0.840000), (-0.150001, 0.790000)),
((-0.360001, 0.950000), (-0.360001, 0.990000)),
((-0.400001, -0.050000), (-0.400001, -0.040000)),
((-0.550000, 0.690000), (-0.600000, 0.690000)),
((0.639999, -0.100000), (0.639999, -0.200000)),
((0.429999, -0.880000), (0.429999, -0.830000)),
((0.639999, 0.350000), (0.589999, 0.350000)),
((0.099999, -0.590000), (0.099999, -0.740000)),
((0.730000, -0.680000), (0.730000, -0.630000)),
((-0.850000, -0.640000), (-0.900001, -0.640000)),
((0.150000, -0.980000), (0.429999, -0.980000)),
((0.190000, 0.540000), (0.190000, 0.640000)),
((-0.550000, 0.800000), (-0.550000, 0.850000)),
((-0.150001, 0.210000), (0.000000, 0.210000)),
((0.839999, 0.360000), (0.839999, 0.310000)),
((-0.450001, 0.800000), (-0.400001, 0.800000)),
((-0.400001, 0.310000), (-0.390000, 0.310000)),
((0.929999, -0.290000), (0.929999, -0.200000)),
((-0.050000, -0.580000), (-0.050000, -0.640000)),
((0.049999, 0.350000), (0.049999, 0.260000)),
((-0.260000, 0.940000), (-0.310000, 0.940000)),
((-0.550000, 0.500000), (-0.540000, 0.500000)),
((-0.250000, 0.000000), (-0.250000, -0.050000)),
((0.089999, 0.000000), (0.089999, 0.100000)),
((0.049999, -0.590000), (0.040000, -0.590000)),
((0.290000, 0.500000), (0.290000, 0.650000)),
((-0.940001, -0.290000), (-0.940001, -0.390000)),
((-0.790000, -0.530000), (-0.750000, -0.530000)),
((-0.300000, -0.890000), (-0.300000, -0.940000)),
((-0.450001, 0.350000), (-0.500000, 0.350000)),
((0.790000, 0.210000), (0.880000, 0.210000)),
((-0.060000, 0.650000), (-0.060000, 0.750000)),
((-0.690001, -0.050000), (-0.690001, -0.190000)),
((0.830000, -0.150000), (0.830000, -0.140000)),
((0.940000, 0.890000), (0.889999, 0.890000)),
((-0.650001, -0.740000), (-0.690001, -0.740000)),
((-0.110001, -0.290000), (-0.110001, -0.240000)),
((-0.500000, -0.240000), (-0.500000, -0.190000)),
((0.380000, -0.340000), (0.429999, -0.340000)),
((0.200000, 0.940000), (0.190000, 0.940000)),
((-0.010000, -0.100000), (-0.060000, -0.100000)),
((-0.640000, 0.740000), (-0.640000, 0.690000)),
((0.580000, -0.190000), (0.630000, -0.190000)),
((-0.300000, 0.390000), (-0.300000, 0.160000)),
((0.429999, -0.830000), (0.679999, -0.830000)),
((0.040000, -0.300000), (0.000000, -0.300000)),
((0.349999, 0.550000), (0.440000, 0.550000)),
((0.690000, -0.530000), (0.790000, -0.530000)),
((0.150000, -0.880000), (0.150000, -0.980000)),
((-0.790000, 0.590000), (-0.800000, 0.590000)),
((0.000000, 0.210000), (0.000000, 0.200000)),
((-0.450001, 0.740000), (-0.450001, 0.800000)),
((-0.400001, 0.260000), (-0.400001, 0.310000)),
((0.929999, -0.200000), (0.690000, -0.200000)),
((0.049999, 0.260000), (0.089999, 0.260000)),
((-0.950001, 0.110000), (-0.940001, 0.110000)),
((-0.060000, 0.800000), (-0.060000, 0.890000)),
((-0.540000, 0.500000), (-0.540000, 0.450000)),
((-0.050000, 0.740000), (-0.050000, 0.640000)),
((0.349999, -0.840000), (0.349999, -0.880000)),
((0.150000, -0.530000), (0.150000, -0.540000)),
((0.580000, 0.450000), (0.679999, 0.450000)),
((-0.890000, -0.150000), (-0.990001, -0.150000)),
((-0.300000, -0.100000), (-0.300000, -0.150000)),
((-0.400001, -0.480000), (-0.400001, -0.350000)),
((0.200000, -0.930000), (0.349999, -0.930000)),
((-0.450001, 0.310000), (-0.450001, 0.350000)),
((0.740000, 0.250000), (0.740000, 0.200000)),
((-0.590000, -0.290000), (-0.490001, -0.290000)),
((-0.700001, -0.890000), (-0.700001, -0.880000)),
((-0.160001, -0.480000), (-0.110001, -0.480000)),
((0.429999, -0.340000), (0.429999, -0.200000)),
((-0.990001, 0.850000), (-0.940001, 0.850000)),
((0.730000, 0.950000), (0.730000, 0.990000)),
((-0.010000, -0.140000), (-0.010000, -0.100000)),
((-0.500000, 0.590000), (-0.550000, 0.590000)),
((-0.950001, 0.590000), (-0.950001, 0.690000)),
((-0.540000, -0.090000), (-0.490001, -0.090000)),
((0.589999, 0.260000), (0.639999, 0.260000)),
((0.740000, -0.630000), (0.740000, -0.780000)),
((0.540000, -0.150000), (0.540000, -0.290000)),
((0.139999, -0.880000), (0.150000, -0.880000)),
((-0.500000, 0.390000), (-0.540000, 0.390000)),
((-0.790000, 0.690000), (-0.790000, 0.590000)),
((0.580000, 0.100000), (0.580000, 0.150000)),
((-0.400001, 0.890000), (-0.450001, 0.890000)),
((0.880000, -0.390000), (0.880000, -0.290000)),
((-0.210000, -0.430000), (-0.210000, -0.390000)),
((0.150000, 0.360000), (0.150000, 0.350000)),
((-0.900001, 0.000000), (-0.900001, 0.010000)),
((-0.940001, 0.110000), (-0.940001, 0.060000)),
((0.299999, 0.300000), (0.290000, 0.300000)),
((-0.060000, 0.890000), (-0.160001, 0.890000)),
((-0.450001, -0.050000), (-0.500000, -0.050000)),
((-0.550000, -0.740000), (-0.600000, -0.740000)),
((0.000000, -0.300000), (0.000000, -0.350000)),
((-0.350000, -0.050000), (-0.350000, -0.100000)),
((0.049999, -0.200000), (0.049999, -0.430000)),
((0.150000, -0.540000), (0.049999, -0.540000)),
((0.339999, 0.650000), (0.339999, 0.740000)),
((-0.990001, -0.390000), (-0.990001, -0.480000)),
((-0.840000, -0.780000), (-0.750000, -0.780000)),
((0.349999, -0.930000), (0.349999, -0.940000)),
((0.740000, 0.200000), (0.730000, 0.200000)),
((-0.540000, -0.300000), (-0.540000, -0.380000)),
((-0.690001, -0.790000), (-0.700001, -0.790000)),
((-0.450001, -0.200000), (-0.450001, -0.150000)),
((0.429999, -0.350000), (0.380000, -0.350000)),
((0.540000, 0.390000), (0.540000, 0.350000)),
((0.730000, 0.990000), (0.389999, 0.990000)),
((-0.360001, -0.050000), (-0.400001, -0.050000)),
((-0.500000, 0.550000), (-0.500000, 0.590000)),
((0.349999, 0.790000), (0.200000, 0.790000)),
((0.740000, -0.150000), (0.730000, -0.150000)),
((0.679999, -0.790000), (0.480000, -0.790000)),
((0.589999, 0.350000), (0.589999, 0.260000)),
((0.780000, -0.880000), (0.780000, -0.790000)),
((0.730000, -0.630000), (0.740000, -0.630000)),
((-0.850000, -0.880000), (-0.850000, -0.640000)),
((0.190000, 0.640000), (0.099999, 0.640000)),
((-0.540000, 0.390000), (-0.540000, 0.250000)),
((-0.640000, 0.800000), (-0.550000, 0.800000)),
((-0.100000, 0.200000), (-0.100000, 0.150000)),
((0.839999, 0.310000), (0.940000, 0.310000)),
((-0.600000, -0.090000), (-0.600000, 0.060000)),
((-0.210000, -0.390000), (-0.390000, -0.390000)),
((-0.850000, 0.310000), (-0.840000, 0.310000)),
((0.299999, 0.440000), (0.299999, 0.300000)),
((-0.110001, 0.750000), (-0.110001, 0.800000)),
((-0.500000, 0.690000), (-0.500000, 0.740000)),
((-0.550000, -0.790000), (-0.550000, -0.740000)),
((0.000000, -0.350000), (-0.150001, -0.350000)),
((-0.350000, -0.100000), (-0.360001, -0.100000)),
((0.389999, -0.830000), (0.389999, -0.840000)),
((0.049999, -0.540000), (0.049999, -0.590000)),
((0.530000, 0.400000), (0.580000, 0.400000)),
((-0.940001, -0.390000), (-0.990001, -0.390000)),
((-0.400001, -0.300000), (-0.400001, -0.290000)),
((-0.750000, -0.780000), (-0.750000, -0.680000)),
((-0.750000, -0.530000), (-0.750000, -0.440000)),
((-0.100000, -0.890000), (-0.300000, -0.890000)),
((-0.500000, 0.160000), (-0.500000, 0.310000)),
((0.780000, 0.110000), (0.780000, 0.250000)),
((-0.540000, 0.100000), (-0.640000, 0.100000)),
((0.830000, -0.140000), (0.990000, -0.140000)),
((0.940000, 0.900000), (0.940000, 0.890000)),
((-0.690001, -0.740000), (-0.690001, -0.790000)),
((-0.450001, -0.150000), (-0.500000, -0.150000)),
((0.349999, -0.200000), (0.349999, -0.240000)),
((0.389999, -0.040000), (0.440000, -0.040000)),
((-0.940001, 0.840000), (-0.990001, 0.840000)),
((0.389999, 0.990000), (0.389999, 0.900000)),
((-0.600000, 0.550000), (-0.500000, 0.550000)),
((-0.950001, 0.540000), (-0.950001, 0.550000)),
((0.349999, 0.800000), (0.349999, 0.790000)),
((0.740000, -0.090000), (0.740000, -0.150000)),
((0.480000, -0.880000), (0.490000, -0.880000)),
((0.040000, -0.480000), (0.040000, -0.300000)),
((0.440000, 0.550000), (0.440000, 0.540000)),
((0.790000, -0.530000), (0.790000, -0.540000)),
((-0.740001, -0.480000), (-0.650001, -0.480000)),
((0.780000, 0.900000), (0.780000, 0.950000)),
((-0.540000, 0.250000), (-0.590000, 0.250000)),
((0.940000, 0.310000), (0.940000, 0.150000)),
((-0.750000, 0.940000), (-0.800000, 0.940000)),
((-0.390000, -0.390000), (-0.390000, -0.490000)),
((-0.850000, 0.060000), (-0.850000, 0.110000)),
((0.040000, 0.160000), (0.040000, 0.210000)),
((0.380000, 0.440000), (0.299999, 0.440000)),
((-0.160001, 0.940000), (-0.250000, 0.940000)),
((-0.500000, 0.740000), (-0.550000, 0.740000)),
((-0.360001, -0.100000), (-0.360001, -0.050000)),
((0.389999, -0.840000), (0.349999, -0.840000)),
((0.099999, -0.430000), (0.099999, -0.440000)),
((0.099999, -0.530000), (0.150000, -0.530000)),
((0.580000, 0.400000), (0.580000, 0.450000)),
((-0.400001, -0.290000), (-0.360001, -0.290000)),
((-0.990001, -0.150000), (-0.990001, -0.380000)),
((-0.450001, -0.480000), (-0.400001, -0.480000)),
((0.730000, 0.260000), (0.780000, 0.260000)),
((-0.490001, 0.840000), (-0.490001, 0.700000)),
((-0.540000, 0.150000), (-0.540000, 0.100000)),
((0.990000, -0.630000), (0.990000, -0.150000)),
((0.830000, 0.450000), (0.880000, 0.450000)),
((-0.700001, -0.880000), (-0.600000, -0.880000)),
((-0.400001, -0.250000), (-0.400001, -0.200000)),
((0.389999, -0.480000), (0.429999, -0.480000)),
((-0.940001, 0.850000), (-0.940001, 0.840000)),
((0.630000, 0.950000), (0.730000, 0.950000)),
((-0.950001, 0.550000), (-0.890000, 0.550000)),
((0.540000, 0.300000), (0.540000, 0.200000)),
((0.540000, -0.290000), (0.589999, -0.290000)),
((0.000000, -0.890000), (0.000000, -0.980000)),
((0.099999, 0.590000), (0.049999, 0.590000)),
((0.790000, 0.740000), (0.740000, 0.740000)),
((0.589999, 0.100000), (0.580000, 0.100000)),
((-0.750000, 0.900000), (-0.750000, 0.940000)),
((-0.360001, -0.430000), (-0.210000, -0.430000)),
((-0.850000, 0.110000), (-0.790000, 0.110000)),
((0.190000, 0.060000), (0.190000, 0.210000)),
((-0.200001, 0.790000), (-0.200001, 0.750000)),
((-0.550000, 0.740000), (-0.550000, 0.790000)),
((-0.450001, -0.840000), (-0.450001, -0.790000)),
((-0.150001, -0.380000), (0.000000, -0.380000)),
((-0.310000, -0.050000), (-0.350000, -0.050000)),
((0.049999, -0.430000), (0.099999, -0.430000)),
((0.240000, -0.730000), (0.240000, -0.490000)),
((0.290000, 0.650000), (0.339999, 0.650000)),
((-0.360001, -0.350000), (-0.360001, -0.300000)),
((-0.750000, -0.150000), (-0.800000, -0.150000)),
((-0.850000, -0.490000), (-0.850000, -0.340000)),
((0.780000, 0.260000), (0.780000, 0.310000)),
((-0.060000, 0.750000), (0.000000, 0.750000)),
((-0.540000, -0.380000), (-0.440001, -0.380000)),
((0.990000, -0.050000), (0.880000, -0.050000)),
((-0.940001, 0.750000), (-0.890000, 0.750000)),
((-0.590000, -0.780000), (-0.590000, -0.830000)),
((0.429999, -0.480000), (0.429999, -0.350000)),
((0.540000, 0.900000), (0.540000, 0.890000)),
((-0.900001, 0.500000), (-0.900001, 0.540000)),
((-0.600000, 0.740000), (-0.640000, 0.740000)),
((0.780000, 0.650000), (0.780000, 0.700000)),
((0.679999, -0.830000), (0.679999, -0.790000)),
((0.580000, 0.300000), (0.540000, 0.300000)),
((-0.060000, -0.530000), (-0.060000, -0.480000)),
((0.639999, 0.600000), (0.639999, 0.550000)),
((0.490000, -0.300000), (0.490000, -0.340000)),
((0.049999, -0.890000), (0.000000, -0.890000)),
((0.099999, 0.640000), (0.099999, 0.590000)),
((0.740000, 0.740000), (0.740000, 0.690000)),
((0.000000, 0.200000), (-0.100000, 0.200000)),
((-0.600000, 0.060000), (-0.500000, 0.060000)),
((0.940000, -0.340000), (0.940000, -0.440000)),
((0.790000, -0.240000), (0.790000, -0.250000)),
((-0.440001, -0.490000), (-0.440001, -0.580000)),
((-0.790000, 0.110000), (-0.790000, 0.100000)),
((0.040000, -0.530000), (0.089999, -0.530000)),
((0.349999, 0.400000), (0.349999, 0.360000)),
((-0.200001, 0.750000), (-0.110001, 0.750000)),
((-0.400001, 0.690000), (-0.500000, 0.690000)),
((-0.440001, -0.840000), (-0.450001, -0.840000)),
((-0.390000, -0.090000), (-0.390000, -0.140000)),
((0.049999, -0.440000), (0.049999, -0.490000)),
((-0.990001, -0.490000), (-0.990001, -0.730000)),
((-0.360001, -0.150000), (-0.400001, -0.150000)),
((-0.800000, -0.490000), (-0.850000, -0.490000)),
((-0.550000, -0.880000), (-0.540000, -0.880000)),
((-0.500000, 0.310000), (-0.450001, 0.310000)),
((0.780000, 0.310000), (0.790000, 0.310000)),
((-0.490001, 0.200000), (-0.490001, 0.150000)),
((0.990000, -0.140000), (0.990000, -0.050000)),
((-0.890000, 0.750000), (-0.890000, 0.700000)),
((0.429999, -0.200000), (0.349999, -0.200000)),
((0.740000, 0.940000), (0.630000, 0.940000)),
((-0.890000, 0.490000), (-0.990001, 0.490000)),
((0.690000, 0.650000), (0.780000, 0.650000)),
((0.339999, -0.590000), (0.299999, -0.590000)),
((0.580000, 0.250000), (0.580000, 0.300000)),
((-0.060000, -0.480000), (0.040000, -0.480000)),
((0.380000, 0.600000), (0.639999, 0.600000)),
((0.589999, -0.300000), (0.490000, -0.300000)),
((0.139999, -0.980000), (0.139999, -0.880000)),
((0.589999, 0.900000), (0.780000, 0.900000)),
((-0.540000, 0.210000), (-0.540000, 0.200000)),
((-0.160001, 0.200000), (-0.160001, 0.250000)),
((-0.650001, -0.150000), (-0.650001, -0.090000)),
((0.880000, -0.290000), (0.929999, -0.290000)),
((-0.110001, -0.440000), (-0.360001, -0.440000)),
((0.150000, 0.350000), (0.049999, 0.350000)),
((-0.940001, 0.060000), (-0.850000, 0.060000)),
((0.089999, -0.530000), (0.089999, -0.480000)),
((0.339999, 0.400000), (0.349999, 0.400000)),
((-0.160001, 0.890000), (-0.160001, 0.940000)),
((-0.690001, 0.790000), (-0.690001, 0.740000)),
((-0.440001, -0.790000), (-0.440001, -0.840000)),
((0.250000, -0.440000), (0.250000, -0.780000)),
((-0.940001, -0.490000), (-0.990001, -0.490000)),
((-0.400001, -0.150000), (-0.400001, -0.100000)),
((-0.840000, -0.340000), (-0.840000, -0.480000)),
((-0.550000, -0.930000), (-0.550000, -0.880000)),
((0.099999, -0.200000), (0.049999, -0.200000)),
((-0.650001, 0.060000), (-0.650001, 0.110000)),
((0.630000, 0.060000), (0.630000, 0.160000)),
((-0.390000, 0.200000), (-0.490001, 0.200000)),
((0.929999, -0.630000), (0.990000, -0.630000)),
((-0.890000, 0.700000), (-0.850000, 0.700000)),
((-0.440001, 0.840000), (-0.490001, 0.840000)),
((0.630000, 0.940000), (0.630000, 0.950000)),
((-0.990001, 0.690000), (-0.990001, 0.500000)),
((0.690000, 0.800000), (0.690000, 0.650000)),
((0.790000, -0.790000), (0.790000, -0.940000)),
((0.389999, -0.380000), (0.389999, -0.390000)),
((0.540000, 0.200000), (0.490000, 0.200000)),
((0.580000, -0.880000), (0.780000, -0.880000)),
((-0.640000, 0.600000), (-0.600000, 0.600000)),
((0.679999, 0.550000), (0.679999, 0.600000)),
((0.780000, -0.430000), (0.780000, -0.340000)),
((0.589999, -0.290000), (0.589999, -0.300000)),
((0.200000, 0.650000), (0.200000, 0.550000)),
((-0.540000, 0.200000), (-0.590000, 0.200000)),
((-0.160001, 0.250000), (-0.210000, 0.250000)),
((-0.500000, 0.110000), (-0.450001, 0.110000)),
((0.639999, -0.250000), (0.639999, -0.300000)),
((-0.360001, -0.440000), (-0.360001, -0.430000)),
((0.250000, 0.400000), (0.250000, 0.360000)),
((0.530000, 0.360000), (0.530000, 0.400000)),
((-0.210000, 0.900000), (-0.200001, 0.900000)),
((-0.440001, 0.550000), (-0.400001, 0.550000)),
((-0.450001, -0.790000), (-0.550000, -0.790000)),
((-0.150001, -0.350000), (-0.150001, -0.380000)),
((0.250000, -0.780000), (0.349999, -0.780000)),
((0.190000, -0.730000), (0.240000, -0.730000)),
((-0.800000, -0.150000), (-0.800000, -0.100000)),
((-0.400001, -0.100000), (-0.450001, -0.100000)),
((-0.740001, -0.540000), (-0.800000, -0.540000)),
((0.099999, -0.190000), (0.099999, -0.200000)),
((0.780000, 0.250000), (0.740000, 0.250000)),
((0.480000, 0.840000), (0.429999, 0.840000)),
((-0.390000, 0.210000), (-0.390000, 0.200000)),
((0.839999, -0.630000), (0.839999, -0.680000)),
((-0.590000, -0.830000), (-0.490001, -0.830000)),
((-0.440001, -0.140000), (-0.440001, -0.190000)),
((-0.550000, -0.100000), (-0.550000, 0.050000)),
((-0.440001, 0.850000), (-0.440001, 0.840000)),
((0.389999, 0.900000), (0.540000, 0.900000)),
((-0.400001, -0.040000), (-0.360001, -0.040000)),
((-0.990001, 0.500000), (-0.900001, 0.500000)),
((0.780000, 0.700000), (0.830000, 0.700000)),
((0.639999, 0.260000), (0.639999, 0.250000)),
((0.580000, -0.930000), (0.580000, -0.880000)),
((-0.600000, 0.600000), (-0.600000, 0.650000)),
((0.480000, 0.590000), (0.380000, 0.590000)),
((0.490000, -0.340000), (0.679999, -0.340000)),
((-0.590000, 0.250000), (-0.590000, 0.210000)),
((-0.210000, 0.250000), (-0.210000, 0.310000)),
((-0.500000, 0.060000), (-0.500000, 0.110000)),
((-0.600000, -0.740000), (-0.600000, -0.690000)),
((0.790000, -0.250000), (0.639999, -0.250000)),
((-0.390000, -0.490000), (-0.440001, -0.490000)),
((0.250000, 0.360000), (0.290000, 0.360000)),
((-0.840000, 0.050000), (-0.940001, 0.050000)),
((0.139999, -0.480000), (0.139999, -0.390000)),
((0.250000, 0.260000), (0.339999, 0.260000)),
((-0.200001, 0.900000), (-0.200001, 0.840000)),
((-0.400001, 0.550000), (-0.400001, 0.690000)),
((-0.010000, -0.390000), (-0.160001, -0.390000)),
((-0.440001, -0.090000), (-0.390000, -0.090000)),
((-0.990001, -0.480000), (-0.940001, -0.480000)),
((-0.260000, -0.290000), (-0.260000, -0.240000)),
((-0.790000, -0.480000), (-0.790000, -0.530000)),
((-0.590000, -0.840000), (-0.590000, -0.930000)),
((0.049999, -0.190000), (0.099999, -0.190000)),
((0.540000, 0.110000), (0.540000, 0.060000)),
((-0.490001, 0.700000), (-0.400001, 0.700000)),
((0.480000, 0.790000), (0.480000, 0.840000)),
((-0.490001, 0.150000), (-0.540000, 0.150000)),
((0.839999, -0.680000), (0.929999, -0.680000)),
((0.929999, 0.060000), (0.940000, 0.060000)),
((-0.850000, 0.750000), (-0.790000, 0.750000)),
((-0.400001, -0.200000), (-0.450001, -0.200000)),
((0.380000, 0.900000), (0.380000, 0.990000)),
((-0.360001, -0.040000), (-0.360001, 0.010000)),
((-0.850000, 0.400000), (-0.750000, 0.400000)),
((-0.890000, 0.550000), (-0.890000, 0.490000)),
((0.880000, 0.750000), (0.880000, 0.890000)),
((0.780000, -0.940000), (0.780000, -0.890000)),
((0.730000, -0.150000), (0.730000, -0.100000)),
((0.339999, -0.690000), (0.339999, -0.590000)),
((0.490000, 0.160000), (0.580000, 0.160000)),
((0.490000, -0.930000), (0.580000, -0.930000)),
((-0.360001, -0.530000), (-0.360001, -0.480000)),
((0.690000, 0.600000), (0.690000, 0.450000)),
((0.690000, -0.300000), (0.690000, -0.430000)),
((-0.110001, 0.200000), (-0.160001, 0.200000)),
((-0.550000, -0.150000), (-0.650001, -0.150000)),
((0.630000, -0.300000), (0.630000, -0.250000)),
((0.240000, 0.360000), (0.240000, 0.400000)),
((-0.940001, 0.050000), (-0.940001, -0.040000)),
((0.139999, -0.390000), (0.089999, -0.390000)),
((0.250000, 0.310000), (0.250000, 0.260000)),
((-0.200001, 0.840000), (-0.250000, 0.840000)),
((-0.550000, 0.790000), (-0.690001, 0.790000)),
((-0.210000, -0.740000), (-0.390000, -0.740000)),
((0.349999, -0.830000), (0.389999, -0.830000)),
((0.089999, -0.630000), (0.089999, -0.580000)),
((-0.360001, -0.300000), (-0.400001, -0.300000)),
((-0.890000, -0.100000), (-0.890000, -0.150000)),
((-0.840000, -0.480000), (-0.790000, -0.480000)),
((-0.650001, 0.110000), (-0.550000, 0.110000)),
((0.540000, 0.060000), (0.630000, 0.060000)),
((-0.400001, 0.700000), (-0.400001, 0.750000)),
((0.490000, 0.790000), (0.480000, 0.790000)),
((0.929999, -0.680000), (0.929999, -0.630000)),
((0.929999, -0.040000), (0.929999, 0.060000)),
((-0.490001, -0.880000), (-0.400001, -0.880000)),
((-0.100000, -0.440000), (-0.100000, -0.490000)),
((-0.590000, 0.050000), (-0.590000, -0.100000)),
((0.929999, 0.850000), (0.990000, 0.850000)),
((-0.490001, 0.950000), (-0.490001, 0.850000)),
((-0.940001, 0.250000), (-0.950001, 0.250000)),
((-0.850000, 0.360000), (-0.850000, 0.400000)),
((0.589999, 0.700000), (0.679999, 0.700000)),
((0.790000, -0.940000), (0.780000, -0.940000)),
((0.349999, -0.380000), (0.389999, -0.380000)),
((0.490000, 0.200000), (0.490000, 0.160000)),
((0.580000, -0.730000), (0.580000, -0.640000)),
((-0.360001, -0.480000), (-0.200001, -0.480000)),
((-0.590000, 0.650000), (-0.590000, 0.590000)),
((0.679999, 0.600000), (0.690000, 0.600000)),
((0.690000, -0.430000), (0.780000, -0.430000)),
((0.200000, 0.550000), (0.240000, 0.550000)),
((-0.940001, -0.100000), (-0.950001, -0.100000)),
((-0.200001, 0.310000), (-0.200001, 0.260000)),
((-0.450001, -0.340000), (-0.450001, -0.250000)),
((0.940000, -0.440000), (0.929999, -0.440000)),
((0.089999, -0.390000), (0.089999, -0.240000)),
((0.240000, 0.310000), (0.250000, 0.310000)),
((-0.650001, 0.800000), (-0.650001, 0.850000)),
((-0.210000, -0.880000), (-0.210000, -0.740000)),
((0.099999, -0.440000), (0.049999, -0.440000)),
((-0.310000, -0.300000), (-0.310000, -0.290000)),
((-0.800000, -0.100000), (-0.890000, -0.100000)),
((-0.800000, -0.540000), (-0.800000, -0.490000)),
((0.440000, 0.160000), (0.440000, 0.110000)),
((-0.400001, 0.750000), (-0.390000, 0.750000)),
((-0.490001, -0.300000), (-0.540000, -0.300000)),
((0.830000, -0.630000), (0.839999, -0.630000)),
((-0.490001, -0.830000), (-0.490001, -0.880000)),
((-0.550000, 0.050000), (-0.590000, 0.050000)),
((0.299999, -0.290000), (0.299999, -0.300000)),
((0.990000, 0.850000), (0.990000, 0.990000)),
((-0.350000, 0.010000), (-0.350000, -0.040000)),
((-0.950001, 0.250000), (-0.950001, 0.300000)),
((-0.940001, 0.360000), (-0.850000, 0.360000)),
((0.889999, 0.200000), (0.790000, 0.200000)),
((0.589999, 0.750000), (0.589999, 0.700000)),
((0.480000, -0.790000), (0.480000, -0.690000)),
((0.639999, 0.250000), (0.580000, 0.250000)),
((0.380000, 0.590000), (0.380000, 0.600000)),
((-0.200001, 0.590000), (-0.250000, 0.590000)),
((0.000000, -0.980000), (0.139999, -0.980000)),
((0.790000, 0.790000), (0.790000, 0.740000)),
((-0.940001, -0.050000), (-0.940001, -0.100000)),
((-0.100000, 0.150000), (-0.110001, 0.150000)),
((-0.450001, -0.250000), (-0.550000, -0.250000)),
((-0.360001, 0.250000), (-0.450001, 0.250000)),
((-0.600000, -0.690000), (-0.740001, -0.690000)),
((0.929999, -0.440000), (0.929999, -0.390000)),
((0.089999, -0.480000), (0.139999, -0.480000)),
((-0.250000, 0.740000), (-0.310000, 0.740000)),
((-0.450001, 0.640000), (-0.500000, 0.640000)),
((-0.010000, -0.440000), (-0.010000, -0.390000)),
((-0.940001, -0.480000), (-0.940001, -0.490000)),
((-0.310000, -0.290000), (-0.260000, -0.290000)),
((-0.590000, -0.930000), (-0.550000, -0.930000)),
((0.099999, -0.050000), (0.099999, -0.100000)),
((-0.550000, 0.160000), (-0.500000, 0.160000)),
((0.589999, 0.840000), (0.490000, 0.840000)),
((-0.490001, -0.290000), (-0.490001, -0.300000)),
((0.880000, -0.050000), (0.880000, -0.040000)),
((-0.850000, 0.700000), (-0.850000, 0.750000)),
((-0.640000, -0.100000), (-0.640000, -0.140000)),
((0.290000, 0.900000), (0.380000, 0.900000)),
((-0.350000, -0.040000), (-0.300000, -0.040000)),
((-0.950001, 0.300000), (-0.990001, 0.300000)),
((-0.550000, 0.590000), (-0.550000, 0.690000)),
((0.790000, 0.200000), (0.790000, 0.010000)),
((0.880000, 0.890000), (0.830000, 0.890000)),
((0.730000, -0.100000), (0.639999, -0.100000)),
((0.480000, -0.690000), (0.339999, -0.690000)),
((0.389999, -0.300000), (0.349999, -0.300000)),
((0.630000, 0.300000), (0.630000, 0.310000)),
((-0.200001, -0.530000), (-0.060000, -0.530000)),
((-0.200001, 0.600000), (-0.200001, 0.590000)),
((0.339999, 0.640000), (0.299999, 0.640000)),
((0.690000, -0.680000), (0.730000, -0.680000)),
((-0.150001, -0.630000), (-0.150001, -0.730000)),
((0.240000, 0.700000), (0.299999, 0.700000)),
((-0.900001, -0.050000), (-0.940001, -0.050000)),
((-0.110001, 0.150000), (-0.110001, 0.200000)),
((-0.360001, -0.630000), (-0.350000, -0.630000)),
((-0.550000, -0.250000), (-0.550000, -0.150000)),
((-0.360001, 0.160000), (-0.360001, 0.250000)),
((-0.640000, -0.830000), (-0.640000, -0.840000)),
((0.929999, -0.390000), (0.880000, -0.390000)),
((0.290000, 0.300000), (0.290000, 0.350000)),
((0.349999, 0.360000), (0.530000, 0.360000)),
((-0.500000, 0.640000), (-0.500000, 0.650000)),
((0.349999, -0.780000), (0.349999, -0.830000)),
((0.240000, -0.890000), (0.240000, -0.880000)),
((-0.260000, -0.340000), (-0.260000, -0.300000)),
((-0.400001, -0.980000), (-0.400001, -0.890000)),
((0.190000, -0.050000), (0.099999, -0.050000)),
((-0.550000, 0.110000), (-0.550000, 0.160000)),
((-0.550000, -0.440000), (-0.600000, -0.440000)),
((-0.840000, 0.690000), (-0.890000, 0.690000)),
((-0.050000, -0.440000), (-0.100000, -0.440000)),
((-0.440001, -0.190000), (-0.390000, -0.190000)),
((-0.490001, 0.850000), (-0.440001, 0.850000)),
((0.740000, 0.990000), (0.740000, 0.940000)),
((-0.300000, -0.040000), (-0.300000, -0.090000)),
((0.790000, 0.010000), (0.880000, 0.010000)),
((0.580000, 0.650000), (0.580000, 0.750000)),
((0.440000, -0.940000), (0.440000, -0.980000)),
((0.349999, -0.300000), (0.349999, -0.380000)),
((-0.600000, 0.650000), (-0.590000, 0.650000)),
((0.690000, 0.440000), (0.690000, 0.360000)),
((0.839999, -0.250000), (0.839999, -0.430000)),
((0.630000, 0.400000), (0.639999, 0.400000)),
((-0.150001, -0.730000), (-0.050000, -0.730000)),
((0.240000, 0.550000), (0.240000, 0.700000)),
((-0.590000, 0.210000), (-0.540000, 0.210000)),
((-0.210000, 0.310000), (-0.200001, 0.310000)),
((-0.350000, -0.630000), (-0.350000, -0.680000)),
((-0.500000, -0.340000), (-0.450001, -0.340000)),
((-0.740001, -0.830000), (-0.640000, -0.830000)),
((-0.300000, -0.540000), (-0.300000, -0.630000)),
((0.089999, 0.260000), (0.089999, 0.310000)),
((-0.400001, 0.110000), (-0.350000, 0.110000)),
((-0.700001, 0.800000), (-0.650001, 0.800000)),
((0.000000, -0.380000), (0.000000, -0.440000)),
((-0.360001, 0.050000), (-0.360001, 0.100000)),
((0.240000, -0.490000), (0.099999, -0.490000)),
((0.049999, -0.100000), (0.049999, -0.190000)),
((-0.440001, 0.540000), (-0.440001, 0.450000)),
((-0.550000, -0.630000), (-0.550000, -0.440000)),
((-0.390000, -0.190000), (-0.390000, -0.250000)),
((0.299999, -0.300000), (0.250000, -0.300000)),
((-0.210000, 0.800000), (-0.160001, 0.800000)),
((0.540000, 0.890000), (0.290000, 0.890000)),
((-0.700001, 0.850000), (-0.700001, 0.900000)),
((-0.360001, 0.010000), (-0.350000, 0.010000)),
((-0.990001, 0.160000), (-0.800000, 0.160000)),
((0.389999, 0.650000), (0.580000, 0.650000)),
((0.589999, -0.940000), (0.440000, -0.940000)),
((0.530000, -0.200000), (0.480000, -0.200000)),
((-0.650001, 0.540000), (-0.650001, 0.640000)),
((0.790000, -0.100000), (0.790000, -0.190000)),
((0.740000, 0.440000), (0.690000, 0.440000)),
((-0.250000, 0.690000), (-0.250000, 0.600000)),
((0.889999, -0.250000), (0.839999, -0.250000)),
((0.630000, 0.360000), (0.630000, 0.400000)),
((-0.160001, -0.680000), (-0.160001, -0.630000)),
((0.839999, 0.790000), (0.790000, 0.790000)),
((-0.990001, -0.140000), (-0.900001, -0.140000)),
((-0.700001, 0.390000), (-0.700001, 0.400000)),
((-0.350000, -0.680000), (-0.300000, -0.680000)),
((-0.450001, 0.110000), (-0.450001, 0.160000)),
((-0.740001, -0.690000), (-0.740001, -0.830000)),
((0.639999, -0.300000), (0.630000, -0.300000)),
((0.240000, 0.400000), (0.250000, 0.400000)),
((0.200000, 0.350000), (0.200000, 0.300000)),
((-0.250000, 0.840000), (-0.250000, 0.740000)),
((-0.350000, 0.110000), (-0.350000, 0.060000)),
((-0.440001, 0.650000), (-0.440001, 0.550000)),
((-0.850000, -0.250000), (-0.850000, -0.240000)),
((0.000000, -0.440000), (-0.010000, -0.440000)),
((-0.390000, -0.140000), (-0.310000, -0.140000)),
((0.000000, -0.630000), (0.089999, -0.630000)),
((0.639999, -0.530000), (0.639999, -0.640000)),
((0.099999, -0.490000), (0.099999, -0.530000)),
((0.679999, 0.540000), (0.630000, 0.540000)),
((-0.650001, -0.590000), (-0.650001, -0.580000)),
((-0.700001, -0.090000), (-0.700001, -0.040000)),
((0.730000, 0.200000), (0.730000, 0.260000)),
((-0.440001, 0.450000), (-0.310000, 0.450000)),
((0.490000, 0.840000), (0.490000, 0.790000)),
((-0.690001, -0.630000), (-0.550000, -0.630000)),
((0.880000, -0.040000), (0.929999, -0.040000)),
((-0.200001, -0.430000), (-0.050000, -0.430000)),
((-0.390000, -0.250000), (-0.400001, -0.250000)),
((-0.210000, 0.700000), (-0.210000, 0.800000)),
((0.290000, 0.890000), (0.290000, 0.900000)),
((0.389999, 0.750000), (0.389999, 0.650000)),
((0.730000, -0.980000), (0.730000, -0.940000)),
((0.480000, -0.200000), (0.480000, -0.190000)),
((0.440000, -0.730000), (0.440000, -0.790000)),
((0.290000, -0.350000), (0.290000, -0.340000)),
((0.630000, 0.310000), (0.730000, 0.310000)),
((0.530000, -0.730000), (0.580000, -0.730000)),
((-0.200001, -0.480000), (-0.200001, -0.530000)),
((-0.650001, 0.640000), (-0.740001, 0.640000)),
((0.299999, 0.640000), (0.299999, 0.500000)),
((0.889999, -0.240000), (0.889999, -0.250000)),
((0.790000, 0.940000), (0.790000, 0.850000)),
((-0.700001, 0.400000), (-0.650001, 0.400000)),
((-0.640000, -0.840000), (-0.740001, -0.840000)),
((-0.840000, 0.100000), (-0.840000, 0.050000)),
((0.290000, 0.350000), (0.200000, 0.350000)),
((-0.110001, 0.800000), (-0.060000, 0.800000)),
((-0.350000, 0.060000), (-0.300000, 0.060000)),
((-0.690001, 0.740000), (-0.700001, 0.740000)),
((-0.310000, -0.140000), (-0.310000, -0.050000)),
((0.639999, -0.640000), (0.630000, -0.640000)),
((0.000000, -0.490000), (0.000000, -0.630000)),
((0.380000, -0.890000), (0.240000, -0.890000)),
((0.630000, 0.540000), (0.630000, 0.590000)),
((-0.400001, -0.890000), (-0.500000, -0.890000)),
((0.440000, 0.110000), (0.540000, 0.110000)),
((-0.390000, 0.750000), (-0.390000, 0.540000)),
((-0.840000, 0.740000), (-0.840000, 0.690000)),
((-0.050000, -0.430000), (-0.050000, -0.440000)),
((0.990000, 0.990000), (0.740000, 0.990000)),
((0.690000, 0.100000), (0.690000, 0.000000)),
((0.990000, 0.110000), (0.990000, 0.590000)),
((0.580000, 0.750000), (0.589999, 0.750000)),
((0.780000, -0.890000), (0.589999, -0.890000)),
((-0.450001, 0.050000), (-0.450001, 0.100000)),
((0.429999, -0.730000), (0.440000, -0.730000)),
((0.290000, -0.340000), (0.339999, -0.340000)),
((0.530000, -0.740000), (0.530000, -0.730000)),
((-0.740001, 0.640000), (-0.740001, 0.540000)),
((0.940000, -0.090000), (0.940000, -0.100000)),
((0.690000, 0.450000), (0.740000, 0.450000)),
((0.839999, -0.430000), (0.889999, -0.430000)),
((0.580000, 0.310000), (0.580000, 0.360000)),
((0.250000, 0.540000), (0.190000, 0.540000)),
((0.790000, 0.850000), (0.839999, 0.850000)),
((-0.650001, 0.250000), (-0.650001, 0.390000)),
((-0.300000, -0.690000), (-0.400001, -0.690000)),
((-0.300000, -0.630000), (-0.210000, -0.630000)),
((-0.790000, -0.140000), (-0.740001, -0.140000)),
((-0.950001, 0.450000), (-0.800000, 0.450000)),
((0.089999, -0.150000), (0.089999, -0.140000)),
((0.240000, 0.250000), (0.150000, 0.250000)),
((0.099999, 0.300000), (0.099999, 0.160000)),
((-0.700001, 0.740000), (-0.700001, 0.800000)),
((-0.390000, -0.740000), (-0.390000, -0.790000)),
((-0.800000, -0.240000), (-0.800000, -0.200000)),
((-0.310000, 0.050000), (-0.360001, 0.050000)),
((0.049999, -0.490000), (0.000000, -0.490000)),
((-0.360001, -0.290000), (-0.360001, -0.150000)),
((-0.590000, -0.480000), (-0.590000, -0.590000)),
((-0.490001, -0.940000), (-0.490001, -0.980000)),
((0.830000, 0.800000), (0.830000, 0.840000)),
((-0.640000, -0.540000), (-0.690001, -0.540000)),
((-0.590000, -0.100000), (-0.640000, -0.100000)),
((-0.260000, 0.550000), (-0.260000, 0.700000)),
((-0.700001, 0.900000), (-0.600000, 0.900000)),
((-0.990001, 0.300000), (-0.990001, 0.160000)),
((0.990000, 0.590000), (0.929999, 0.590000)),
((0.630000, -0.940000), (0.630000, -0.930000)),
((0.530000, -0.190000), (0.530000, -0.140000)),
((0.339999, -0.340000), (0.339999, -0.290000)),
((0.730000, 0.350000), (0.679999, 0.350000)),
((0.639999, -0.740000), (0.530000, -0.740000)),
((-0.050000, -0.490000), (-0.050000, -0.540000)),
((-0.640000, 0.540000), (-0.650001, 0.540000)),
((0.940000, -0.100000), (0.790000, -0.100000)),
((0.480000, 0.500000), (0.480000, 0.590000)),
((-0.250000, 0.600000), (-0.200001, 0.600000)),
((0.250000, 0.690000), (0.250000, 0.540000)),
((0.839999, 0.850000), (0.839999, 0.790000)),
((-0.900001, -0.140000), (-0.900001, -0.050000)),
((-0.450001, 0.160000), (-0.360001, 0.160000)),
((-0.740001, -0.140000), (-0.740001, -0.290000)),
((-0.950001, 0.440000), (-0.950001, 0.450000)),
((0.240000, 0.010000), (0.240000, 0.250000)),
((-0.500000, 0.650000), (-0.440001, 0.650000)),
((-0.850000, -0.240000), (-0.800000, -0.240000)),
((0.089999, -0.090000), (0.089999, -0.040000)),
((0.200000, -0.780000), (0.200000, -0.830000)),
((0.630000, -0.590000), (0.580000, -0.590000)),
((0.490000, 0.590000), (0.490000, 0.490000)),
((-0.260000, -0.300000), (-0.310000, -0.300000)),
((-0.590000, -0.590000), (-0.650001, -0.590000)),
((-0.500000, -0.840000), (-0.590000, -0.840000)),
((-0.700001, -0.040000), (-0.650001, -0.040000)),
((0.780000, 0.800000), (0.830000, 0.800000)),
((-0.110001, 0.990000), (-0.350000, 0.990000)),
((-0.790000, 0.750000), (-0.790000, 0.740000)),
((-0.060000, -0.300000), (-0.060000, -0.250000)),
((-0.350000, 0.550000), (-0.260000, 0.550000)),
((-0.900001, 0.540000), (-0.950001, 0.540000)),
((0.880000, 0.010000), (0.880000, 0.110000)),
((0.830000, 0.750000), (0.880000, 0.750000)),
((0.730000, -0.940000), (0.630000, -0.940000)),
((-0.440001, 0.150000), (-0.440001, 0.050000)),
((0.389999, -0.780000), (0.429999, -0.780000)),
((0.339999, -0.350000), (0.290000, -0.350000)),
((0.730000, 0.310000), (0.730000, 0.350000)),
((-0.050000, -0.540000), (-0.210000, -0.540000)),
((-0.800000, 0.540000), (-0.800000, 0.550000)),
((0.839999, -0.040000), (0.839999, -0.090000)),
((0.299999, 0.500000), (0.480000, 0.500000)),
((0.679999, -0.290000), (0.830000, -0.290000)),
((-0.450001, 0.390000), (-0.450001, 0.400000)),
((0.049999, -0.830000), (0.049999, -0.890000)),
((0.940000, 0.940000), (0.790000, 0.940000)),
((-0.840000, 0.990000), (-0.840000, 0.940000)),
((0.089999, 0.310000), (0.190000, 0.310000)),
((-0.790000, 0.100000), (-0.840000, 0.100000)),
((0.099999, 0.010000), (0.240000, 0.010000)),
((-0.210000, 0.010000), (-0.210000, 0.200000)),
((0.040000, -0.090000), (0.089999, -0.090000)),
((0.530000, 0.500000), (0.580000, 0.500000)),
((-0.550000, 0.400000), (-0.490001, 0.400000)),
((-0.500000, -0.890000), (-0.500000, -0.840000)),
((0.099999, -0.100000), (0.049999, -0.100000)),
((0.780000, 0.840000), (0.780000, 0.890000)),
((-0.350000, 0.990000), (-0.350000, 0.900000)),
((-0.950001, -0.580000), (-0.940001, -0.580000)),
((0.880000, 0.590000), (0.830000, 0.590000)),
((-0.790000, 0.740000), (-0.840000, 0.740000)),
((-0.060000, -0.250000), (-0.100000, -0.250000)),
((-0.350000, 0.690000), (-0.350000, 0.550000)),
((-0.600000, 0.950000), (-0.490001, 0.950000)),
((-0.210000, -0.050000), (-0.210000, -0.040000)),
((0.690000, 0.000000), (0.630000, 0.000000)),
((0.830000, 0.700000), (0.830000, 0.750000)),
((0.589999, -0.890000), (0.589999, -0.940000)),
((-0.440001, 0.050000), (-0.450001, 0.050000)),
((0.389999, -0.290000), (0.389999, -0.300000)),
((-0.590000, 0.590000), (-0.640000, 0.590000)),
((0.740000, 0.450000), (0.740000, 0.440000)),
((-0.200001, 0.690000), (-0.250000, 0.690000)),
((0.679999, -0.340000), (0.679999, -0.290000)),
((0.580000, 0.360000), (0.630000, 0.360000)),
((-0.160001, -0.630000), (-0.150001, -0.630000)),
((0.299999, 0.700000), (0.299999, 0.690000)),
((-0.890000, 0.150000), (-0.890000, 0.100000)),
((-0.300000, -0.680000), (-0.300000, -0.690000)),
((0.190000, 0.310000), (0.190000, 0.360000)),
((-0.900001, 0.390000), (-0.900001, 0.440000)),
((0.089999, -0.140000), (0.139999, -0.140000)),
((0.339999, 0.260000), (0.339999, 0.400000)),
((-0.210000, 0.200000), (-0.260000, 0.200000)),
((-0.390000, -0.790000), (-0.440001, -0.790000)),
((0.530000, 0.450000), (0.530000, 0.500000)),
((-0.550000, 0.260000), (-0.550000, 0.400000)),
((-0.850000, -0.340000), (-0.840000, -0.340000)),
((-0.440001, -0.940000), (-0.490001, -0.940000)),
((0.200000, -0.050000), (0.200000, -0.140000)),
((-0.650001, 0.050000), (-0.690001, 0.050000)),
((0.740000, 0.750000), (0.780000, 0.750000)),
((-0.940001, -0.580000), (-0.940001, -0.680000)),
((-0.690001, -0.540000), (-0.690001, -0.630000)),
((0.880000, 0.540000), (0.880000, 0.590000)),
((0.940000, 0.690000), (0.880000, 0.690000)),
((-0.100000, -0.250000), (-0.100000, -0.300000)),
((0.250000, -0.290000), (0.299999, -0.290000)),
((-0.260000, 0.700000), (-0.210000, 0.700000)),
((-0.600000, 0.900000), (-0.600000, 0.950000)),
((-0.750000, 0.400000), (-0.750000, 0.450000)),
((0.929999, -0.930000), (0.929999, -0.880000)),
((0.480000, -0.190000), (0.530000, -0.190000)),
((-0.350000, 0.250000), (-0.350000, 0.150000)),
((0.240000, -0.430000), (0.339999, -0.430000)),
((0.730000, -0.790000), (0.730000, -0.690000)),
((-0.210000, -0.490000), (-0.350000, -0.490000)),
((0.240000, 0.890000), (0.139999, 0.890000)),
((-0.640000, 0.590000), (-0.640000, 0.540000)),
((0.780000, -0.340000), (0.790000, -0.340000)),
((0.530000, 0.210000), (0.530000, 0.300000)),
((-0.700001, 0.150000), (-0.890000, 0.150000)),
((-0.590000, 0.200000), (-0.590000, 0.150000)),
((-0.500000, 0.940000), (-0.590000, 0.940000)),
((0.589999, 0.640000), (0.380000, 0.640000)),
((-0.540000, -0.690000), (-0.550000, -0.690000)),
((-0.840000, -0.790000), (-0.840000, -0.890000)),
((0.190000, 0.360000), (0.240000, 0.360000)),
((-0.890000, 0.390000), (-0.900001, 0.390000)),
((0.139999, -0.240000), (0.139999, -0.150000)),
((-0.300000, 0.060000), (-0.300000, 0.010000)),
((-0.890000, -0.240000), (-0.890000, -0.290000)),
((-0.010000, -0.290000), (0.040000, -0.290000)),
((0.630000, -0.640000), (0.630000, -0.590000)),
((0.630000, 0.590000), (0.490000, 0.590000)),
((0.200000, -0.140000), (0.250000, -0.140000)),
((-0.650001, -0.040000), (-0.650001, 0.050000)),
((-0.390000, 0.540000), (-0.440001, 0.540000)),
((0.589999, 0.890000), (0.589999, 0.840000)),
((-0.300000, 0.900000), (-0.300000, 0.790000)),
((0.929999, 0.540000), (0.880000, 0.540000)),
((0.880000, 0.690000), (0.880000, 0.700000)),
((-0.050000, -0.300000), (-0.060000, -0.300000)),
((0.250000, -0.250000), (0.250000, -0.290000)),
((0.630000, 0.010000), (0.679999, 0.010000)),
((0.630000, -0.140000), (0.630000, -0.090000)),
((0.429999, -0.780000), (0.429999, -0.730000)),
((0.339999, -0.430000), (0.339999, -0.350000)),
((0.780000, -0.790000), (0.730000, -0.790000)),
((-0.740001, 0.540000), (-0.800000, 0.540000)),
((0.790000, -0.340000), (0.790000, -0.440000)),
((-0.450001, 0.400000), (-0.260000, 0.400000)),
((0.490000, -0.100000), (0.490000, -0.150000)),
((-0.900001, 0.100000), (-0.900001, 0.150000)),
((-0.650001, 0.390000), (-0.700001, 0.390000)),
((-0.590000, 0.940000), (-0.590000, 0.900000)),
((0.589999, 0.690000), (0.589999, 0.640000)),
((-0.840000, 0.940000), (-0.850000, 0.940000)),
((-0.300000, 0.440000), (-0.590000, 0.440000)),
((-0.750000, -0.790000), (-0.840000, -0.790000)),
((-0.890000, 0.440000), (-0.890000, 0.390000)),
((0.139999, -0.090000), (0.150000, -0.090000)),
((0.200000, 0.300000), (0.099999, 0.300000)),
((-0.350000, -0.930000), (-0.310000, -0.930000)),
((-0.940001, -0.240000), (-0.890000, -0.240000)),
((0.380000, -0.440000), (0.250000, -0.440000)),
((0.240000, -0.880000), (0.339999, -0.880000)),
((0.139999, 0.440000), (0.139999, 0.490000)),
((-0.640000, 0.490000), (-0.640000, 0.260000)),
((0.299999, 0.000000), (0.299999, -0.050000)),
((-0.210000, 0.640000), (-0.210000, 0.650000)),
((0.780000, 0.890000), (0.589999, 0.890000)),
((-0.890000, -0.680000), (-0.890000, -0.840000)),
((-0.700001, -0.580000), (-0.700001, -0.530000)),
((0.880000, 0.700000), (0.929999, 0.700000)),
((-0.640000, -0.780000), (-0.590000, -0.780000)),
((-0.200001, -0.300000), (-0.200001, -0.430000)),
((-0.850000, 0.600000), (-0.850000, 0.650000)),
((-0.300000, 0.590000), (-0.310000, 0.590000)),
((-0.210000, -0.040000), (-0.160001, -0.040000)),
((-0.650001, 0.450000), (-0.650001, 0.500000)),
((0.630000, 0.000000), (0.630000, 0.010000)),
((0.990000, 0.600000), (0.990000, 0.640000)),
((-0.950001, 0.890000), (-0.950001, 0.900000)),
((0.339999, -0.290000), (0.389999, -0.290000)),
((0.639999, -0.690000), (0.639999, -0.740000)),
((0.790000, -0.040000), (0.790000, -0.090000)),
((0.790000, -0.440000), (0.690000, -0.440000)),
((0.299999, 0.690000), (0.250000, 0.690000)),
((-0.750000, 0.110000), (-0.700001, 0.110000)),
((0.679999, 0.690000), (0.589999, 0.690000)),
((-0.300000, 0.490000), (-0.300000, 0.440000)),
((-0.750000, -0.940000), (-0.750000, -0.790000)),
((-0.250000, -0.540000), (-0.300000, -0.540000)),
((-0.900001, 0.440000), (-0.950001, 0.440000)),
((0.139999, -0.140000), (0.139999, -0.090000)),
((-0.100000, 0.790000), (-0.100000, 0.690000)),
((-0.310000, -0.930000), (-0.310000, -0.880000)),
((-0.840000, -0.290000), (-0.840000, -0.300000)),
((-0.360001, 0.100000), (-0.390000, 0.100000)),
((0.150000, -0.780000), (0.200000, -0.780000)),
((0.339999, -0.880000), (0.339999, -0.790000)),
((0.139999, 0.490000), (0.089999, 0.490000)),
((0.839999, -0.480000), (0.839999, -0.580000)),
((-0.210000, 0.650000), (-0.160001, 0.650000)),
((0.780000, 0.750000), (0.780000, 0.800000)),
((-0.890000, -0.840000), (-0.990001, -0.840000)),
((-0.700001, -0.530000), (-0.640000, -0.530000)),
((-0.640000, -0.730000), (-0.640000, -0.780000)),
((-0.010000, -0.200000), (-0.050000, -0.200000)),
((0.389999, -0.240000), (0.389999, -0.250000)),
((-0.300000, 0.700000), (-0.300000, 0.590000)),
((-0.160001, -0.090000), (-0.160001, -0.050000)),
((-0.750000, 0.450000), (-0.650001, 0.450000)),
((0.839999, -0.930000), (0.929999, -0.930000)),
((0.880000, 0.110000), (0.990000, 0.110000)),
((-0.950001, 0.900000), (-0.900001, 0.900000)),
((0.299999, -0.590000), (0.299999, -0.730000)),
((-0.210000, -0.540000), (-0.210000, -0.490000)),
((0.839999, -0.090000), (0.940000, -0.090000)),
((-0.260000, 0.450000), (-0.160001, 0.450000)),
((0.339999, -0.150000), (0.339999, -0.140000)),
((0.530000, 0.300000), (0.480000, 0.300000)),
((-0.050000, -0.830000), (0.049999, -0.830000)),
((-0.990001, 0.150000), (-0.990001, -0.140000)),
((-0.540000, 0.900000), (-0.540000, 0.890000)),
((-0.540000, -0.640000), (-0.540000, -0.690000)),
((-0.200001, 0.490000), (-0.300000, 0.490000)),
((-0.840000, -0.890000), (-0.890000, -0.890000)),
((-0.010000, -0.880000), (0.040000, -0.880000)),
((-0.250000, -0.530000), (-0.250000, -0.540000)),
((0.139999, 0.890000), (0.139999, 0.940000)),
((-0.790000, -0.040000), (-0.790000, -0.140000)),
((0.089999, -0.240000), (0.139999, -0.240000)),
((-0.100000, 0.690000), (-0.110001, 0.690000)),
((-0.800000, -0.200000), (-0.940001, -0.200000)),
((0.040000, -0.290000), (0.040000, -0.090000)),
((-0.390000, 0.100000), (-0.390000, 0.000000)),
((0.429999, 0.440000), (0.429999, 0.450000)),
((0.150000, -0.690000), (0.150000, -0.780000)),
((0.089999, 0.490000), (0.089999, 0.550000)),
((-0.210000, -0.380000), (-0.210000, -0.200000)),
((-0.700001, 0.060000), (-0.650001, 0.060000)),
((-0.160001, 0.550000), (-0.160001, 0.640000)),
((-0.350000, 0.900000), (-0.300000, 0.900000)),
((-0.990001, -0.840000), (-0.990001, -0.980000)),
((0.790000, 0.500000), (0.790000, 0.400000)),
((0.929999, 0.740000), (0.839999, 0.740000)),
((-0.050000, -0.200000), (-0.050000, -0.300000)),
((0.150000, 0.900000), (0.240000, 0.900000)),
((-0.160001, 0.060000), (-0.100000, 0.060000)),
((-0.600000, 0.500000), (-0.600000, 0.550000)),
((0.889999, -0.740000), (0.889999, -0.890000)),
((-0.900001, 0.800000), (-0.900001, 0.890000)),
((0.630000, -0.090000), (0.740000, -0.090000)),
((-0.260000, 0.110000), (-0.260000, 0.150000)),
((0.299999, -0.730000), (0.389999, -0.730000)),
((-0.400001, -0.530000), (-0.360001, -0.530000)),
((-0.260000, 0.400000), (-0.260000, 0.450000)),
((0.490000, -0.150000), (0.339999, -0.150000)),
((0.290000, 0.200000), (0.290000, 0.210000)),
((-0.050000, -0.730000), (-0.050000, -0.830000)),
((-0.900001, 0.150000), (-0.990001, 0.150000)),
((0.630000, 0.650000), (0.679999, 0.650000)),
((0.040000, -0.880000), (0.040000, -0.840000)),
((-0.690001, 0.490000), (-0.790000, 0.490000)),
((-0.110001, 0.690000), (-0.110001, 0.740000)),
((-0.160001, 0.360000), (-0.160001, 0.400000)),
((-0.260000, -0.880000), (-0.260000, -0.830000)),
((-0.890000, -0.300000), (-0.890000, -0.630000)),
((0.429999, 0.450000), (0.530000, 0.450000)),
((0.200000, -0.690000), (0.150000, -0.690000)),
((0.380000, -0.490000), (0.380000, -0.440000)),
((0.240000, -0.790000), (0.240000, -0.740000)),
((0.150000, 0.440000), (0.139999, 0.440000)),
((-0.640000, 0.260000), (-0.550000, 0.260000)),
((-0.450001, -0.740000), (-0.450001, -0.730000)),
((0.730000, -0.490000), (0.730000, -0.480000)),
((-0.700001, 0.000000), (-0.700001, 0.060000)),
((-0.310000, 0.790000), (-0.310000, 0.840000)),
((-0.940001, -0.680000), (-0.890000, -0.680000)),
((0.730000, 0.500000), (0.790000, 0.500000)),
((-0.700001, -0.790000), (-0.700001, -0.730000)),
((-0.100000, -0.300000), (-0.200001, -0.300000)),
((-0.850000, 0.650000), (-0.800000, 0.650000)),
((0.240000, 0.900000), (0.240000, 0.950000)),
((-0.160001, -0.040000), (-0.160001, 0.060000)),
((0.889999, -0.890000), (0.839999, -0.890000)),
((0.639999, 0.050000), (0.540000, 0.050000)),
((-0.350000, 0.150000), (-0.440001, 0.150000)),
((-0.700001, 0.300000), (-0.800000, 0.300000)),
((0.690000, -0.440000), (0.690000, -0.530000)),
((0.830000, -0.290000), (0.830000, -0.240000)),
((0.380000, -0.140000), (0.380000, -0.100000)),
((0.480000, 0.310000), (0.580000, 0.310000)),
((-0.700001, 0.110000), (-0.700001, 0.150000)),
((-0.590000, 0.150000), (-0.600000, 0.150000)),
((-0.400001, -0.690000), (-0.400001, -0.640000)),
((-0.740001, -0.930000), (-0.640000, -0.930000)),
((0.040000, -0.840000), (-0.050000, -0.840000)),
((-0.310000, -0.580000), (-0.310000, -0.530000)),
((-0.690001, 0.600000), (-0.690001, 0.490000)),
((0.040000, 0.790000), (-0.100000, 0.790000)),
((-0.300000, 0.010000), (-0.210000, 0.010000)),
((-0.840000, -0.300000), (-0.890000, -0.300000)),
((-0.160001, -0.390000), (-0.160001, -0.340000)),
((-0.490001, 0.000000), (-0.490001, -0.040000)),
((0.480000, 0.400000), (0.480000, 0.440000)),
((0.240000, -0.740000), (0.190000, -0.740000)),
((0.429999, 0.150000), (0.389999, 0.150000)),
((0.139999, 0.550000), (0.139999, 0.600000)),
((-0.490001, -0.980000), (-0.400001, -0.980000)),
((0.730000, -0.480000), (0.839999, -0.480000)),
((-0.300000, -0.200000), (-0.300000, -0.250000)),
((0.190000, -0.150000), (0.190000, -0.050000)),
((-0.640000, -0.530000), (-0.640000, -0.540000)),
((-0.640000, 0.100000), (-0.640000, -0.050000)),
((0.929999, 0.400000), (0.929999, 0.540000)),
((0.389999, -0.250000), (0.250000, -0.250000)),
((0.240000, 0.950000), (0.349999, 0.950000)),
((-0.300000, -0.090000), (-0.160001, -0.090000)),
((0.839999, -0.890000), (0.839999, -0.930000)),
((0.639999, 0.100000), (0.639999, 0.050000)),
((-0.950001, 0.740000), (-0.950001, 0.800000)),
((0.530000, -0.140000), (0.630000, -0.140000)),
((-0.700001, 0.210000), (-0.700001, 0.300000)),
((0.000000, 0.850000), (0.089999, 0.850000)),
((0.480000, 0.300000), (0.480000, 0.310000)),
((-0.600000, 0.150000), (-0.600000, 0.250000)),
((-0.590000, 0.900000), (-0.540000, 0.900000)),
((0.929999, 0.300000), (0.839999, 0.300000)),
((-0.400001, -0.640000), (-0.540000, -0.640000)),
((-0.050000, 0.600000), (-0.050000, 0.540000)),
((-0.740001, -0.840000), (-0.740001, -0.930000)),
((0.690000, -0.240000), (0.790000, -0.240000)),
((0.139999, 0.940000), (0.049999, 0.940000)),
((-0.800000, -0.040000), (-0.790000, -0.040000)),
((-0.650001, 0.210000), (-0.640000, 0.210000)),
((-0.200001, 0.740000), (-0.200001, 0.690000)),
((-0.210000, 0.850000), (-0.210000, 0.900000)),
((-0.940001, -0.200000), (-0.940001, -0.240000)),
((-0.160001, -0.340000), (-0.010000, -0.340000)),
((-0.490001, -0.040000), (-0.440001, -0.040000)),
((0.580000, -0.590000), (0.580000, -0.490000)),
((0.190000, -0.740000), (0.190000, -0.730000)),
((0.429999, 0.100000), (0.429999, 0.150000)),
((0.490000, 0.490000), (0.150000, 0.490000)),
((-0.590000, 0.490000), (-0.640000, 0.490000)),
((-0.210000, -0.200000), (-0.300000, -0.200000)),
((0.299999, -0.050000), (0.200000, -0.050000)),
((-0.690001, 0.050000), (-0.690001, 0.000000)),
((0.929999, 0.700000), (0.929999, 0.740000)),
((-0.990001, 0.990000), (-0.900001, 0.990000)),
((-0.800000, 0.700000), (-0.750000, 0.700000)),
((0.940000, -0.740000), (0.889999, -0.740000)),
((0.929999, 0.600000), (0.990000, 0.600000)),
((-0.950001, 0.800000), (-0.900001, 0.800000)),
((0.389999, -0.730000), (0.389999, -0.780000)),
((0.490000, -0.240000), (0.490000, -0.250000)),
((0.730000, -0.690000), (0.639999, -0.690000)),
((-0.400001, -0.540000), (-0.400001, -0.530000)),
((0.790000, -0.090000), (0.830000, -0.090000)),
((0.000000, 0.900000), (0.000000, 0.850000)),
((-0.100000, 0.490000), (-0.150001, 0.490000)),
((0.339999, 0.200000), (0.290000, 0.200000)),
((-0.600000, 0.250000), (-0.650001, 0.250000)),
((-0.590000, 0.890000), (-0.590000, 0.840000)),
((0.839999, 0.300000), (0.839999, 0.250000)),
((0.679999, 0.650000), (0.679999, 0.690000)),
((-0.060000, 0.600000), (-0.050000, 0.600000)),
((0.690000, -0.200000), (0.690000, -0.240000)),
((0.240000, 0.840000), (0.240000, 0.890000)),
((-0.890000, -0.040000), (-0.890000, -0.090000)),
((-0.640000, 0.210000), (-0.640000, 0.150000)),
((0.150000, 0.250000), (0.150000, 0.200000)),
((-0.010000, 0.450000), (0.040000, 0.450000)),
((-0.310000, -0.880000), (-0.260000, -0.880000)),
((-0.440001, -0.040000), (-0.440001, -0.090000)),
((-0.540000, -0.630000), (-0.500000, -0.630000)),
((0.190000, -0.580000), (0.190000, -0.530000)),
((0.580000, -0.490000), (0.380000, -0.490000)),
((0.339999, -0.790000), (0.240000, -0.790000)),
((0.150000, 0.490000), (0.150000, 0.440000)),
((-0.400001, -0.740000), (-0.450001, -0.740000)),
((-0.650001, -0.580000), (-0.600000, -0.580000)),
((-0.310000, -0.250000), (-0.310000, -0.190000)),
((0.630000, 0.160000), (0.639999, 0.160000)),
((-0.310000, 0.450000), (-0.310000, 0.500000)),
((-0.310000, 0.840000), (-0.360001, 0.840000)),
((0.830000, 0.690000), (0.790000, 0.690000)),
((-0.700001, -0.730000), (-0.640000, -0.730000)),
((0.349999, -0.240000), (0.389999, -0.240000)),
((-0.800000, 0.650000), (-0.800000, 0.700000)),
((0.679999, 0.010000), (0.679999, 0.100000)),
((0.929999, 0.590000), (0.929999, 0.600000)),
((-0.900001, 0.900000), (-0.900001, 0.990000)),
((0.440000, -0.980000), (0.730000, -0.980000)),
((0.049999, -0.050000), (0.000000, -0.050000)),
((0.830000, -0.090000), (0.830000, -0.040000)),
((0.830000, -0.240000), (0.889999, -0.240000)),
((-0.100000, 0.500000), (-0.100000, 0.490000)),
((0.540000, -0.530000), (0.540000, -0.630000)),
((-0.200001, 0.540000), (-0.200001, 0.490000)),
((-0.260000, -0.940000), (-0.260000, -0.930000)),
((-0.310000, -0.530000), (-0.250000, -0.530000)),
((0.049999, 0.890000), (0.040000, 0.890000)),
((-0.890000, -0.090000), (-0.800000, -0.090000)),
((-0.640000, 0.150000), (-0.690001, 0.150000)),
((0.040000, 0.450000), (0.040000, 0.790000)),
((-0.250000, 0.940000), (-0.250000, 0.850000)),
((-0.250000, -0.830000), (-0.250000, -0.880000)),
((-0.390000, 0.000000), (-0.490001, 0.000000)),
((0.089999, -0.580000), (0.190000, -0.580000)),
((0.530000, 0.010000), (0.530000, 0.100000)),
((0.580000, 0.500000), (0.580000, 0.540000)),
((0.089999, 0.550000), (0.139999, 0.550000)),
((-0.950001, -0.290000), (-0.940001, -0.290000)),
((-0.540000, -0.740000), (-0.540000, -0.780000)),
((-0.600000, -0.580000), (-0.600000, -0.490000)),
((0.639999, 0.160000), (0.639999, 0.110000)),
((-0.160001, 0.640000), (-0.210000, 0.640000)),
((-0.640000, -0.050000), (-0.690001, -0.050000)),
((0.990000, -0.150000), (0.830000, -0.150000)),
((-0.800000, -0.980000), (-0.800000, -0.940000)),
((-0.500000, -0.100000), (-0.550000, -0.100000)),
((-0.310000, 0.590000), (-0.310000, 0.690000)),
((0.349999, 0.950000), (0.349999, 0.940000)),
((-0.940001, 0.310000), (-0.940001, 0.250000)),
((-0.650001, 0.500000), (-0.600000, 0.500000)),
((-0.260000, 0.150000), (-0.310000, 0.150000)),
((0.679999, 0.300000), (0.630000, 0.300000)),
((-0.350000, -0.490000), (-0.350000, -0.540000)),
((0.049999, 0.060000), (0.049999, -0.050000)),
((0.830000, -0.040000), (0.839999, -0.040000)),
((-0.010000, 0.840000), (-0.010000, 0.900000)),
((0.990000, -0.830000), (0.990000, -0.640000)),
((0.000000, -0.690000), (0.000000, -0.780000)),
((0.830000, 0.250000), (0.830000, 0.350000)),
((0.780000, 0.550000), (0.780000, 0.640000)),
((0.730000, -0.590000), (0.730000, -0.580000)),
((-0.260000, -0.930000), (-0.060000, -0.930000)),
((0.049999, 0.940000), (0.049999, 0.890000)),
((-0.800000, -0.090000), (-0.800000, -0.040000)),
((0.139999, -0.150000), (0.089999, -0.150000)),
((0.139999, 0.200000), (0.139999, 0.260000)),
((-0.110001, 0.740000), (-0.200001, 0.740000)),
((-0.250000, 0.850000), (-0.210000, 0.850000)),
((-0.260000, 0.360000), (-0.160001, 0.360000)),
((-0.010000, -0.340000), (-0.010000, -0.290000)),
((0.190000, 0.400000), (0.190000, 0.450000)),
((0.200000, -0.530000), (0.200000, -0.690000)),
((-0.260000, -0.240000), (-0.250000, -0.240000)),
((-0.540000, -0.780000), (-0.400001, -0.780000)),
((-0.600000, -0.490000), (-0.740001, -0.490000)),
((-0.690001, 0.000000), (-0.700001, 0.000000)),
((0.639999, 0.110000), (0.780000, 0.110000)),
((-0.300000, 0.790000), (-0.310000, 0.790000)),
((-0.490001, 0.600000), (-0.490001, 0.490000)),
((-0.800000, -0.940000), (-0.850000, -0.940000)),
((-0.500000, -0.150000), (-0.500000, -0.100000)),
((0.490000, -0.780000), (0.679999, -0.780000)),
((-0.790000, -0.640000), (-0.790000, -0.690000)),
((-0.890000, 0.690000), (-0.890000, 0.640000)),
((-0.310000, 0.150000), (-0.310000, 0.250000)),
((0.490000, -0.250000), (0.440000, -0.250000)),
((0.679999, 0.210000), (0.679999, 0.300000)),
((-0.350000, -0.540000), (-0.400001, -0.540000)),
((0.990000, -0.640000), (0.940000, -0.640000)),
((0.540000, -0.630000), (0.589999, -0.630000)),
((-0.160001, 0.450000), (-0.160001, 0.500000)),
((-0.950001, -0.250000), (-0.950001, -0.190000)),
((0.339999, -0.140000), (0.380000, -0.140000)),
((-0.750000, 0.200000), (-0.750000, 0.210000)),
((-0.590000, 0.840000), (-0.600000, 0.840000)),
((0.830000, 0.350000), (0.740000, 0.350000)),
((0.780000, 0.640000), (0.630000, 0.640000)),
((0.730000, -0.580000), (0.830000, -0.580000)),
((-0.050000, -0.840000), (-0.050000, -0.940000)),
((-0.440001, -0.580000), (-0.310000, -0.580000)),
((0.380000, 0.840000), (0.240000, 0.840000)),
((-0.940001, -0.040000), (-0.890000, -0.040000)),
((0.150000, 0.200000), (0.139999, 0.200000)),
((-0.110001, 0.350000), (-0.110001, 0.360000)),
((-0.260000, 0.200000), (-0.260000, 0.360000)),
((0.480000, 0.440000), (0.429999, 0.440000)),
((0.530000, 0.540000), (0.530000, 0.550000)),
((-0.250000, -0.240000), (-0.250000, -0.350000)),
((-0.400001, -0.780000), (-0.400001, -0.740000)),
((-0.500000, -0.630000), (-0.500000, -0.430000)),
((0.250000, -0.150000), (0.190000, -0.150000)),
((-0.490001, 0.490000), (-0.500000, 0.490000)),
((0.790000, 0.400000), (0.929999, 0.400000)),
((0.830000, 0.640000), (0.830000, 0.690000)),
((-0.850000, -0.940000), (-0.850000, -0.930000)),
((0.440000, 0.260000), (0.490000, 0.260000)),
((-0.850000, 0.850000), (-0.700001, 0.850000)),
((-0.790000, -0.690000), (-0.800000, -0.690000)),
((-0.990001, 0.490000), (-0.990001, 0.310000)),
((0.679999, 0.100000), (0.639999, 0.100000)),
((-0.890000, 0.640000), (-0.900001, 0.640000)),
((-0.310000, 0.250000), (-0.350000, 0.250000)),
((0.490000, -0.690000), (0.490000, -0.780000)),
((0.000000, 0.110000), (0.000000, 0.060000)),
((0.940000, -0.640000), (0.940000, -0.690000)),
((0.589999, -0.630000), (0.589999, -0.730000)),
((0.580000, -0.480000), (0.580000, -0.430000)),
((0.299999, -0.530000), (0.540000, -0.530000)),
((-0.750000, 0.210000), (-0.700001, 0.210000)),
((0.740000, 0.350000), (0.740000, 0.300000)),
((0.780000, -0.690000), (0.780000, -0.590000)),
((-0.650001, -0.090000), (-0.600000, -0.090000)),
((0.190000, -0.350000), (0.190000, -0.200000)),
((-0.060000, -0.740000), (-0.150001, -0.740000)),
((0.429999, 0.690000), (0.429999, 0.790000)),
((-0.690001, 0.150000), (-0.690001, 0.100000)),
((-0.790000, 0.490000), (-0.790000, 0.440000)),
((0.240000, 0.260000), (0.240000, 0.310000)),
((-0.250000, -0.880000), (-0.210000, -0.880000)),
((0.530000, 0.100000), (0.429999, 0.100000)),
((0.580000, 0.540000), (0.530000, 0.540000)),
((-0.250000, -0.350000), (-0.360001, -0.350000)),
((-0.490001, -0.740000), (-0.540000, -0.740000)),
((0.250000, -0.140000), (0.250000, -0.150000)),
((0.830000, 0.840000), (0.780000, 0.840000)),
((-0.500000, 0.490000), (-0.500000, 0.540000)),
((-0.940001, -0.980000), (-0.800000, -0.980000)),
((0.490000, 0.260000), (0.490000, 0.250000)),
((-0.310000, 0.690000), (-0.350000, 0.690000)),
((-0.850000, 0.790000), (-0.850000, 0.850000)),
((-0.740001, -0.630000), (-0.740001, -0.640000)),
((-0.160001, -0.050000), (-0.210000, -0.050000)),
((-0.990001, 0.310000), (-0.940001, 0.310000)),
((0.880000, 0.350000), (0.880000, 0.390000)),
((0.540000, -0.690000), (0.490000, -0.690000)),
((0.580000, 0.160000), (0.580000, 0.210000)),
((-0.010000, 0.900000), (0.000000, 0.900000)),
((0.940000, -0.830000), (0.990000, -0.830000)),
((0.440000, -0.480000), (0.580000, -0.480000)),
((-0.900001, -0.430000), (-0.900001, -0.250000)),
((0.000000, -0.780000), (0.099999, -0.780000)),
((-0.690001, 0.360000), (-0.690001, 0.200000)),
((-0.540000, 0.890000), (-0.590000, 0.890000)),
((0.839999, 0.250000), (0.830000, 0.250000)),
((0.830000, -0.490000), (0.730000, -0.490000)),
((-0.640000, -0.930000), (-0.640000, -0.940000)),
((0.200000, -0.350000), (0.190000, -0.350000)),
((-0.150001, -0.740000), (-0.150001, -0.830000)),
((-0.100000, -0.100000), (-0.110001, -0.100000)),
((0.429999, 0.790000), (0.380000, 0.790000)),
((-0.050000, 0.800000), (0.049999, 0.800000)),
((-0.160001, 0.350000), (-0.250000, 0.350000)),
((0.589999, 0.550000), (0.589999, 0.500000)),
((-0.740001, -0.490000), (-0.740001, -0.540000)),
((-0.300000, -0.250000), (-0.310000, -0.250000)),
((0.480000, -0.140000), (0.480000, 0.000000)),
((-0.310000, 0.500000), (-0.210000, 0.500000)),
((-0.540000, 0.600000), (-0.490001, 0.600000)),
((0.839999, 0.740000), (0.839999, 0.640000)),
((-0.950001, -0.980000), (-0.950001, -0.930000)),
((0.490000, 0.250000), (0.250000, 0.250000)),
((0.389999, 0.850000), (0.389999, 0.800000)),
((-0.800000, -0.590000), (-0.850000, -0.590000)),
((0.940000, 0.350000), (0.880000, 0.350000)),
((-0.900001, 0.740000), (-0.950001, 0.740000)),
((0.679999, 0.700000), (0.679999, 0.800000)),
((0.679999, -0.780000), (0.679999, -0.730000)),
((-0.400001, 0.940000), (-0.400001, 0.950000)),
((0.530000, -0.040000), (0.580000, -0.040000)),
((0.630000, -0.730000), (0.630000, -0.680000)),
((-0.160001, 0.500000), (-0.100000, 0.500000)),
((0.440000, -0.250000), (0.440000, -0.480000)),
((-0.900001, -0.250000), (-0.950001, -0.250000)),
((0.290000, 0.210000), (0.530000, 0.210000)),
((0.190000, -0.830000), (0.190000, -0.790000)),
((0.349999, -0.490000), (0.299999, -0.490000)),
((0.630000, 0.640000), (0.630000, 0.650000)),
((0.790000, -0.590000), (0.790000, -0.690000)),
((-0.050000, 0.540000), (-0.200001, 0.540000)),
((0.150000, -0.200000), (0.150000, -0.250000)),
((-0.150001, -0.830000), (-0.110001, -0.830000)),
((0.380000, 0.790000), (0.380000, 0.840000)),
((-0.050000, 0.940000), (-0.050000, 0.800000)),
((0.040000, 0.350000), (-0.110001, 0.350000)),
((-0.260000, -0.830000), (-0.250000, -0.830000)),
((-0.160001, 0.300000), (-0.160001, 0.350000)),
((-0.100000, -0.050000), (-0.100000, -0.100000)),
((-0.500000, -0.430000), (-0.450001, -0.430000)),
((0.389999, -0.140000), (0.480000, -0.140000)),
((-0.210000, 0.500000), (-0.210000, 0.550000)),
((-0.590000, 0.540000), (-0.590000, 0.490000)),
((0.839999, 0.640000), (0.830000, 0.640000)),
((-0.800000, -0.830000), (-0.790000, -0.830000)),
((-0.750000, 0.700000), (-0.750000, 0.790000)),
((0.250000, 0.850000), (0.389999, 0.850000)),
((-0.790000, -0.590000), (-0.790000, -0.630000)),
((0.730000, 0.390000), (0.730000, 0.400000)),
((-0.250000, -0.150000), (-0.250000, -0.190000)),
((0.490000, -0.680000), (0.540000, -0.680000)),
((-0.360001, 0.940000), (-0.400001, 0.940000)),
((0.000000, 0.060000), (0.049999, 0.060000)),
((0.530000, -0.050000), (0.530000, -0.040000)),
((0.190000, 0.840000), (-0.010000, 0.840000)),
((0.839999, -0.730000), (0.940000, -0.730000)),
((0.580000, -0.430000), (0.630000, -0.430000)),
((0.099999, -0.830000), (0.190000, -0.830000)),
((0.299999, -0.490000), (0.299999, -0.530000)),
((-0.890000, 0.100000), (-0.900001, 0.100000)),
((0.790000, -0.690000), (0.780000, -0.690000)),
((0.299999, -0.200000), (0.200000, -0.200000)),
((0.540000, 0.690000), (0.429999, 0.690000)),
((-0.790000, 0.440000), (-0.890000, 0.440000)),
((-0.250000, 0.590000), (-0.250000, 0.540000)),
((0.190000, 0.450000), (0.389999, 0.450000)),
((0.190000, -0.530000), (0.200000, -0.530000)),
((-0.100000, 0.640000), (-0.100000, 0.590000)),
((-0.050000, -0.050000), (-0.100000, -0.050000)),
((-0.540000, -0.430000), (-0.540000, -0.630000)),
((0.389999, -0.090000), (0.389999, -0.140000)),
((-0.210000, 0.550000), (-0.160001, 0.550000)),
((-0.590000, 0.700000), (-0.540000, 0.700000)),
((-0.790000, -0.830000), (-0.790000, -0.980000)),
((0.440000, 0.800000), (0.440000, 0.750000)),
((-0.790000, -0.630000), (-0.740001, -0.630000)),
((0.889999, 0.360000), (0.940000, 0.360000)),
((-0.010000, -0.980000), (-0.010000, -0.880000)),
((-0.200001, -0.150000), (-0.250000, -0.150000)),
((0.690000, -0.730000), (0.690000, -0.830000)),
((0.580000, 0.210000), (0.679999, 0.210000)),
((-0.360001, 0.890000), (-0.360001, 0.940000)),
((0.040000, -0.040000), (0.040000, 0.050000)),
((0.580000, 0.010000), (0.589999, 0.010000)),
((0.940000, -0.730000), (0.940000, -0.740000)),
((-0.250000, 0.390000), (-0.300000, 0.390000)),
((0.540000, -0.390000), (0.540000, -0.440000)),
((0.099999, -0.780000), (0.099999, -0.830000)),
((0.830000, -0.580000), (0.830000, -0.490000)),
((-0.640000, -0.940000), (-0.750000, -0.940000)),
((0.299999, -0.100000), (0.299999, -0.200000)),
((-0.050000, -0.940000), (-0.260000, -0.940000)),
((0.040000, 0.890000), (0.040000, 0.940000)),
((-0.740001, 0.800000), (-0.740001, 0.690000)),
((-0.200001, 0.260000), (0.040000, 0.260000)),
((-0.890000, -0.290000), (-0.840000, -0.290000)),
((0.389999, 0.450000), (0.389999, 0.400000)),
((-0.750000, -0.050000), (-0.750000, 0.000000)),
((-0.050000, 0.640000), (-0.100000, 0.640000)),
((-0.110001, -0.100000), (-0.110001, 0.010000)),
((-0.450001, -0.390000), (-0.550000, -0.390000)),
((0.480000, 0.000000), (0.429999, 0.000000)),
((-0.540000, 0.700000), (-0.540000, 0.600000)),
((-0.990001, -0.980000), (-0.950001, -0.980000)),
((-0.010000, -0.790000), (-0.010000, -0.690000)),
((0.349999, 0.940000), (0.250000, 0.940000)),
((-0.800000, -0.690000), (-0.800000, -0.590000)),
((0.889999, 0.390000), (0.889999, 0.360000)),
((-0.900001, 0.640000), (-0.900001, 0.740000)),
((0.679999, 0.800000), (0.690000, 0.800000)),
((-0.200001, -0.190000), (-0.200001, -0.290000)),
((0.679999, -0.730000), (0.690000, -0.730000)),
((0.299999, 0.060000), (0.299999, 0.010000)),
((-0.400001, 0.950000), (-0.360001, 0.950000)),
((-0.010000, -0.040000), (0.040000, -0.040000)),
((0.580000, -0.090000), (0.580000, -0.050000)),
((0.589999, 0.010000), (0.589999, -0.040000)),
((0.639999, 0.550000), (0.679999, 0.550000)),
((0.990000, -0.840000), (0.929999, -0.840000)),
((0.589999, -0.730000), (0.630000, -0.730000)),
((-0.250000, 0.440000), (-0.250000, 0.390000)),
((0.440000, -0.240000), (0.490000, -0.240000)),
((0.190000, -0.790000), (0.139999, -0.790000)),
((-0.700001, 0.310000), (-0.700001, 0.350000)),
((-0.800000, 0.300000), (-0.800000, 0.350000)),
((0.839999, -0.580000), (0.929999, -0.580000)),
((-0.900001, -0.530000), (-0.900001, -0.440000)),
((0.380000, -0.100000), (0.299999, -0.100000)),
((-0.840000, 0.800000), (-0.740001, 0.800000)),
((0.139999, 0.260000), (0.240000, 0.260000)),
((0.040000, 0.260000), (0.040000, 0.350000)),
((0.389999, 0.400000), (0.480000, 0.400000)),
((-0.740001, -0.050000), (-0.750000, -0.050000)),
((-0.110001, 0.590000), (-0.110001, 0.640000)),
((0.000000, 0.000000), (-0.050000, 0.000000)),
((-0.450001, -0.430000), (-0.450001, -0.390000)),
((0.349999, -0.040000), (0.349999, -0.090000)),
((-0.500000, 0.540000), (-0.590000, 0.540000)),
((-0.590000, -0.680000), (-0.590000, -0.730000)),
((-0.500000, -0.980000), (-0.500000, -0.930000)),
((-0.010000, -0.690000), (-0.110001, -0.690000)),
((0.490000, 0.750000), (0.490000, 0.740000)),
((-0.750000, 0.790000), (-0.850000, 0.790000)),
((-0.840000, -0.580000), (-0.700001, -0.580000)),
((0.940000, 0.390000), (0.889999, 0.390000)),
((0.880000, 0.450000), (0.880000, 0.490000)),
((-0.390000, -0.840000), (-0.390000, -0.980000)),
((-0.260000, -0.140000), (-0.200001, -0.140000)),
((0.540000, -0.680000), (0.540000, -0.690000)),
((0.299999, 0.010000), (0.380000, 0.010000)),
((-0.440001, 0.990000), (-0.440001, 0.900000)),
)
| data = (((-0.01, -0.09), (-0.01, -0.04)), ((0.589999, -0.04), (0.73, -0.04)), ((0.99, -0.98), (0.99, -0.84)), ((0.63, -0.49), (0.63, -0.48)), ((-0.3, 0.16), (-0.25, 0.16)), ((0.44, -0.19), (0.44, -0.24)), ((0.15, -0.63), (0.15, -0.68)), ((0.429999, -0.54), (0.29, -0.54)), ((-0.690001, 0.2), (-0.75, 0.2)), ((0.929999, -0.58), (0.929999, -0.49)), ((-0.900001, -0.44), (-0.950001, -0.44)), ((-0.84, 0.84), (-0.84, 0.8)), ((0.679999, 0.15), (0.679999, 0.2)), ((-0.25, 0.54), (-0.35, 0.54)), ((0.29, 0.36), (0.29, 0.44)), ((-0.84, 0.0), (-0.84, -0.05)), ((0.53, 0.55), (0.589999, 0.55)), ((-0.01, 0.74), (-0.05, 0.74)), ((-0.1, 0.01), (-0.1, -0.04)), ((-0.59, -0.43), (-0.54, -0.43)), ((0.429999, 0.01), (0.53, 0.01)), ((0.139999, 0.69), (0.139999, 0.75)), ((-0.700001, 0.65), (-0.700001, 0.7)), ((-0.59, -0.73), (-0.5, -0.73)), ((-0.5, -0.93), (-0.440001, -0.93)), ((-0.110001, -0.69), (-0.110001, -0.59)), ((0.0, 0.31), (0.0, 0.3)), ((0.44, 0.75), (0.49, 0.75)), ((-0.55, -0.69), (-0.55, -0.64)), ((0.88, 0.49), (0.83, 0.49)), ((0.73, 0.49), (0.73, 0.5)), ((-0.39, -0.98), (-0.01, -0.98)), ((-0.26, -0.19), (-0.26, -0.14)), ((0.349999, -0.68), (0.48, -0.68)), ((0.25, 0.25), (0.25, 0.06)), ((-0.360001, 0.85), (-0.31, 0.85)), ((1.0, 1.0), (1.0, -0.99)), ((0.04, 0.05), (-0.01, 0.05)), ((0.74, -0.98), (0.99, -0.98)), ((-0.25, 0.16), (-0.25, 0.05)), ((-0.21, 0.39), (-0.21, 0.44)), ((0.54, -0.44), (0.53, -0.44)), ((0.29, -0.54), (0.29, -0.48)), ((-0.89, 0.35), (-0.89, 0.21)), ((0.929999, -0.49), (0.889999, -0.49)), ((-0.950001, -0.54), (-0.950001, -0.53)), ((0.19, -0.2), (0.15, -0.2)), ((0.04, 0.94), (-0.05, 0.94)), ((-0.740001, 0.69), (-0.79, 0.69)), ((0.679999, 0.2), (0.589999, 0.2)), ((-0.400001, 0.49), (-0.400001, 0.5)), ((0.04, -0.69), (0.0, -0.69)), ((-0.690001, 0.1), (-0.740001, 0.1)), ((0.49, 0.44), (0.49, 0.39)), ((-0.01, 0.5), (-0.01, 0.74)), ((-0.110001, 0.01), (-0.1, 0.01)), ((-0.740001, -0.3), (-0.740001, -0.38)), ((0.429999, 0.0), (0.429999, 0.01)), ((0.139999, 0.75), (0.15, 0.75)), ((-0.5, -0.73), (-0.5, -0.68)), ((-0.440001, -0.93), (-0.440001, -0.94)), ((0.089999, -0.79), (-0.01, -0.79)), ((0.0, 0.3), (-0.160001, 0.3)), ((0.25, 0.94), (0.25, 0.85)), ((-0.55, -0.64), (-0.700001, -0.64)), ((0.88, 0.39), (0.73, 0.39)), ((0.83, 0.44), (0.83, 0.45)), ((-0.3, -0.79), (-0.3, -0.84)), ((-0.31, -0.19), (-0.26, -0.19)), ((0.54, -0.84), (0.54, -0.89)), ((0.38, 0.06), (0.49, 0.06)), ((-0.360001, 0.84), (-0.360001, 0.85)), ((-0.06, -0.1), (-0.06, -0.09)), ((0.58, -0.05), (0.53, -0.05)), ((-0.25, 0.05), (-0.26, 0.05)), ((0.339999, -0.24), (0.339999, -0.19)), ((-0.8, 0.35), (-0.89, 0.35)), ((-0.950001, -0.43), (-0.900001, -0.43)), ((-0.160001, -0.69), (-0.21, -0.69)), ((0.73, 0.69), (0.73, 0.84)), ((-0.8, 0.59), (-0.8, 0.64)), ((0.589999, 0.2), (0.589999, 0.1)), ((-0.35, 0.49), (-0.400001, 0.49)), ((0.04, -0.74), (0.04, -0.69)), ((-0.85, -0.05), (-0.85, 0.0)), ((0.54, 0.44), (0.49, 0.44)), ((-0.06, 0.5), (-0.01, 0.5)), ((-0.05, 0.0), (-0.05, -0.05)), ((-0.740001, -0.38), (-0.59, -0.38)), ((-0.59, -0.35), (-0.6, -0.35)), ((0.349999, -0.09), (0.389999, -0.09)), ((0.15, 0.75), (0.15, 0.7)), ((-0.75, -0.68), (-0.59, -0.68)), ((-0.79, -0.98), (-0.5, -0.98)), ((-0.200001, -0.59), (-0.200001, -0.64)), ((-0.150001, 0.39), (-0.150001, 0.31)), ((-0.84, -0.53), (-0.84, -0.58)), ((0.83, 0.54), (0.73, 0.54)), ((0.889999, 0.64), (0.889999, 0.55)), ((-0.940001, 0.79), (-0.940001, 0.75)), ((1.0, 1.0), (-1.0, 1.0)), ((0.74, -0.84), (0.54, -0.84)), ((0.49, 0.06), (0.49, 0.05)), ((-0.440001, 0.9), (-0.39, 0.9)), ((-0.01, 0.11), (0.0, 0.11)), ((0.54, 0.05), (0.54, 0.0)), ((0.74, 0.06), (0.74, -0.04)), ((0.63, -0.93), (0.74, -0.93)), ((0.679999, -0.49), (0.63, -0.49)), ((0.24, -0.24), (0.339999, -0.24)), ((0.15, -0.68), (0.19, -0.68)), ((0.349999, -0.48), (0.349999, -0.49)), ((-0.84, 0.21), (-0.84, 0.2)), ((0.889999, -0.54), (0.88, -0.54)), ((-0.900001, -0.64), (-0.900001, -0.54)), ((0.139999, -0.29), (0.15, -0.29)), ((-0.21, -0.69), (-0.21, -0.68)), ((0.099999, 0.65), (0.2, 0.65)), ((0.73, 0.84), (0.639999, 0.84)), ((-0.6, 0.89), (-0.690001, 0.89)), ((0.74, 0.15), (0.679999, 0.15)), ((-0.35, 0.54), (-0.35, 0.49)), ((-0.84, -0.05), (-0.85, -0.05)), ((0.38, 0.39), (0.38, 0.44)), ((-0.06, 0.55), (-0.06, 0.6)), ((0.04, 0.15), (-0.05, 0.15)), ((-0.59, -0.38), (-0.59, -0.43)), ((-0.59, -0.3), (-0.59, -0.35)), ((0.389999, 0.15), (0.389999, 0.1)), ((0.2, 0.69), (0.139999, 0.69)), ((-0.75, 0.65), (-0.700001, 0.65)), ((0.04, -0.93), (0.089999, -0.93)), ((-0.700001, -0.59), (-0.79, -0.59)), ((0.889999, 0.5), (0.889999, 0.44)), ((0.99, 0.64), (0.889999, 0.64)), ((-0.25, -0.19), (-0.200001, -0.19)), ((0.48, -0.68), (0.48, -0.58)), ((0.49, 0.05), (0.389999, 0.05)), ((1.0, -0.99), (-1.0, -0.99)), ((-0.35, 0.8), (-0.35, 0.7)), ((-0.01, 0.05), (-0.01, 0.11)), ((0.74, -0.04), (0.79, -0.04)), ((0.839999, -0.69), (0.839999, -0.73)), ((-0.21, 0.44), (-0.25, 0.44)), ((0.24, -0.38), (0.24, -0.24)), ((-0.700001, 0.35), (-0.75, 0.35)), ((-0.900001, -0.54), (-0.950001, -0.54)), ((0.15, -0.29), (0.15, -0.48)), ((-0.21, -0.68), (-0.160001, -0.68)), ((0.099999, 0.79), (0.099999, 0.65)), ((0.639999, 0.84), (0.639999, 0.74)), ((-0.6, 0.84), (-0.6, 0.89)), ((0.69, 0.3), (0.69, 0.16)), ((-0.400001, 0.5), (-0.360001, 0.5)), ((0.049999, -0.68), (0.049999, -0.74)), ((-0.740001, 0.1), (-0.740001, -0.05)), ((0.639999, 0.49), (0.54, 0.49)), ((-0.1, 0.59), (-0.110001, 0.59)), ((-0.160001, 0.1), (-0.160001, 0.15)), ((-0.650001, -0.3), (-0.740001, -0.3)), ((0.29, -0.1), (0.24, -0.1)), ((0.19, 0.7), (0.19, 0.84)), ((-0.950001, -0.69), (-0.950001, -0.58)), ((-0.490001, 0.4), (-0.490001, 0.36)), ((-0.440001, -0.69), (-0.490001, -0.69)), ((-0.950001, -0.93), (-0.940001, -0.93)), ((0.089999, -0.93), (0.089999, -0.79)), ((-0.85, -0.59), (-0.85, -0.53)), ((0.889999, 0.44), (0.83, 0.44)), ((0.94, 0.55), (0.94, 0.39)), ((-0.89, 0.89), (-0.89, 0.79)), ((0.69, -0.83), (0.74, -0.83)), ((0.44, 0.31), (0.44, 0.26)), ((-0.39, 0.8), (-0.35, 0.8)), ((-0.06, -0.09), (-0.01, -0.09)), ((0.73, -0.04), (0.73, 0.06)), ((0.63, -0.68), (0.679999, -0.68)), ((-0.31, 0.1), (-0.31, 0.11)), ((-0.150001, 0.49), (-0.150001, 0.44)), ((0.339999, -0.19), (0.44, -0.19)), ((-0.75, 0.35), (-0.75, 0.36)), ((0.889999, -0.48), (0.94, -0.48)), ((-0.950001, -0.44), (-0.950001, -0.43)), ((0.589999, -0.1), (0.49, -0.1)), ((-0.06, -0.93), (-0.06, -0.74)), ((0.74, 0.69), (0.73, 0.69)), ((-0.8, 0.64), (-0.84, 0.64)), ((0.58, 0.15), (0.48, 0.15)), ((-0.440001, 0.79), (-0.440001, 0.74)), ((-0.1, -0.68), (0.049999, -0.68)), ((0.29, 0.44), (0.2, 0.44)), ((0.639999, 0.5), (0.639999, 0.49)), ((0.15, 0.95), (0.15, 0.9)), ((-0.110001, 0.4), (-0.110001, 0.45)), ((-0.06, 0.1), (-0.160001, 0.1)), ((-0.55, -0.39), (-0.55, -0.3)), ((0.29, -0.19), (0.29, -0.1)), ((0.339999, 0.74), (0.2, 0.74)), ((0.0, -0.05), (0.0, -0.15)), ((-0.8, 0.55), (-0.75, 0.55)), ((-0.490001, -0.69), (-0.490001, -0.74)), ((-0.940001, -0.93), (-0.940001, -0.98)), ((-0.110001, -0.59), (-0.200001, -0.59)), ((0.63, 0.8), (0.63, 0.85)), ((-0.85, -0.53), (-0.84, -0.53)), ((0.78, 0.49), (0.73, 0.49)), ((0.83, 0.49), (0.83, 0.54)), ((-0.89, 0.79), (-0.940001, 0.79)), ((-0.06, -0.19), (0.0, -0.19)), ((0.49, -0.58), (0.49, -0.68)), ((0.25, 0.06), (0.299999, 0.06)), ((-0.39, 0.9), (-0.39, 0.8)), ((0.54, 0.0), (0.49, 0.0)), ((0.74, -0.93), (0.74, -0.98)), ((0.679999, -0.68), (0.679999, -0.49)), ((-0.31, 0.11), (-0.26, 0.11)), ((0.29, -0.48), (0.349999, -0.48)), ((-0.75, 0.36), (-0.690001, 0.36)), ((0.889999, -0.49), (0.889999, -0.54)), ((0.889999, -0.43), (0.889999, -0.48)), ((0.24, -0.48), (0.24, -0.43)), ((-0.950001, -0.19), (-0.85, -0.19)), ((0.589999, -0.05), (0.589999, -0.1)), ((0.15, 0.8), (0.15, 0.79)), ((-0.700001, 0.5), (-0.700001, 0.6)), ((0.48, 0.15), (0.48, 0.2)), ((-0.1, -0.59), (-0.1, -0.68)), ((0.2, 0.44), (0.2, 0.39)), ((-0.25, 0.35), (-0.25, 0.21)), ((0.589999, 0.5), (0.639999, 0.5)), ((-0.160001, 0.4), (-0.110001, 0.4)), ((-0.05, 0.15), (-0.05, 0.01)), ((0.389999, 0.1), (0.349999, 0.1)), ((0.2, 0.74), (0.2, 0.69)), ((-0.75, 0.55), (-0.75, 0.65)), ((-0.79, -0.74), (-0.84, -0.74)), ((-0.200001, -0.73), (-0.200001, -0.88)), ((-0.05, 0.49), (-0.05, 0.44)), ((-0.700001, -0.64), (-0.700001, -0.59)), ((0.78, 0.4), (0.78, 0.49)), ((0.74, 0.55), (0.78, 0.55)), ((-0.3, -0.84), (-0.39, -0.84)), ((0.0, -0.19), (0.0, -0.25)), ((0.48, -0.58), (0.49, -0.58)), ((0.38, 0.3), (0.38, 0.31)), ((-0.35, 0.7), (-0.3, 0.7)), ((-1.0, -0.99), (-1.0, 1.0)), ((-0.150001, -0.19), (-0.110001, -0.19)), ((0.94, -0.69), (0.839999, -0.69)), ((-0.26, 0.05), (-0.26, 0.1)), ((0.63, -0.39), (0.54, -0.39)), ((0.53, -0.64), (0.53, -0.54)), ((-0.650001, 0.4), (-0.650001, 0.44)), ((0.78, -0.59), (0.73, -0.59)), ((-0.85, -0.19), (-0.85, -0.14)), ((0.78, -0.05), (0.589999, -0.05)), ((0.63, 0.79), (0.54, 0.79)), ((-0.84, 0.5), (-0.700001, 0.5)), ((0.74, 0.3), (0.69, 0.3)), ((0.049999, -0.74), (0.04, -0.74)), ((0.2, 0.39), (0.089999, 0.39)), ((-0.06, 0.9), (-0.06, 0.95)), ((-0.06, 0.45), (-0.06, 0.5)), ((-0.1, -0.04), (-0.06, -0.04)), ((0.15, -0.09), (0.15, -0.19)), ((0.15, 0.7), (0.19, 0.7)), ((-0.900001, -0.69), (-0.950001, -0.69)), ((-0.490001, 0.36), (-0.35, 0.36)), ((-0.79, -0.73), (-0.79, -0.74)), ((0.19, -0.84), (0.099999, -0.84)), ((-0.150001, 0.31), (0.0, 0.31)), ((0.74, 0.85), (0.74, 0.75)), ((0.929999, -0.88), (0.94, -0.88)), ((0.73, 0.4), (0.78, 0.4)), ((0.79, 0.69), (0.79, 0.55)), ((-0.39, -0.38), (-0.21, -0.38)), ((0.74, -0.83), (0.74, -0.84)), ((0.38, 0.31), (0.44, 0.31)), ((-0.31, 0.85), (-0.31, 0.89)), ((-0.150001, 0.05), (-0.150001, -0.19)), ((0.49, -0.09), (0.58, -0.09)), ((0.53, -0.29), (0.53, -0.2)), ((-0.150001, 0.44), (-0.200001, 0.44)), ((0.63, -0.43), (0.63, -0.39)), ((0.58, -0.64), (0.53, -0.64)), ((-0.89, 0.21), (-0.84, 0.21)), ((0.74, -0.3), (0.74, -0.39)), ((0.2, -0.2), (0.2, -0.35)), ((-0.85, -0.14), (-0.84, -0.14)), ((0.54, 0.79), (0.54, 0.69)), ((-0.84, 0.64), (-0.84, 0.5)), ((0.349999, 0.2), (0.349999, 0.15)), ((-0.440001, 0.74), (-0.450001, 0.74)), ((-0.79, 0.06), (-0.79, 0.01)), ((-0.650001, 0.16), (-0.650001, 0.21)), ((-0.200001, 0.21), (-0.200001, 0.16)), ((0.49, 0.39), (0.38, 0.39)), ((-0.06, 0.95), (0.15, 0.95)), ((-0.150001, 0.55), (-0.06, 0.55)), ((0.0, 0.01), (0.0, 0.0)), ((-0.55, -0.3), (-0.59, -0.3)), ((0.349999, 0.05), (0.339999, 0.05)), ((0.099999, 0.54), (0.099999, 0.5)), ((-0.990001, -0.74), (-0.990001, -0.83)), ((0.0, -0.15), (-0.1, -0.15)), ((-0.360001, 0.3), (-0.360001, 0.35)), ((-0.84, -0.73), (-0.79, -0.73)), ((0.099999, -0.84), (0.099999, -0.94)), ((0.63, 0.85), (0.74, 0.85)), ((0.94, -0.88), (0.94, -0.94)), ((0.79, 0.55), (0.839999, 0.55)), ((0.83, 0.59), (0.83, 0.6)), ((-0.31, -0.79), (-0.360001, -0.79)), ((-0.39, -0.34), (-0.39, -0.38)), ((-0.01, -0.25), (-0.01, -0.2)), ((0.44, -0.79), (0.38, -0.79)), ((0.429999, 0.26), (0.429999, 0.3)), ((0.49, 0.0), (0.49, -0.09)), ((0.63, -0.53), (0.639999, -0.53)), ((0.139999, -0.63), (0.15, -0.63)), ((0.44, -0.54), (0.44, -0.64)), ((-0.950001, 0.35), (-0.950001, 0.4)), ((0.74, -0.39), (0.73, -0.39)), ((0.15, -0.48), (0.24, -0.48)), ((0.15, 0.79), (0.099999, 0.79)), ((-0.700001, 0.6), (-0.690001, 0.6)), ((0.349999, 0.15), (0.339999, 0.15)), ((-0.150001, 0.25), (-0.150001, 0.21)), ((-0.25, 0.21), (-0.200001, 0.21)), ((-0.150001, 0.64), (-0.150001, 0.55)), ((-0.05, 0.01), (0.0, 0.01)), ((-0.650001, -0.29), (-0.650001, -0.24)), ((0.349999, 0.1), (0.349999, 0.05)), ((-0.990001, -0.83), (-0.900001, -0.83)), ((-0.35, 0.3), (-0.360001, 0.3)), ((-0.25, -0.73), (-0.200001, -0.73)), ((0.889999, 0.55), (0.94, 0.55)), ((0.74, 0.6), (0.74, 0.55)), ((-0.64, 0.94), (-0.740001, 0.94)), ((-0.31, -0.83), (-0.31, -0.79)), ((-0.440001, -0.34), (-0.39, -0.34)), ((0.389999, -0.89), (0.389999, -0.94)), ((0.429999, -0.05), (0.38, -0.05)), ((-0.940001, 0.94), (-0.990001, 0.94)), ((-0.1, 0.06), (-0.1, 0.05)), ((0.73, 0.06), (0.74, 0.06)), ((-0.200001, 0.39), (-0.21, 0.39)), ((0.299999, -0.38), (0.299999, -0.39)), ((0.139999, -0.79), (0.139999, -0.63)), ((-0.900001, 0.35), (-0.950001, 0.35)), ((0.83, -0.44), (0.83, -0.3)), ((-0.84, -0.19), (-0.79, -0.19)), ((0.69, -0.14), (0.69, -0.19)), ((0.049999, 0.8), (0.049999, 0.6)), ((-0.690001, 0.89), (-0.690001, 0.84)), ((0.339999, 0.15), (0.339999, 0.2)), ((-0.110001, 0.36), (-0.06, 0.36)), ((0.099999, 0.45), (0.099999, 0.4)), ((-0.75, 0.01), (-0.75, 0.11)), ((-0.79, 0.25), (-0.79, 0.16)), ((-0.150001, 0.16), (-0.150001, 0.11)), ((-0.110001, 0.64), (-0.150001, 0.64)), ((-0.06, -0.04), (-0.06, 0.1)), ((-0.650001, -0.24), (-0.64, -0.24)), ((-0.75, -0.09), (-0.700001, -0.09)), ((0.15, -0.19), (0.29, -0.19)), ((-0.900001, -0.83), (-0.900001, -0.69)), ((-0.1, -0.2), (-0.150001, -0.2)), ((-0.35, 0.36), (-0.35, 0.3)), ((-0.89, -0.63), (-0.84, -0.63)), ((0.04, -0.94), (0.04, -0.93)), ((0.389999, 0.8), (0.44, 0.8)), ((-0.360001, -0.68), (-0.360001, -0.63)), ((-0.6, -0.44), (-0.6, -0.39)), ((0.83, -0.94), (0.83, -0.88)), ((0.839999, 0.5), (0.889999, 0.5)), ((0.88, 0.6), (0.88, 0.65)), ((-0.64, 0.95), (-0.64, 0.94)), ((-0.360001, -0.78), (-0.25, -0.78)), ((-0.200001, -0.14), (-0.200001, -0.15)), ((0.389999, -0.94), (0.38, -0.94)), ((0.38, -0.05), (0.38, 0.0)), ((-0.31, 0.89), (-0.360001, 0.89)), ((-0.940001, 0.95), (-0.940001, 0.94)), ((0.48, -0.29), (0.53, -0.29)), ((-0.200001, 0.44), (-0.200001, 0.39)), ((0.25, -0.38), (0.299999, -0.38)), ((-0.01, -0.49), (-0.05, -0.49)), ((-0.940001, 0.4), (-0.940001, 0.36)), ((0.73, -0.3), (0.69, -0.3)), ((0.679999, -0.14), (0.69, -0.14)), ((0.48, 0.2), (0.349999, 0.2)), ((-0.06, 0.36), (-0.06, 0.4)), ((0.099999, 0.4), (0.19, 0.4)), ((-0.79, 0.01), (-0.75, 0.01)), ((-0.79, 0.16), (-0.650001, 0.16)), ((-0.31, 0.94), (-0.31, 0.95)), ((-0.59, 0.44), (-0.59, 0.3)), ((0.089999, -0.04), (0.29, -0.04)), ((-0.64, -0.24), (-0.64, -0.35)), ((-0.75, -0.1), (-0.75, -0.09)), ((0.15, 0.54), (0.099999, 0.54)), ((-0.950001, -0.74), (-0.990001, -0.74)), ((-0.1, -0.15), (-0.1, -0.2)), ((-0.360001, 0.35), (-0.440001, 0.35)), ((-0.440001, -0.68), (-0.440001, -0.69)), ((-0.200001, -0.64), (-0.25, -0.64)), ((-0.05, 0.44), (-0.1, 0.44)), ((0.83, -0.88), (0.88, -0.88)), ((0.83, 0.6), (0.88, 0.6)), ((0.73, 0.54), (0.73, 0.6)), ((-0.740001, 0.89), (-0.89, 0.89)), ((-0.400001, -0.88), (-0.400001, -0.83)), ((-0.25, -0.78), (-0.25, -0.79)), ((0.0, -0.25), (-0.01, -0.25)), ((0.38, -0.94), (0.38, -0.89)), ((0.38, -0.79), (0.38, -0.74)), ((0.38, 0.0), (0.299999, 0.0)), ((-0.110001, 0.94), (-0.110001, 0.99)), ((0.78, 0.1), (0.69, 0.1)), ((0.089999, 0.85), (0.089999, 0.9)), ((-0.26, 0.1), (-0.31, 0.1)), ((0.63, -0.58), (0.63, -0.53)), ((0.25, -0.3), (0.25, -0.38)), ((-0.950001, 0.21), (-0.900001, 0.21)), ((-0.650001, 0.44), (-0.740001, 0.44)), ((0.94, -0.48), (0.94, -0.59)), ((0.88, -0.54), (0.88, -0.44)), ((-0.89, -0.94), (-0.900001, -0.94)), ((0.78, -0.19), (0.78, -0.05)), ((0.089999, 0.25), (-0.150001, 0.25)), ((0.929999, 0.16), (0.929999, 0.3)), ((-0.26, -0.59), (-0.26, -0.58)), ((0.089999, 0.39), (0.089999, 0.45)), ((-0.31, 0.95), (-0.150001, 0.95)), ((-0.110001, 0.45), (-0.06, 0.45)), ((-0.26, -0.05), (-0.26, 0.0)), ((-0.740001, -0.29), (-0.650001, -0.29)), ((0.29, 0.16), (0.299999, 0.16)), ((-0.490001, 0.3), (-0.490001, 0.21)), ((-0.450001, -0.73), (-0.26, -0.73)), ((-0.25, -0.64), (-0.25, -0.73)), ((-0.1, 0.44), (-0.1, 0.39)), ((-0.39, -0.63), (-0.39, -0.68)), ((-0.690001, -0.39), (-0.690001, -0.44)), ((0.88, -0.88), (0.88, -0.74)), ((0.73, 0.6), (0.74, 0.6)), ((0.99, 0.65), (0.99, 0.84)), ((-0.25, -0.79), (-0.3, -0.79)), ((-0.490001, -0.19), (-0.490001, -0.24)), ((0.44, -0.89), (0.389999, -0.89)), ((0.38, 0.01), (0.38, 0.06)), ((-0.990001, 0.99), (-0.990001, 0.95)), ((-0.1, 0.05), (-0.150001, 0.05)), ((0.78, 0.0), (0.78, 0.1)), ((0.49, -0.44), (0.48, -0.44)), ((0.299999, -0.39), (0.2, -0.39)), ((-0.950001, 0.2), (-0.950001, 0.21)), ((-0.740001, 0.44), (-0.740001, 0.39)), ((0.88, -0.44), (0.83, -0.44)), ((-0.89, -0.89), (-0.89, -0.94)), ((0.58, -0.24), (0.679999, -0.24)), ((-0.84, -0.14), (-0.84, -0.19)), ((-0.160001, -0.84), (-0.160001, -0.69)), ((0.049999, 0.6), (0.089999, 0.6)), ((-0.690001, 0.84), (-0.84, 0.84)), ((0.69, 0.16), (0.74, 0.16)), ((-0.01, 0.4), (-0.01, 0.45)), ((0.79, -0.19), (0.94, -0.19)), ((-0.21, -0.59), (-0.26, -0.59)), ((-0.75, 0.0), (-0.84, 0.0)), ((-0.26, 0.75), (-0.26, 0.94)), ((-0.6, 0.3), (-0.6, 0.45)), ((-0.26, 0.0), (-0.31, 0.0)), ((-0.700001, -0.25), (-0.700001, -0.1)), ((0.29, 0.1), (0.29, 0.16)), ((0.139999, 0.6), (0.15, 0.6)), ((-0.26, -0.73), (-0.26, -0.64)), ((-0.84, -0.63), (-0.84, -0.73)), ((0.099999, -0.94), (0.04, -0.94)), ((-0.1, 0.39), (-0.150001, 0.39)), ((-0.39, -0.68), (-0.360001, -0.68)), ((-0.6, -0.39), (-0.690001, -0.39)), ((0.94, -0.94), (0.83, -0.94)), ((0.839999, 0.55), (0.839999, 0.5)), ((-0.5, -0.19), (-0.490001, -0.19)), ((0.29, -0.74), (0.29, -0.58)), ((0.429999, 0.3), (0.38, 0.3)), ((0.48, -0.44), (0.48, -0.29)), ((0.589999, -0.44), (0.589999, -0.58)), ((0.19, -0.44), (0.19, -0.38)), ((0.53, -0.54), (0.44, -0.54)), ((-0.01, -0.64), (-0.01, -0.49)), ((-0.84, 0.2), (-0.950001, 0.2)), ((-0.740001, 0.39), (-0.84, 0.39)), ((0.73, -0.39), (0.73, -0.3)), ((-0.950001, -0.53), (-0.900001, -0.53)), ((0.58, -0.25), (0.58, -0.24)), ((0.63, 0.74), (0.63, 0.79)), ((-0.5, 0.75), (-0.5, 0.94)), ((0.74, 0.16), (0.74, 0.15)), ((0.139999, 0.15), (0.089999, 0.15)), ((-0.360001, 0.79), (-0.440001, 0.79)), ((-0.31, 0.39), (-0.450001, 0.39)), ((0.94, -0.19), (0.94, -0.3)), ((-0.21, -0.63), (-0.21, -0.59)), ((-0.84, 0.31), (-0.84, 0.26)), ((-0.150001, 0.9), (-0.06, 0.9)), ((-0.59, 0.3), (-0.6, 0.3)), ((0.29, -0.04), (0.29, 0.05)), ((-0.31, 0.0), (-0.31, 0.05)), ((-0.700001, -0.34), (-0.650001, -0.34)), ((0.299999, 0.11), (0.38, 0.11)), ((0.15, 0.6), (0.15, 0.54)), ((-0.160001, -0.1), (-0.3, -0.1)), ((-0.5, -0.68), (-0.440001, -0.68)), ((-0.35, -0.88), (-0.35, -0.93)), ((0.299999, -0.83), (0.299999, -0.84)), ((-0.160001, 0.65), (-0.160001, 0.7)), ((-0.740001, 0.94), (-0.740001, 0.89)), ((-0.400001, -0.83), (-0.31, -0.83)), ((-0.440001, -0.24), (-0.440001, -0.34)), ((0.38, -0.74), (0.29, -0.74)), ((-0.1, 0.94), (-0.110001, 0.94)), ((0.889999, 0.1), (0.889999, 0.0)), ((0.089999, 0.9), (0.099999, 0.9)), ((0.83, -0.79), (0.79, -0.79)), ((0.589999, -0.58), (0.63, -0.58)), ((0.429999, -0.63), (0.429999, -0.54)), ((0.94, -0.59), (0.889999, -0.59)), ((-0.650001, -0.48), (-0.650001, -0.43)), ((0.63, -0.25), (0.58, -0.25)), ((-0.1, -0.78), (-0.1, -0.84)), ((0.089999, 0.8), (0.15, 0.8)), ((0.83, 0.16), (0.929999, 0.16)), ((0.089999, 0.15), (0.089999, 0.25)), ((-0.360001, 0.5), (-0.360001, 0.79)), ((-0.31, 0.26), (-0.31, 0.39)), ((0.94, -0.3), (0.889999, -0.3)), ((-0.26, -0.58), (-0.05, -0.58)), ((-0.84, 0.26), (-0.740001, 0.26)), ((-0.200001, 0.16), (-0.150001, 0.16)), ((0.54, 0.49), (0.54, 0.44)), ((-0.31, 0.74), (-0.31, 0.75)), ((-0.55, 0.45), (-0.55, 0.5)), ((-0.25, -0.05), (-0.26, -0.05)), ((-0.650001, -0.34), (-0.650001, -0.3)), ((0.339999, 0.05), (0.339999, 0.1)), ((0.38, 0.11), (0.38, 0.16)), ((-0.990001, -0.73), (-0.940001, -0.73)), ((-0.160001, -0.25), (-0.160001, -0.1)), ((-0.490001, 0.21), (-0.39, 0.21)), ((-0.31, -0.64), (-0.31, -0.59)), ((-0.54, -0.88), (-0.54, -0.94)), ((0.2, -0.83), (0.299999, -0.83)), ((0.78, -0.73), (0.83, -0.73)), ((-0.900001, 0.89), (-0.950001, 0.89)), ((-0.54, -0.24), (-0.5, -0.24)), ((0.589999, 0.39), (0.54, 0.39)), ((-0.160001, 0.8), (-0.160001, 0.85)), ((-0.990001, 0.95), (-0.940001, 0.95)), ((0.2, 0.85), (0.2, 0.8)), ((0.83, -0.84), (0.83, -0.79)), ((-0.450001, 0.1), (-0.490001, 0.1)), ((0.089999, -0.74), (0.089999, -0.64)), ((-0.950001, 0.4), (-0.940001, 0.4)), ((-0.650001, -0.43), (-0.64, -0.43)), ((-0.1, -0.84), (-0.160001, -0.84)), ((0.089999, 0.6), (0.089999, 0.8)), ((0.839999, 0.15), (0.839999, 0.05)), ((-0.06, 0.4), (-0.01, 0.4)), ((-0.06, -0.64), (-0.06, -0.59)), ((0.0, 0.44), (0.0, 0.39)), ((-0.85, 0.25), (-0.85, 0.31)), ((0.049999, 0.21), (0.049999, 0.11)), ((-0.31, 0.75), (-0.26, 0.75)), ((0.25, 0.05), (0.25, 0.0)), ((-0.700001, -0.1), (-0.75, -0.1)), ((0.38, 0.16), (0.44, 0.16)), ((-0.3, -0.15), (-0.35, -0.15)), ((-0.31, -0.59), (-0.450001, -0.59)), ((0.2, -0.84), (0.2, -0.93)), ((-0.75, -0.39), (-0.75, -0.15)), ((0.83, -0.73), (0.83, -0.63)), ((-0.54, -0.14), (-0.54, -0.24)), ((0.54, -0.89), (0.53, -0.89)), ((0.589999, 0.44), (0.589999, 0.39)), ((0.19, 0.99), (-0.1, 0.99)), ((-0.64, 0.65), (-0.64, 0.6)), ((0.099999, 0.85), (0.2, 0.85)), ((0.839999, -0.84), (0.83, -0.84)), ((0.63, -0.48), (0.679999, -0.48)), ((-0.490001, 0.1), (-0.490001, 0.05)), ((0.19, -0.38), (0.24, -0.38)), ((0.089999, -0.64), (-0.01, -0.64)), ((-0.79, 0.36), (-0.79, 0.31)), ((0.889999, -0.64), (0.88, -0.64)), ((-0.740001, -0.43), (-0.740001, -0.48)), ((0.69, -0.19), (0.78, -0.19)), ((-0.110001, -0.83), (-0.110001, -0.78)), ((0.639999, 0.74), (0.63, 0.74)), ((-0.54, 0.75), (-0.5, 0.75)), ((0.839999, 0.05), (0.83, 0.05)), ((-0.89, 0.99), (-0.89, 0.9)), ((-0.39, 0.31), (-0.39, 0.26)), ((0.089999, 0.45), (0.099999, 0.45)), ((-0.740001, 0.25), (-0.79, 0.25)), ((0.2, 0.21), (0.2, 0.05)), ((0.04, 0.21), (0.049999, 0.21)), ((-0.150001, 0.95), (-0.150001, 0.9)), ((0.29, 0.05), (0.25, 0.05)), ((-0.6, -0.35), (-0.6, -0.2)), ((-0.150001, -0.2), (-0.150001, -0.25)), ((-0.35, -0.15), (-0.35, -0.34)), ((-0.700001, 0.7), (-0.650001, 0.7)), ((-0.450001, -0.59), (-0.450001, -0.48)), ((-0.360001, -0.88), (-0.35, -0.88)), ((0.889999, 0.26), (0.889999, 0.2)), ((-0.440001, -0.44), (-0.490001, -0.44)), ((-0.700001, -0.39), (-0.75, -0.39)), ((0.88, 0.65), (0.99, 0.65)), ((0.94, 0.75), (0.94, 0.69)), ((-0.64, -0.14), (-0.54, -0.14)), ((0.349999, -0.59), (0.349999, -0.68)), ((0.54, 0.35), (0.349999, 0.35)), ((-0.940001, 0.6), (-0.85, 0.6)), ((-0.1, 0.99), (-0.1, 0.94)), ((-0.8, 0.45), (-0.8, 0.49)), ((0.889999, 0.0), (0.78, 0.0)), ((0.099999, 0.9), (0.099999, 0.85)), ((0.929999, -0.84), (0.929999, -0.78)), ((0.679999, -0.48), (0.679999, -0.35)), ((-0.490001, 0.05), (-0.54, 0.05)), ((0.38, -0.63), (0.429999, -0.63)), ((-0.79, 0.31), (-0.700001, 0.31)), ((0.38, 0.64), (0.38, 0.74)), ((0.889999, -0.59), (0.889999, -0.64)), ((-0.64, -0.48), (-0.59, -0.48)), ((0.139999, -0.38), (0.139999, -0.29)), ((0.429999, 0.94), (0.429999, 0.95)), ((0.83, 0.05), (0.83, 0.16)), ((-0.85, 0.99), (-0.89, 0.99)), ((0.929999, -0.38), (0.929999, -0.34)), ((-0.8, 0.16), (-0.8, 0.25)), ((0.099999, 0.11), (0.099999, 0.01)), ((0.19, 0.21), (0.2, 0.21)), ((0.339999, 0.1), (0.29, 0.1)), ((-0.940001, -0.73), (-0.940001, -0.79)), ((-0.35, -0.34), (-0.26, -0.34)), ((-0.650001, 0.7), (-0.650001, 0.75)), ((-0.26, -0.64), (-0.31, -0.64)), ((-0.54, -0.94), (-0.6, -0.94)), ((0.53, 0.8), (0.63, 0.8)), ((-0.440001, -0.38), (-0.440001, -0.44)), ((0.929999, 0.79), (0.929999, 0.85)), ((0.389999, -0.59), (0.349999, -0.59)), ((0.389999, -0.39), (0.349999, -0.39)), ((0.349999, 0.35), (0.349999, 0.26)), ((0.679999, 0.35), (0.679999, 0.44)), ((-0.940001, 0.7), (-0.940001, 0.6)), ((-0.160001, 0.85), (-0.1, 0.85)), ((0.94, 0.06), (0.94, -0.04)), ((0.2, 0.8), (0.349999, 0.8)), ((0.74, -0.78), (0.839999, -0.78)), ((0.53, -0.38), (0.639999, -0.38)), ((-0.84, 0.39), (-0.84, 0.36)), ((0.88, -0.59), (0.79, -0.59)), ((-0.900001, -0.94), (-0.900001, -0.89)), ((-0.79, -0.19), (-0.79, -0.43)), ((0.04, 0.44), (0.0, 0.44)), ((0.429999, 0.95), (0.589999, 0.95)), ((-0.55, 0.85), (-0.54, 0.85)), ((0.94, 0.15), (0.839999, 0.15)), ((-0.85, 0.94), (-0.85, 0.99)), ((0.929999, -0.34), (0.94, -0.34)), ((-0.06, -0.59), (-0.1, -0.59)), ((-0.8, 0.25), (-0.85, 0.25)), ((0.139999, 0.05), (0.139999, 0.15)), ((-0.06, 0.16), (0.04, 0.16)), ((-0.400001, 0.01), (-0.400001, 0.11)), ((-0.160001, 0.15), (-0.200001, 0.15)), ((0.24, -0.1), (0.24, -0.09)), ((-0.8, -0.93), (-0.8, -0.83)), ((-0.3, -0.94), (-0.360001, -0.94)), ((0.88, 0.21), (0.88, 0.26)), ((-0.160001, 0.7), (-0.150001, 0.7)), ((0.53, 0.7), (0.53, 0.8)), ((-0.490001, -0.63), (-0.39, -0.63)), ((-0.690001, -0.44), (-0.700001, -0.44)), ((0.889999, 0.89), (0.889999, 0.75)), ((-0.490001, -0.24), (-0.440001, -0.24)), ((0.53, -0.89), (0.53, -0.84)), ((0.349999, -0.39), (0.349999, -0.43)), ((0.349999, 0.26), (0.429999, 0.26)), ((-0.690001, 0.65), (-0.64, 0.65)), ((0.2, 0.79), (0.2, 0.75)), ((0.49, -0.35), (0.49, -0.44)), ((0.53, -0.44), (0.53, -0.38)), ((0.44, -0.64), (0.38, -0.64)), ((0.349999, 0.74), (0.349999, 0.55)), ((-0.79, -0.43), (-0.740001, -0.43)), ((0.04, 0.39), (0.04, 0.44)), ((0.589999, 0.95), (0.589999, 0.9)), ((-0.54, 0.85), (-0.54, 0.75)), ((-0.89, 0.9), (-0.75, 0.9)), ((-0.39, 0.26), (-0.31, 0.26)), ((0.889999, -0.3), (0.889999, -0.38)), ((-0.740001, 0.26), (-0.740001, 0.25)), ((0.15, 0.06), (0.19, 0.06)), ((-0.06, 0.11), (-0.06, 0.16)), ((-0.6, 0.45), (-0.55, 0.45)), ((0.04, 0.1), (0.04, 0.15)), ((-0.6, -0.2), (-0.690001, -0.2)), ((-0.150001, -0.25), (-0.160001, -0.25)), ((-0.59, 0.75), (-0.59, 0.7)), ((-0.400001, -0.35), (-0.5, -0.35)), ((-0.6, -0.89), (-0.700001, -0.89)), ((-0.360001, -0.94), (-0.360001, -0.88)), ((0.88, 0.26), (0.889999, 0.26)), ((0.44, 0.7), (0.53, 0.7)), ((-0.150001, 0.7), (-0.150001, 0.65)), ((0.889999, 0.75), (0.94, 0.75)), ((-0.06, -0.24), (-0.06, -0.19)), ((0.29, -0.58), (0.389999, -0.58)), ((0.429999, -0.1), (0.429999, -0.05)), ((-0.990001, 0.84), (-0.990001, 0.7)), ((-0.1, 0.84), (-0.150001, 0.84)), ((0.38, 0.99), (0.2, 0.99)), ((-0.8, 0.49), (-0.85, 0.49)), ((0.929999, -0.78), (0.94, -0.78)), ((-0.490001, -0.09), (-0.490001, -0.14)), ((0.639999, -0.44), (0.589999, -0.44)), ((0.38, -0.64), (0.38, -0.63)), ((0.19, -0.59), (0.099999, -0.59)), ((0.38, 0.74), (0.349999, 0.74)), ((0.63, -0.15), (0.54, -0.15)), ((-0.64, -0.43), (-0.64, -0.48)), ((0.099999, -0.38), (0.139999, -0.38)), ((0.429999, -0.98), (0.429999, -0.93)), ((0.58, 0.94), (0.429999, 0.94)), ((-0.8, 0.94), (-0.8, 0.95)), ((-0.450001, 0.25), (-0.450001, 0.26)), ((0.0, 0.39), (-0.05, 0.39)), ((-0.8, 0.06), (-0.79, 0.06)), ((-0.150001, 0.11), (-0.06, 0.11)), ((0.15, 0.16), (0.15, 0.06)), ((-0.5, -0.05), (-0.5, 0.01)), ((-0.450001, 0.45), (-0.450001, 0.64)), ((0.089999, 0.1), (0.04, 0.1)), ((-0.700001, -0.35), (-0.700001, -0.34)), ((-0.940001, -0.79), (-0.950001, -0.79)), ((-0.440001, 0.3), (-0.490001, 0.3)), ((-0.5, -0.35), (-0.5, -0.34)), ((-0.6, -0.94), (-0.6, -0.89)), ((0.299999, -0.84), (0.2, -0.84)), ((0.79, 0.31), (0.79, 0.21)), ((-0.150001, 0.65), (-0.06, 0.65)), ((0.429999, 0.84), (0.429999, 0.85)), ((0.94, 0.79), (0.929999, 0.79)), ((-0.360001, -0.79), (-0.360001, -0.78)), ((-0.1, -0.49), (-0.160001, -0.49)), ((0.389999, -0.43), (0.389999, -0.48)), ((0.679999, 0.44), (0.589999, 0.44)), ((-0.1, 0.85), (-0.1, 0.84)), ((0.2, 0.99), (0.2, 0.94)), ((-0.110001, -0.19), (-0.110001, -0.14)), ((-0.64, 0.69), (-0.690001, 0.69)), ((0.94, -0.04), (0.99, -0.04)), ((0.94, -0.78), (0.94, -0.83)), ((0.839999, -0.78), (0.839999, -0.84)), ((-0.490001, -0.14), (-0.440001, -0.14)), ((0.19, -0.68), (0.19, -0.59)), ((0.88, -0.64), (0.88, -0.59)), ((0.63, -0.19), (0.63, -0.15)), ((-0.900001, -0.89), (-0.950001, -0.89)), ((-0.110001, -0.78), (-0.1, -0.78)), ((0.049999, 0.59), (0.049999, 0.39)), ((-0.450001, 0.99), (-0.84, 0.99)), ((-0.05, 0.39), (-0.05, 0.36)), ((-0.8, 0.01), (-0.8, 0.06)), ((0.099999, 0.16), (0.15, 0.16)), ((-0.5, 0.01), (-0.400001, 0.01)), ((-0.200001, 0.15), (-0.200001, 0.0)), ((-0.690001, -0.25), (-0.700001, -0.25)), ((0.24, -0.09), (0.339999, -0.09)), ((-0.950001, -0.79), (-0.950001, -0.74)), ((-0.440001, 0.35), (-0.440001, 0.3)), ((-0.8, -0.25), (-0.85, -0.25)), ((-0.85, -0.93), (-0.8, -0.93)), ((0.19, -0.94), (0.19, -0.84)), ((0.49, 0.74), (0.44, 0.74)), ((-0.490001, -0.44), (-0.490001, -0.63)), ((-0.700001, -0.44), (-0.700001, -0.39)), ((0.78, -0.74), (0.78, -0.73)), ((-0.160001, -0.49), (-0.160001, -0.48)), ((0.53, -0.84), (0.44, -0.84)), ((0.44, -0.04), (0.44, -0.1)), ((-0.150001, 0.79), (-0.200001, 0.79)), ((-0.85, 0.59), (-0.950001, 0.59)), ((-0.690001, 0.69), (-0.690001, 0.65)), ((0.2, 0.75), (0.389999, 0.75)), ((0.679999, -0.35), (0.49, -0.35)), ((-0.54, 0.05), (-0.54, -0.09)), ((0.2, -0.44), (0.19, -0.44)), ((0.639999, 0.4), (0.639999, 0.35)), ((0.48, -0.93), (0.48, -0.88)), ((0.099999, -0.74), (0.089999, -0.74)), ((-0.900001, 0.21), (-0.900001, 0.35)), ((0.83, -0.3), (0.74, -0.3)), ((0.15, -0.25), (0.099999, -0.25)), ((0.78, 0.95), (0.94, 0.95)), ((-0.650001, 0.85), (-0.64, 0.85)), ((0.69, 0.36), (0.839999, 0.36)), ((-0.450001, 0.89), (-0.450001, 0.99)), ((-0.05, 0.36), (0.15, 0.36)), ((-0.900001, 0.01), (-0.8, 0.01)), ((0.049999, 0.11), (0.099999, 0.11)), ((-0.450001, -0.1), (-0.450001, -0.05)), ((0.25, 0.0), (0.089999, 0.0)), ((-0.690001, -0.2), (-0.690001, -0.25)), ((0.04, -0.59), (0.04, -0.53)), ((-0.650001, 0.75), (-0.59, 0.75)), ((-0.8, -0.44), (-0.8, -0.25)), ((-0.200001, -0.88), (-0.1, -0.88)), ((-0.5, 0.35), (-0.5, 0.39)), ((-0.740001, -0.64), (-0.79, -0.64)), ((0.99, 0.84), (0.94, 0.84)), ((-0.650001, -0.79), (-0.650001, -0.74)), ((-0.110001, -0.24), (-0.06, -0.24)), ((0.44, -0.84), (0.44, -0.89)), ((0.389999, -0.58), (0.389999, -0.59)), ((0.44, -0.1), (0.429999, -0.1)), ((-0.990001, 0.7), (-0.940001, 0.7)), ((0.19, 0.94), (0.19, 0.99)), ((-0.85, 0.49), (-0.85, 0.59)), ((0.99, 0.1), (0.889999, 0.1)), ((0.58, -0.2), (0.58, -0.19)), ((0.2, -0.39), (0.2, -0.44)), ((0.639999, -0.38), (0.639999, -0.44)), ((0.429999, -0.93), (0.48, -0.93)), ((-0.84, 0.36), (-0.79, 0.36)), ((0.339999, 0.54), (0.339999, 0.64)), ((0.69, -0.54), (0.69, -0.68)), ((-0.950001, -0.88), (-0.85, -0.88)), ((0.099999, -0.25), (0.099999, -0.38)), ((0.679999, -0.24), (0.679999, -0.14)), ((0.94, 0.95), (0.94, 0.94)), ((-0.64, 0.85), (-0.64, 0.8)), ((-0.8, 0.95), (-0.64, 0.95)), ((-0.450001, 0.26), (-0.400001, 0.26)), ((-0.950001, -0.1), (-0.950001, 0.11)), ((0.2, 0.05), (0.139999, 0.05)), ((-0.54, 0.45), (-0.450001, 0.45)), ((-0.64, -0.35), (-0.700001, -0.35)), ((0.339999, -0.04), (0.349999, -0.04)), ((0.679999, 0.45), (0.679999, 0.54)), ((-0.950001, -0.38), (-0.950001, -0.29)), ((-0.75, -0.44), (-0.8, -0.44)), ((-0.1, -0.88), (-0.1, -0.89)), ((0.0, 0.75), (0.0, 0.49)), ((0.429999, 0.85), (0.58, 0.85)), ((-0.59, -0.19), (-0.59, -0.29)), ((0.94, 0.36), (0.94, 0.35)), ((0.94, 0.84), (0.94, 0.79)), ((0.83, 0.9), (0.94, 0.9)), ((-0.6, -0.79), (-0.650001, -0.79)), ((-0.110001, -0.48), (-0.110001, -0.44)), ((0.349999, -0.43), (0.389999, -0.43)), ((0.389999, 0.05), (0.389999, -0.04)), ((-0.990001, 0.94), (-0.990001, 0.85)), ((-0.360001, 0.99), (-0.440001, 0.99)), ((-0.110001, -0.14), (-0.01, -0.14)), ((-0.950001, 0.69), (-0.990001, 0.69)), ((-0.6, 0.69), (-0.6, 0.74)), ((0.58, -0.04), (0.58, 0.01)), ((0.99, -0.04), (0.99, 0.1)), ((0.639999, -0.2), (0.58, -0.2)), ((0.349999, -0.88), (0.429999, -0.88)), ((0.49, -0.88), (0.49, -0.93)), ((0.44, 0.54), (0.339999, 0.54)), ((0.79, -0.54), (0.69, -0.54)), ((-0.950001, -0.89), (-0.950001, -0.88)), ((0.049999, 0.39), (0.04, 0.39)), ((-0.400001, 0.8), (-0.400001, 0.89)), ((0.889999, -0.38), (0.929999, -0.38)), ((-0.05, -0.64), (-0.06, -0.64)), ((-0.85, 0.0), (-0.900001, 0.0)), ((-0.200001, 0.0), (-0.25, 0.0)), ((0.339999, -0.09), (0.339999, -0.04)), ((0.299999, 0.16), (0.299999, 0.11)), ((0.099999, 0.5), (0.29, 0.5)), ((-0.990001, -0.38), (-0.950001, -0.38)), ((-0.84, -0.74), (-0.84, -0.78)), ((0.349999, -0.94), (0.19, -0.94)), ((0.0, 0.49), (-0.05, 0.49)), ((0.44, 0.74), (0.44, 0.7)), ((0.58, 0.85), (0.58, 0.94)), ((-0.690001, -0.19), (-0.59, -0.19)), ((0.88, -0.74), (0.78, -0.74)), ((0.83, 0.89), (0.83, 0.9)), ((-0.6, -0.88), (-0.6, -0.79)), ((-0.200001, -0.29), (-0.110001, -0.29)), ((0.38, -0.35), (0.38, -0.34)), ((-0.150001, 0.84), (-0.150001, 0.79)), ((-0.360001, 0.95), (-0.360001, 0.99)), ((-0.400001, -0.05), (-0.400001, -0.04)), ((-0.55, 0.69), (-0.6, 0.69)), ((0.639999, -0.1), (0.639999, -0.2)), ((0.429999, -0.88), (0.429999, -0.83)), ((0.639999, 0.35), (0.589999, 0.35)), ((0.099999, -0.59), (0.099999, -0.74)), ((0.73, -0.68), (0.73, -0.63)), ((-0.85, -0.64), (-0.900001, -0.64)), ((0.15, -0.98), (0.429999, -0.98)), ((0.19, 0.54), (0.19, 0.64)), ((-0.55, 0.8), (-0.55, 0.85)), ((-0.150001, 0.21), (0.0, 0.21)), ((0.839999, 0.36), (0.839999, 0.31)), ((-0.450001, 0.8), (-0.400001, 0.8)), ((-0.400001, 0.31), (-0.39, 0.31)), ((0.929999, -0.29), (0.929999, -0.2)), ((-0.05, -0.58), (-0.05, -0.64)), ((0.049999, 0.35), (0.049999, 0.26)), ((-0.26, 0.94), (-0.31, 0.94)), ((-0.55, 0.5), (-0.54, 0.5)), ((-0.25, 0.0), (-0.25, -0.05)), ((0.089999, 0.0), (0.089999, 0.1)), ((0.049999, -0.59), (0.04, -0.59)), ((0.29, 0.5), (0.29, 0.65)), ((-0.940001, -0.29), (-0.940001, -0.39)), ((-0.79, -0.53), (-0.75, -0.53)), ((-0.3, -0.89), (-0.3, -0.94)), ((-0.450001, 0.35), (-0.5, 0.35)), ((0.79, 0.21), (0.88, 0.21)), ((-0.06, 0.65), (-0.06, 0.75)), ((-0.690001, -0.05), (-0.690001, -0.19)), ((0.83, -0.15), (0.83, -0.14)), ((0.94, 0.89), (0.889999, 0.89)), ((-0.650001, -0.74), (-0.690001, -0.74)), ((-0.110001, -0.29), (-0.110001, -0.24)), ((-0.5, -0.24), (-0.5, -0.19)), ((0.38, -0.34), (0.429999, -0.34)), ((0.2, 0.94), (0.19, 0.94)), ((-0.01, -0.1), (-0.06, -0.1)), ((-0.64, 0.74), (-0.64, 0.69)), ((0.58, -0.19), (0.63, -0.19)), ((-0.3, 0.39), (-0.3, 0.16)), ((0.429999, -0.83), (0.679999, -0.83)), ((0.04, -0.3), (0.0, -0.3)), ((0.349999, 0.55), (0.44, 0.55)), ((0.69, -0.53), (0.79, -0.53)), ((0.15, -0.88), (0.15, -0.98)), ((-0.79, 0.59), (-0.8, 0.59)), ((0.0, 0.21), (0.0, 0.2)), ((-0.450001, 0.74), (-0.450001, 0.8)), ((-0.400001, 0.26), (-0.400001, 0.31)), ((0.929999, -0.2), (0.69, -0.2)), ((0.049999, 0.26), (0.089999, 0.26)), ((-0.950001, 0.11), (-0.940001, 0.11)), ((-0.06, 0.8), (-0.06, 0.89)), ((-0.54, 0.5), (-0.54, 0.45)), ((-0.05, 0.74), (-0.05, 0.64)), ((0.349999, -0.84), (0.349999, -0.88)), ((0.15, -0.53), (0.15, -0.54)), ((0.58, 0.45), (0.679999, 0.45)), ((-0.89, -0.15), (-0.990001, -0.15)), ((-0.3, -0.1), (-0.3, -0.15)), ((-0.400001, -0.48), (-0.400001, -0.35)), ((0.2, -0.93), (0.349999, -0.93)), ((-0.450001, 0.31), (-0.450001, 0.35)), ((0.74, 0.25), (0.74, 0.2)), ((-0.59, -0.29), (-0.490001, -0.29)), ((-0.700001, -0.89), (-0.700001, -0.88)), ((-0.160001, -0.48), (-0.110001, -0.48)), ((0.429999, -0.34), (0.429999, -0.2)), ((-0.990001, 0.85), (-0.940001, 0.85)), ((0.73, 0.95), (0.73, 0.99)), ((-0.01, -0.14), (-0.01, -0.1)), ((-0.5, 0.59), (-0.55, 0.59)), ((-0.950001, 0.59), (-0.950001, 0.69)), ((-0.54, -0.09), (-0.490001, -0.09)), ((0.589999, 0.26), (0.639999, 0.26)), ((0.74, -0.63), (0.74, -0.78)), ((0.54, -0.15), (0.54, -0.29)), ((0.139999, -0.88), (0.15, -0.88)), ((-0.5, 0.39), (-0.54, 0.39)), ((-0.79, 0.69), (-0.79, 0.59)), ((0.58, 0.1), (0.58, 0.15)), ((-0.400001, 0.89), (-0.450001, 0.89)), ((0.88, -0.39), (0.88, -0.29)), ((-0.21, -0.43), (-0.21, -0.39)), ((0.15, 0.36), (0.15, 0.35)), ((-0.900001, 0.0), (-0.900001, 0.01)), ((-0.940001, 0.11), (-0.940001, 0.06)), ((0.299999, 0.3), (0.29, 0.3)), ((-0.06, 0.89), (-0.160001, 0.89)), ((-0.450001, -0.05), (-0.5, -0.05)), ((-0.55, -0.74), (-0.6, -0.74)), ((0.0, -0.3), (0.0, -0.35)), ((-0.35, -0.05), (-0.35, -0.1)), ((0.049999, -0.2), (0.049999, -0.43)), ((0.15, -0.54), (0.049999, -0.54)), ((0.339999, 0.65), (0.339999, 0.74)), ((-0.990001, -0.39), (-0.990001, -0.48)), ((-0.84, -0.78), (-0.75, -0.78)), ((0.349999, -0.93), (0.349999, -0.94)), ((0.74, 0.2), (0.73, 0.2)), ((-0.54, -0.3), (-0.54, -0.38)), ((-0.690001, -0.79), (-0.700001, -0.79)), ((-0.450001, -0.2), (-0.450001, -0.15)), ((0.429999, -0.35), (0.38, -0.35)), ((0.54, 0.39), (0.54, 0.35)), ((0.73, 0.99), (0.389999, 0.99)), ((-0.360001, -0.05), (-0.400001, -0.05)), ((-0.5, 0.55), (-0.5, 0.59)), ((0.349999, 0.79), (0.2, 0.79)), ((0.74, -0.15), (0.73, -0.15)), ((0.679999, -0.79), (0.48, -0.79)), ((0.589999, 0.35), (0.589999, 0.26)), ((0.78, -0.88), (0.78, -0.79)), ((0.73, -0.63), (0.74, -0.63)), ((-0.85, -0.88), (-0.85, -0.64)), ((0.19, 0.64), (0.099999, 0.64)), ((-0.54, 0.39), (-0.54, 0.25)), ((-0.64, 0.8), (-0.55, 0.8)), ((-0.1, 0.2), (-0.1, 0.15)), ((0.839999, 0.31), (0.94, 0.31)), ((-0.6, -0.09), (-0.6, 0.06)), ((-0.21, -0.39), (-0.39, -0.39)), ((-0.85, 0.31), (-0.84, 0.31)), ((0.299999, 0.44), (0.299999, 0.3)), ((-0.110001, 0.75), (-0.110001, 0.8)), ((-0.5, 0.69), (-0.5, 0.74)), ((-0.55, -0.79), (-0.55, -0.74)), ((0.0, -0.35), (-0.150001, -0.35)), ((-0.35, -0.1), (-0.360001, -0.1)), ((0.389999, -0.83), (0.389999, -0.84)), ((0.049999, -0.54), (0.049999, -0.59)), ((0.53, 0.4), (0.58, 0.4)), ((-0.940001, -0.39), (-0.990001, -0.39)), ((-0.400001, -0.3), (-0.400001, -0.29)), ((-0.75, -0.78), (-0.75, -0.68)), ((-0.75, -0.53), (-0.75, -0.44)), ((-0.1, -0.89), (-0.3, -0.89)), ((-0.5, 0.16), (-0.5, 0.31)), ((0.78, 0.11), (0.78, 0.25)), ((-0.54, 0.1), (-0.64, 0.1)), ((0.83, -0.14), (0.99, -0.14)), ((0.94, 0.9), (0.94, 0.89)), ((-0.690001, -0.74), (-0.690001, -0.79)), ((-0.450001, -0.15), (-0.5, -0.15)), ((0.349999, -0.2), (0.349999, -0.24)), ((0.389999, -0.04), (0.44, -0.04)), ((-0.940001, 0.84), (-0.990001, 0.84)), ((0.389999, 0.99), (0.389999, 0.9)), ((-0.6, 0.55), (-0.5, 0.55)), ((-0.950001, 0.54), (-0.950001, 0.55)), ((0.349999, 0.8), (0.349999, 0.79)), ((0.74, -0.09), (0.74, -0.15)), ((0.48, -0.88), (0.49, -0.88)), ((0.04, -0.48), (0.04, -0.3)), ((0.44, 0.55), (0.44, 0.54)), ((0.79, -0.53), (0.79, -0.54)), ((-0.740001, -0.48), (-0.650001, -0.48)), ((0.78, 0.9), (0.78, 0.95)), ((-0.54, 0.25), (-0.59, 0.25)), ((0.94, 0.31), (0.94, 0.15)), ((-0.75, 0.94), (-0.8, 0.94)), ((-0.39, -0.39), (-0.39, -0.49)), ((-0.85, 0.06), (-0.85, 0.11)), ((0.04, 0.16), (0.04, 0.21)), ((0.38, 0.44), (0.299999, 0.44)), ((-0.160001, 0.94), (-0.25, 0.94)), ((-0.5, 0.74), (-0.55, 0.74)), ((-0.360001, -0.1), (-0.360001, -0.05)), ((0.389999, -0.84), (0.349999, -0.84)), ((0.099999, -0.43), (0.099999, -0.44)), ((0.099999, -0.53), (0.15, -0.53)), ((0.58, 0.4), (0.58, 0.45)), ((-0.400001, -0.29), (-0.360001, -0.29)), ((-0.990001, -0.15), (-0.990001, -0.38)), ((-0.450001, -0.48), (-0.400001, -0.48)), ((0.73, 0.26), (0.78, 0.26)), ((-0.490001, 0.84), (-0.490001, 0.7)), ((-0.54, 0.15), (-0.54, 0.1)), ((0.99, -0.63), (0.99, -0.15)), ((0.83, 0.45), (0.88, 0.45)), ((-0.700001, -0.88), (-0.6, -0.88)), ((-0.400001, -0.25), (-0.400001, -0.2)), ((0.389999, -0.48), (0.429999, -0.48)), ((-0.940001, 0.85), (-0.940001, 0.84)), ((0.63, 0.95), (0.73, 0.95)), ((-0.950001, 0.55), (-0.89, 0.55)), ((0.54, 0.3), (0.54, 0.2)), ((0.54, -0.29), (0.589999, -0.29)), ((0.0, -0.89), (0.0, -0.98)), ((0.099999, 0.59), (0.049999, 0.59)), ((0.79, 0.74), (0.74, 0.74)), ((0.589999, 0.1), (0.58, 0.1)), ((-0.75, 0.9), (-0.75, 0.94)), ((-0.360001, -0.43), (-0.21, -0.43)), ((-0.85, 0.11), (-0.79, 0.11)), ((0.19, 0.06), (0.19, 0.21)), ((-0.200001, 0.79), (-0.200001, 0.75)), ((-0.55, 0.74), (-0.55, 0.79)), ((-0.450001, -0.84), (-0.450001, -0.79)), ((-0.150001, -0.38), (0.0, -0.38)), ((-0.31, -0.05), (-0.35, -0.05)), ((0.049999, -0.43), (0.099999, -0.43)), ((0.24, -0.73), (0.24, -0.49)), ((0.29, 0.65), (0.339999, 0.65)), ((-0.360001, -0.35), (-0.360001, -0.3)), ((-0.75, -0.15), (-0.8, -0.15)), ((-0.85, -0.49), (-0.85, -0.34)), ((0.78, 0.26), (0.78, 0.31)), ((-0.06, 0.75), (0.0, 0.75)), ((-0.54, -0.38), (-0.440001, -0.38)), ((0.99, -0.05), (0.88, -0.05)), ((-0.940001, 0.75), (-0.89, 0.75)), ((-0.59, -0.78), (-0.59, -0.83)), ((0.429999, -0.48), (0.429999, -0.35)), ((0.54, 0.9), (0.54, 0.89)), ((-0.900001, 0.5), (-0.900001, 0.54)), ((-0.6, 0.74), (-0.64, 0.74)), ((0.78, 0.65), (0.78, 0.7)), ((0.679999, -0.83), (0.679999, -0.79)), ((0.58, 0.3), (0.54, 0.3)), ((-0.06, -0.53), (-0.06, -0.48)), ((0.639999, 0.6), (0.639999, 0.55)), ((0.49, -0.3), (0.49, -0.34)), ((0.049999, -0.89), (0.0, -0.89)), ((0.099999, 0.64), (0.099999, 0.59)), ((0.74, 0.74), (0.74, 0.69)), ((0.0, 0.2), (-0.1, 0.2)), ((-0.6, 0.06), (-0.5, 0.06)), ((0.94, -0.34), (0.94, -0.44)), ((0.79, -0.24), (0.79, -0.25)), ((-0.440001, -0.49), (-0.440001, -0.58)), ((-0.79, 0.11), (-0.79, 0.1)), ((0.04, -0.53), (0.089999, -0.53)), ((0.349999, 0.4), (0.349999, 0.36)), ((-0.200001, 0.75), (-0.110001, 0.75)), ((-0.400001, 0.69), (-0.5, 0.69)), ((-0.440001, -0.84), (-0.450001, -0.84)), ((-0.39, -0.09), (-0.39, -0.14)), ((0.049999, -0.44), (0.049999, -0.49)), ((-0.990001, -0.49), (-0.990001, -0.73)), ((-0.360001, -0.15), (-0.400001, -0.15)), ((-0.8, -0.49), (-0.85, -0.49)), ((-0.55, -0.88), (-0.54, -0.88)), ((-0.5, 0.31), (-0.450001, 0.31)), ((0.78, 0.31), (0.79, 0.31)), ((-0.490001, 0.2), (-0.490001, 0.15)), ((0.99, -0.14), (0.99, -0.05)), ((-0.89, 0.75), (-0.89, 0.7)), ((0.429999, -0.2), (0.349999, -0.2)), ((0.74, 0.94), (0.63, 0.94)), ((-0.89, 0.49), (-0.990001, 0.49)), ((0.69, 0.65), (0.78, 0.65)), ((0.339999, -0.59), (0.299999, -0.59)), ((0.58, 0.25), (0.58, 0.3)), ((-0.06, -0.48), (0.04, -0.48)), ((0.38, 0.6), (0.639999, 0.6)), ((0.589999, -0.3), (0.49, -0.3)), ((0.139999, -0.98), (0.139999, -0.88)), ((0.589999, 0.9), (0.78, 0.9)), ((-0.54, 0.21), (-0.54, 0.2)), ((-0.160001, 0.2), (-0.160001, 0.25)), ((-0.650001, -0.15), (-0.650001, -0.09)), ((0.88, -0.29), (0.929999, -0.29)), ((-0.110001, -0.44), (-0.360001, -0.44)), ((0.15, 0.35), (0.049999, 0.35)), ((-0.940001, 0.06), (-0.85, 0.06)), ((0.089999, -0.53), (0.089999, -0.48)), ((0.339999, 0.4), (0.349999, 0.4)), ((-0.160001, 0.89), (-0.160001, 0.94)), ((-0.690001, 0.79), (-0.690001, 0.74)), ((-0.440001, -0.79), (-0.440001, -0.84)), ((0.25, -0.44), (0.25, -0.78)), ((-0.940001, -0.49), (-0.990001, -0.49)), ((-0.400001, -0.15), (-0.400001, -0.1)), ((-0.84, -0.34), (-0.84, -0.48)), ((-0.55, -0.93), (-0.55, -0.88)), ((0.099999, -0.2), (0.049999, -0.2)), ((-0.650001, 0.06), (-0.650001, 0.11)), ((0.63, 0.06), (0.63, 0.16)), ((-0.39, 0.2), (-0.490001, 0.2)), ((0.929999, -0.63), (0.99, -0.63)), ((-0.89, 0.7), (-0.85, 0.7)), ((-0.440001, 0.84), (-0.490001, 0.84)), ((0.63, 0.94), (0.63, 0.95)), ((-0.990001, 0.69), (-0.990001, 0.5)), ((0.69, 0.8), (0.69, 0.65)), ((0.79, -0.79), (0.79, -0.94)), ((0.389999, -0.38), (0.389999, -0.39)), ((0.54, 0.2), (0.49, 0.2)), ((0.58, -0.88), (0.78, -0.88)), ((-0.64, 0.6), (-0.6, 0.6)), ((0.679999, 0.55), (0.679999, 0.6)), ((0.78, -0.43), (0.78, -0.34)), ((0.589999, -0.29), (0.589999, -0.3)), ((0.2, 0.65), (0.2, 0.55)), ((-0.54, 0.2), (-0.59, 0.2)), ((-0.160001, 0.25), (-0.21, 0.25)), ((-0.5, 0.11), (-0.450001, 0.11)), ((0.639999, -0.25), (0.639999, -0.3)), ((-0.360001, -0.44), (-0.360001, -0.43)), ((0.25, 0.4), (0.25, 0.36)), ((0.53, 0.36), (0.53, 0.4)), ((-0.21, 0.9), (-0.200001, 0.9)), ((-0.440001, 0.55), (-0.400001, 0.55)), ((-0.450001, -0.79), (-0.55, -0.79)), ((-0.150001, -0.35), (-0.150001, -0.38)), ((0.25, -0.78), (0.349999, -0.78)), ((0.19, -0.73), (0.24, -0.73)), ((-0.8, -0.15), (-0.8, -0.1)), ((-0.400001, -0.1), (-0.450001, -0.1)), ((-0.740001, -0.54), (-0.8, -0.54)), ((0.099999, -0.19), (0.099999, -0.2)), ((0.78, 0.25), (0.74, 0.25)), ((0.48, 0.84), (0.429999, 0.84)), ((-0.39, 0.21), (-0.39, 0.2)), ((0.839999, -0.63), (0.839999, -0.68)), ((-0.59, -0.83), (-0.490001, -0.83)), ((-0.440001, -0.14), (-0.440001, -0.19)), ((-0.55, -0.1), (-0.55, 0.05)), ((-0.440001, 0.85), (-0.440001, 0.84)), ((0.389999, 0.9), (0.54, 0.9)), ((-0.400001, -0.04), (-0.360001, -0.04)), ((-0.990001, 0.5), (-0.900001, 0.5)), ((0.78, 0.7), (0.83, 0.7)), ((0.639999, 0.26), (0.639999, 0.25)), ((0.58, -0.93), (0.58, -0.88)), ((-0.6, 0.6), (-0.6, 0.65)), ((0.48, 0.59), (0.38, 0.59)), ((0.49, -0.34), (0.679999, -0.34)), ((-0.59, 0.25), (-0.59, 0.21)), ((-0.21, 0.25), (-0.21, 0.31)), ((-0.5, 0.06), (-0.5, 0.11)), ((-0.6, -0.74), (-0.6, -0.69)), ((0.79, -0.25), (0.639999, -0.25)), ((-0.39, -0.49), (-0.440001, -0.49)), ((0.25, 0.36), (0.29, 0.36)), ((-0.84, 0.05), (-0.940001, 0.05)), ((0.139999, -0.48), (0.139999, -0.39)), ((0.25, 0.26), (0.339999, 0.26)), ((-0.200001, 0.9), (-0.200001, 0.84)), ((-0.400001, 0.55), (-0.400001, 0.69)), ((-0.01, -0.39), (-0.160001, -0.39)), ((-0.440001, -0.09), (-0.39, -0.09)), ((-0.990001, -0.48), (-0.940001, -0.48)), ((-0.26, -0.29), (-0.26, -0.24)), ((-0.79, -0.48), (-0.79, -0.53)), ((-0.59, -0.84), (-0.59, -0.93)), ((0.049999, -0.19), (0.099999, -0.19)), ((0.54, 0.11), (0.54, 0.06)), ((-0.490001, 0.7), (-0.400001, 0.7)), ((0.48, 0.79), (0.48, 0.84)), ((-0.490001, 0.15), (-0.54, 0.15)), ((0.839999, -0.68), (0.929999, -0.68)), ((0.929999, 0.06), (0.94, 0.06)), ((-0.85, 0.75), (-0.79, 0.75)), ((-0.400001, -0.2), (-0.450001, -0.2)), ((0.38, 0.9), (0.38, 0.99)), ((-0.360001, -0.04), (-0.360001, 0.01)), ((-0.85, 0.4), (-0.75, 0.4)), ((-0.89, 0.55), (-0.89, 0.49)), ((0.88, 0.75), (0.88, 0.89)), ((0.78, -0.94), (0.78, -0.89)), ((0.73, -0.15), (0.73, -0.1)), ((0.339999, -0.69), (0.339999, -0.59)), ((0.49, 0.16), (0.58, 0.16)), ((0.49, -0.93), (0.58, -0.93)), ((-0.360001, -0.53), (-0.360001, -0.48)), ((0.69, 0.6), (0.69, 0.45)), ((0.69, -0.3), (0.69, -0.43)), ((-0.110001, 0.2), (-0.160001, 0.2)), ((-0.55, -0.15), (-0.650001, -0.15)), ((0.63, -0.3), (0.63, -0.25)), ((0.24, 0.36), (0.24, 0.4)), ((-0.940001, 0.05), (-0.940001, -0.04)), ((0.139999, -0.39), (0.089999, -0.39)), ((0.25, 0.31), (0.25, 0.26)), ((-0.200001, 0.84), (-0.25, 0.84)), ((-0.55, 0.79), (-0.690001, 0.79)), ((-0.21, -0.74), (-0.39, -0.74)), ((0.349999, -0.83), (0.389999, -0.83)), ((0.089999, -0.63), (0.089999, -0.58)), ((-0.360001, -0.3), (-0.400001, -0.3)), ((-0.89, -0.1), (-0.89, -0.15)), ((-0.84, -0.48), (-0.79, -0.48)), ((-0.650001, 0.11), (-0.55, 0.11)), ((0.54, 0.06), (0.63, 0.06)), ((-0.400001, 0.7), (-0.400001, 0.75)), ((0.49, 0.79), (0.48, 0.79)), ((0.929999, -0.68), (0.929999, -0.63)), ((0.929999, -0.04), (0.929999, 0.06)), ((-0.490001, -0.88), (-0.400001, -0.88)), ((-0.1, -0.44), (-0.1, -0.49)), ((-0.59, 0.05), (-0.59, -0.1)), ((0.929999, 0.85), (0.99, 0.85)), ((-0.490001, 0.95), (-0.490001, 0.85)), ((-0.940001, 0.25), (-0.950001, 0.25)), ((-0.85, 0.36), (-0.85, 0.4)), ((0.589999, 0.7), (0.679999, 0.7)), ((0.79, -0.94), (0.78, -0.94)), ((0.349999, -0.38), (0.389999, -0.38)), ((0.49, 0.2), (0.49, 0.16)), ((0.58, -0.73), (0.58, -0.64)), ((-0.360001, -0.48), (-0.200001, -0.48)), ((-0.59, 0.65), (-0.59, 0.59)), ((0.679999, 0.6), (0.69, 0.6)), ((0.69, -0.43), (0.78, -0.43)), ((0.2, 0.55), (0.24, 0.55)), ((-0.940001, -0.1), (-0.950001, -0.1)), ((-0.200001, 0.31), (-0.200001, 0.26)), ((-0.450001, -0.34), (-0.450001, -0.25)), ((0.94, -0.44), (0.929999, -0.44)), ((0.089999, -0.39), (0.089999, -0.24)), ((0.24, 0.31), (0.25, 0.31)), ((-0.650001, 0.8), (-0.650001, 0.85)), ((-0.21, -0.88), (-0.21, -0.74)), ((0.099999, -0.44), (0.049999, -0.44)), ((-0.31, -0.3), (-0.31, -0.29)), ((-0.8, -0.1), (-0.89, -0.1)), ((-0.8, -0.54), (-0.8, -0.49)), ((0.44, 0.16), (0.44, 0.11)), ((-0.400001, 0.75), (-0.39, 0.75)), ((-0.490001, -0.3), (-0.54, -0.3)), ((0.83, -0.63), (0.839999, -0.63)), ((-0.490001, -0.83), (-0.490001, -0.88)), ((-0.55, 0.05), (-0.59, 0.05)), ((0.299999, -0.29), (0.299999, -0.3)), ((0.99, 0.85), (0.99, 0.99)), ((-0.35, 0.01), (-0.35, -0.04)), ((-0.950001, 0.25), (-0.950001, 0.3)), ((-0.940001, 0.36), (-0.85, 0.36)), ((0.889999, 0.2), (0.79, 0.2)), ((0.589999, 0.75), (0.589999, 0.7)), ((0.48, -0.79), (0.48, -0.69)), ((0.639999, 0.25), (0.58, 0.25)), ((0.38, 0.59), (0.38, 0.6)), ((-0.200001, 0.59), (-0.25, 0.59)), ((0.0, -0.98), (0.139999, -0.98)), ((0.79, 0.79), (0.79, 0.74)), ((-0.940001, -0.05), (-0.940001, -0.1)), ((-0.1, 0.15), (-0.110001, 0.15)), ((-0.450001, -0.25), (-0.55, -0.25)), ((-0.360001, 0.25), (-0.450001, 0.25)), ((-0.6, -0.69), (-0.740001, -0.69)), ((0.929999, -0.44), (0.929999, -0.39)), ((0.089999, -0.48), (0.139999, -0.48)), ((-0.25, 0.74), (-0.31, 0.74)), ((-0.450001, 0.64), (-0.5, 0.64)), ((-0.01, -0.44), (-0.01, -0.39)), ((-0.940001, -0.48), (-0.940001, -0.49)), ((-0.31, -0.29), (-0.26, -0.29)), ((-0.59, -0.93), (-0.55, -0.93)), ((0.099999, -0.05), (0.099999, -0.1)), ((-0.55, 0.16), (-0.5, 0.16)), ((0.589999, 0.84), (0.49, 0.84)), ((-0.490001, -0.29), (-0.490001, -0.3)), ((0.88, -0.05), (0.88, -0.04)), ((-0.85, 0.7), (-0.85, 0.75)), ((-0.64, -0.1), (-0.64, -0.14)), ((0.29, 0.9), (0.38, 0.9)), ((-0.35, -0.04), (-0.3, -0.04)), ((-0.950001, 0.3), (-0.990001, 0.3)), ((-0.55, 0.59), (-0.55, 0.69)), ((0.79, 0.2), (0.79, 0.01)), ((0.88, 0.89), (0.83, 0.89)), ((0.73, -0.1), (0.639999, -0.1)), ((0.48, -0.69), (0.339999, -0.69)), ((0.389999, -0.3), (0.349999, -0.3)), ((0.63, 0.3), (0.63, 0.31)), ((-0.200001, -0.53), (-0.06, -0.53)), ((-0.200001, 0.6), (-0.200001, 0.59)), ((0.339999, 0.64), (0.299999, 0.64)), ((0.69, -0.68), (0.73, -0.68)), ((-0.150001, -0.63), (-0.150001, -0.73)), ((0.24, 0.7), (0.299999, 0.7)), ((-0.900001, -0.05), (-0.940001, -0.05)), ((-0.110001, 0.15), (-0.110001, 0.2)), ((-0.360001, -0.63), (-0.35, -0.63)), ((-0.55, -0.25), (-0.55, -0.15)), ((-0.360001, 0.16), (-0.360001, 0.25)), ((-0.64, -0.83), (-0.64, -0.84)), ((0.929999, -0.39), (0.88, -0.39)), ((0.29, 0.3), (0.29, 0.35)), ((0.349999, 0.36), (0.53, 0.36)), ((-0.5, 0.64), (-0.5, 0.65)), ((0.349999, -0.78), (0.349999, -0.83)), ((0.24, -0.89), (0.24, -0.88)), ((-0.26, -0.34), (-0.26, -0.3)), ((-0.400001, -0.98), (-0.400001, -0.89)), ((0.19, -0.05), (0.099999, -0.05)), ((-0.55, 0.11), (-0.55, 0.16)), ((-0.55, -0.44), (-0.6, -0.44)), ((-0.84, 0.69), (-0.89, 0.69)), ((-0.05, -0.44), (-0.1, -0.44)), ((-0.440001, -0.19), (-0.39, -0.19)), ((-0.490001, 0.85), (-0.440001, 0.85)), ((0.74, 0.99), (0.74, 0.94)), ((-0.3, -0.04), (-0.3, -0.09)), ((0.79, 0.01), (0.88, 0.01)), ((0.58, 0.65), (0.58, 0.75)), ((0.44, -0.94), (0.44, -0.98)), ((0.349999, -0.3), (0.349999, -0.38)), ((-0.6, 0.65), (-0.59, 0.65)), ((0.69, 0.44), (0.69, 0.36)), ((0.839999, -0.25), (0.839999, -0.43)), ((0.63, 0.4), (0.639999, 0.4)), ((-0.150001, -0.73), (-0.05, -0.73)), ((0.24, 0.55), (0.24, 0.7)), ((-0.59, 0.21), (-0.54, 0.21)), ((-0.21, 0.31), (-0.200001, 0.31)), ((-0.35, -0.63), (-0.35, -0.68)), ((-0.5, -0.34), (-0.450001, -0.34)), ((-0.740001, -0.83), (-0.64, -0.83)), ((-0.3, -0.54), (-0.3, -0.63)), ((0.089999, 0.26), (0.089999, 0.31)), ((-0.400001, 0.11), (-0.35, 0.11)), ((-0.700001, 0.8), (-0.650001, 0.8)), ((0.0, -0.38), (0.0, -0.44)), ((-0.360001, 0.05), (-0.360001, 0.1)), ((0.24, -0.49), (0.099999, -0.49)), ((0.049999, -0.1), (0.049999, -0.19)), ((-0.440001, 0.54), (-0.440001, 0.45)), ((-0.55, -0.63), (-0.55, -0.44)), ((-0.39, -0.19), (-0.39, -0.25)), ((0.299999, -0.3), (0.25, -0.3)), ((-0.21, 0.8), (-0.160001, 0.8)), ((0.54, 0.89), (0.29, 0.89)), ((-0.700001, 0.85), (-0.700001, 0.9)), ((-0.360001, 0.01), (-0.35, 0.01)), ((-0.990001, 0.16), (-0.8, 0.16)), ((0.389999, 0.65), (0.58, 0.65)), ((0.589999, -0.94), (0.44, -0.94)), ((0.53, -0.2), (0.48, -0.2)), ((-0.650001, 0.54), (-0.650001, 0.64)), ((0.79, -0.1), (0.79, -0.19)), ((0.74, 0.44), (0.69, 0.44)), ((-0.25, 0.69), (-0.25, 0.6)), ((0.889999, -0.25), (0.839999, -0.25)), ((0.63, 0.36), (0.63, 0.4)), ((-0.160001, -0.68), (-0.160001, -0.63)), ((0.839999, 0.79), (0.79, 0.79)), ((-0.990001, -0.14), (-0.900001, -0.14)), ((-0.700001, 0.39), (-0.700001, 0.4)), ((-0.35, -0.68), (-0.3, -0.68)), ((-0.450001, 0.11), (-0.450001, 0.16)), ((-0.740001, -0.69), (-0.740001, -0.83)), ((0.639999, -0.3), (0.63, -0.3)), ((0.24, 0.4), (0.25, 0.4)), ((0.2, 0.35), (0.2, 0.3)), ((-0.25, 0.84), (-0.25, 0.74)), ((-0.35, 0.11), (-0.35, 0.06)), ((-0.440001, 0.65), (-0.440001, 0.55)), ((-0.85, -0.25), (-0.85, -0.24)), ((0.0, -0.44), (-0.01, -0.44)), ((-0.39, -0.14), (-0.31, -0.14)), ((0.0, -0.63), (0.089999, -0.63)), ((0.639999, -0.53), (0.639999, -0.64)), ((0.099999, -0.49), (0.099999, -0.53)), ((0.679999, 0.54), (0.63, 0.54)), ((-0.650001, -0.59), (-0.650001, -0.58)), ((-0.700001, -0.09), (-0.700001, -0.04)), ((0.73, 0.2), (0.73, 0.26)), ((-0.440001, 0.45), (-0.31, 0.45)), ((0.49, 0.84), (0.49, 0.79)), ((-0.690001, -0.63), (-0.55, -0.63)), ((0.88, -0.04), (0.929999, -0.04)), ((-0.200001, -0.43), (-0.05, -0.43)), ((-0.39, -0.25), (-0.400001, -0.25)), ((-0.21, 0.7), (-0.21, 0.8)), ((0.29, 0.89), (0.29, 0.9)), ((0.389999, 0.75), (0.389999, 0.65)), ((0.73, -0.98), (0.73, -0.94)), ((0.48, -0.2), (0.48, -0.19)), ((0.44, -0.73), (0.44, -0.79)), ((0.29, -0.35), (0.29, -0.34)), ((0.63, 0.31), (0.73, 0.31)), ((0.53, -0.73), (0.58, -0.73)), ((-0.200001, -0.48), (-0.200001, -0.53)), ((-0.650001, 0.64), (-0.740001, 0.64)), ((0.299999, 0.64), (0.299999, 0.5)), ((0.889999, -0.24), (0.889999, -0.25)), ((0.79, 0.94), (0.79, 0.85)), ((-0.700001, 0.4), (-0.650001, 0.4)), ((-0.64, -0.84), (-0.740001, -0.84)), ((-0.84, 0.1), (-0.84, 0.05)), ((0.29, 0.35), (0.2, 0.35)), ((-0.110001, 0.8), (-0.06, 0.8)), ((-0.35, 0.06), (-0.3, 0.06)), ((-0.690001, 0.74), (-0.700001, 0.74)), ((-0.31, -0.14), (-0.31, -0.05)), ((0.639999, -0.64), (0.63, -0.64)), ((0.0, -0.49), (0.0, -0.63)), ((0.38, -0.89), (0.24, -0.89)), ((0.63, 0.54), (0.63, 0.59)), ((-0.400001, -0.89), (-0.5, -0.89)), ((0.44, 0.11), (0.54, 0.11)), ((-0.39, 0.75), (-0.39, 0.54)), ((-0.84, 0.74), (-0.84, 0.69)), ((-0.05, -0.43), (-0.05, -0.44)), ((0.99, 0.99), (0.74, 0.99)), ((0.69, 0.1), (0.69, 0.0)), ((0.99, 0.11), (0.99, 0.59)), ((0.58, 0.75), (0.589999, 0.75)), ((0.78, -0.89), (0.589999, -0.89)), ((-0.450001, 0.05), (-0.450001, 0.1)), ((0.429999, -0.73), (0.44, -0.73)), ((0.29, -0.34), (0.339999, -0.34)), ((0.53, -0.74), (0.53, -0.73)), ((-0.740001, 0.64), (-0.740001, 0.54)), ((0.94, -0.09), (0.94, -0.1)), ((0.69, 0.45), (0.74, 0.45)), ((0.839999, -0.43), (0.889999, -0.43)), ((0.58, 0.31), (0.58, 0.36)), ((0.25, 0.54), (0.19, 0.54)), ((0.79, 0.85), (0.839999, 0.85)), ((-0.650001, 0.25), (-0.650001, 0.39)), ((-0.3, -0.69), (-0.400001, -0.69)), ((-0.3, -0.63), (-0.21, -0.63)), ((-0.79, -0.14), (-0.740001, -0.14)), ((-0.950001, 0.45), (-0.8, 0.45)), ((0.089999, -0.15), (0.089999, -0.14)), ((0.24, 0.25), (0.15, 0.25)), ((0.099999, 0.3), (0.099999, 0.16)), ((-0.700001, 0.74), (-0.700001, 0.8)), ((-0.39, -0.74), (-0.39, -0.79)), ((-0.8, -0.24), (-0.8, -0.2)), ((-0.31, 0.05), (-0.360001, 0.05)), ((0.049999, -0.49), (0.0, -0.49)), ((-0.360001, -0.29), (-0.360001, -0.15)), ((-0.59, -0.48), (-0.59, -0.59)), ((-0.490001, -0.94), (-0.490001, -0.98)), ((0.83, 0.8), (0.83, 0.84)), ((-0.64, -0.54), (-0.690001, -0.54)), ((-0.59, -0.1), (-0.64, -0.1)), ((-0.26, 0.55), (-0.26, 0.7)), ((-0.700001, 0.9), (-0.6, 0.9)), ((-0.990001, 0.3), (-0.990001, 0.16)), ((0.99, 0.59), (0.929999, 0.59)), ((0.63, -0.94), (0.63, -0.93)), ((0.53, -0.19), (0.53, -0.14)), ((0.339999, -0.34), (0.339999, -0.29)), ((0.73, 0.35), (0.679999, 0.35)), ((0.639999, -0.74), (0.53, -0.74)), ((-0.05, -0.49), (-0.05, -0.54)), ((-0.64, 0.54), (-0.650001, 0.54)), ((0.94, -0.1), (0.79, -0.1)), ((0.48, 0.5), (0.48, 0.59)), ((-0.25, 0.6), (-0.200001, 0.6)), ((0.25, 0.69), (0.25, 0.54)), ((0.839999, 0.85), (0.839999, 0.79)), ((-0.900001, -0.14), (-0.900001, -0.05)), ((-0.450001, 0.16), (-0.360001, 0.16)), ((-0.740001, -0.14), (-0.740001, -0.29)), ((-0.950001, 0.44), (-0.950001, 0.45)), ((0.24, 0.01), (0.24, 0.25)), ((-0.5, 0.65), (-0.440001, 0.65)), ((-0.85, -0.24), (-0.8, -0.24)), ((0.089999, -0.09), (0.089999, -0.04)), ((0.2, -0.78), (0.2, -0.83)), ((0.63, -0.59), (0.58, -0.59)), ((0.49, 0.59), (0.49, 0.49)), ((-0.26, -0.3), (-0.31, -0.3)), ((-0.59, -0.59), (-0.650001, -0.59)), ((-0.5, -0.84), (-0.59, -0.84)), ((-0.700001, -0.04), (-0.650001, -0.04)), ((0.78, 0.8), (0.83, 0.8)), ((-0.110001, 0.99), (-0.35, 0.99)), ((-0.79, 0.75), (-0.79, 0.74)), ((-0.06, -0.3), (-0.06, -0.25)), ((-0.35, 0.55), (-0.26, 0.55)), ((-0.900001, 0.54), (-0.950001, 0.54)), ((0.88, 0.01), (0.88, 0.11)), ((0.83, 0.75), (0.88, 0.75)), ((0.73, -0.94), (0.63, -0.94)), ((-0.440001, 0.15), (-0.440001, 0.05)), ((0.389999, -0.78), (0.429999, -0.78)), ((0.339999, -0.35), (0.29, -0.35)), ((0.73, 0.31), (0.73, 0.35)), ((-0.05, -0.54), (-0.21, -0.54)), ((-0.8, 0.54), (-0.8, 0.55)), ((0.839999, -0.04), (0.839999, -0.09)), ((0.299999, 0.5), (0.48, 0.5)), ((0.679999, -0.29), (0.83, -0.29)), ((-0.450001, 0.39), (-0.450001, 0.4)), ((0.049999, -0.83), (0.049999, -0.89)), ((0.94, 0.94), (0.79, 0.94)), ((-0.84, 0.99), (-0.84, 0.94)), ((0.089999, 0.31), (0.19, 0.31)), ((-0.79, 0.1), (-0.84, 0.1)), ((0.099999, 0.01), (0.24, 0.01)), ((-0.21, 0.01), (-0.21, 0.2)), ((0.04, -0.09), (0.089999, -0.09)), ((0.53, 0.5), (0.58, 0.5)), ((-0.55, 0.4), (-0.490001, 0.4)), ((-0.5, -0.89), (-0.5, -0.84)), ((0.099999, -0.1), (0.049999, -0.1)), ((0.78, 0.84), (0.78, 0.89)), ((-0.35, 0.99), (-0.35, 0.9)), ((-0.950001, -0.58), (-0.940001, -0.58)), ((0.88, 0.59), (0.83, 0.59)), ((-0.79, 0.74), (-0.84, 0.74)), ((-0.06, -0.25), (-0.1, -0.25)), ((-0.35, 0.69), (-0.35, 0.55)), ((-0.6, 0.95), (-0.490001, 0.95)), ((-0.21, -0.05), (-0.21, -0.04)), ((0.69, 0.0), (0.63, 0.0)), ((0.83, 0.7), (0.83, 0.75)), ((0.589999, -0.89), (0.589999, -0.94)), ((-0.440001, 0.05), (-0.450001, 0.05)), ((0.389999, -0.29), (0.389999, -0.3)), ((-0.59, 0.59), (-0.64, 0.59)), ((0.74, 0.45), (0.74, 0.44)), ((-0.200001, 0.69), (-0.25, 0.69)), ((0.679999, -0.34), (0.679999, -0.29)), ((0.58, 0.36), (0.63, 0.36)), ((-0.160001, -0.63), (-0.150001, -0.63)), ((0.299999, 0.7), (0.299999, 0.69)), ((-0.89, 0.15), (-0.89, 0.1)), ((-0.3, -0.68), (-0.3, -0.69)), ((0.19, 0.31), (0.19, 0.36)), ((-0.900001, 0.39), (-0.900001, 0.44)), ((0.089999, -0.14), (0.139999, -0.14)), ((0.339999, 0.26), (0.339999, 0.4)), ((-0.21, 0.2), (-0.26, 0.2)), ((-0.39, -0.79), (-0.440001, -0.79)), ((0.53, 0.45), (0.53, 0.5)), ((-0.55, 0.26), (-0.55, 0.4)), ((-0.85, -0.34), (-0.84, -0.34)), ((-0.440001, -0.94), (-0.490001, -0.94)), ((0.2, -0.05), (0.2, -0.14)), ((-0.650001, 0.05), (-0.690001, 0.05)), ((0.74, 0.75), (0.78, 0.75)), ((-0.940001, -0.58), (-0.940001, -0.68)), ((-0.690001, -0.54), (-0.690001, -0.63)), ((0.88, 0.54), (0.88, 0.59)), ((0.94, 0.69), (0.88, 0.69)), ((-0.1, -0.25), (-0.1, -0.3)), ((0.25, -0.29), (0.299999, -0.29)), ((-0.26, 0.7), (-0.21, 0.7)), ((-0.6, 0.9), (-0.6, 0.95)), ((-0.75, 0.4), (-0.75, 0.45)), ((0.929999, -0.93), (0.929999, -0.88)), ((0.48, -0.19), (0.53, -0.19)), ((-0.35, 0.25), (-0.35, 0.15)), ((0.24, -0.43), (0.339999, -0.43)), ((0.73, -0.79), (0.73, -0.69)), ((-0.21, -0.49), (-0.35, -0.49)), ((0.24, 0.89), (0.139999, 0.89)), ((-0.64, 0.59), (-0.64, 0.54)), ((0.78, -0.34), (0.79, -0.34)), ((0.53, 0.21), (0.53, 0.3)), ((-0.700001, 0.15), (-0.89, 0.15)), ((-0.59, 0.2), (-0.59, 0.15)), ((-0.5, 0.94), (-0.59, 0.94)), ((0.589999, 0.64), (0.38, 0.64)), ((-0.54, -0.69), (-0.55, -0.69)), ((-0.84, -0.79), (-0.84, -0.89)), ((0.19, 0.36), (0.24, 0.36)), ((-0.89, 0.39), (-0.900001, 0.39)), ((0.139999, -0.24), (0.139999, -0.15)), ((-0.3, 0.06), (-0.3, 0.01)), ((-0.89, -0.24), (-0.89, -0.29)), ((-0.01, -0.29), (0.04, -0.29)), ((0.63, -0.64), (0.63, -0.59)), ((0.63, 0.59), (0.49, 0.59)), ((0.2, -0.14), (0.25, -0.14)), ((-0.650001, -0.04), (-0.650001, 0.05)), ((-0.39, 0.54), (-0.440001, 0.54)), ((0.589999, 0.89), (0.589999, 0.84)), ((-0.3, 0.9), (-0.3, 0.79)), ((0.929999, 0.54), (0.88, 0.54)), ((0.88, 0.69), (0.88, 0.7)), ((-0.05, -0.3), (-0.06, -0.3)), ((0.25, -0.25), (0.25, -0.29)), ((0.63, 0.01), (0.679999, 0.01)), ((0.63, -0.14), (0.63, -0.09)), ((0.429999, -0.78), (0.429999, -0.73)), ((0.339999, -0.43), (0.339999, -0.35)), ((0.78, -0.79), (0.73, -0.79)), ((-0.740001, 0.54), (-0.8, 0.54)), ((0.79, -0.34), (0.79, -0.44)), ((-0.450001, 0.4), (-0.26, 0.4)), ((0.49, -0.1), (0.49, -0.15)), ((-0.900001, 0.1), (-0.900001, 0.15)), ((-0.650001, 0.39), (-0.700001, 0.39)), ((-0.59, 0.94), (-0.59, 0.9)), ((0.589999, 0.69), (0.589999, 0.64)), ((-0.84, 0.94), (-0.85, 0.94)), ((-0.3, 0.44), (-0.59, 0.44)), ((-0.75, -0.79), (-0.84, -0.79)), ((-0.89, 0.44), (-0.89, 0.39)), ((0.139999, -0.09), (0.15, -0.09)), ((0.2, 0.3), (0.099999, 0.3)), ((-0.35, -0.93), (-0.31, -0.93)), ((-0.940001, -0.24), (-0.89, -0.24)), ((0.38, -0.44), (0.25, -0.44)), ((0.24, -0.88), (0.339999, -0.88)), ((0.139999, 0.44), (0.139999, 0.49)), ((-0.64, 0.49), (-0.64, 0.26)), ((0.299999, 0.0), (0.299999, -0.05)), ((-0.21, 0.64), (-0.21, 0.65)), ((0.78, 0.89), (0.589999, 0.89)), ((-0.89, -0.68), (-0.89, -0.84)), ((-0.700001, -0.58), (-0.700001, -0.53)), ((0.88, 0.7), (0.929999, 0.7)), ((-0.64, -0.78), (-0.59, -0.78)), ((-0.200001, -0.3), (-0.200001, -0.43)), ((-0.85, 0.6), (-0.85, 0.65)), ((-0.3, 0.59), (-0.31, 0.59)), ((-0.21, -0.04), (-0.160001, -0.04)), ((-0.650001, 0.45), (-0.650001, 0.5)), ((0.63, 0.0), (0.63, 0.01)), ((0.99, 0.6), (0.99, 0.64)), ((-0.950001, 0.89), (-0.950001, 0.9)), ((0.339999, -0.29), (0.389999, -0.29)), ((0.639999, -0.69), (0.639999, -0.74)), ((0.79, -0.04), (0.79, -0.09)), ((0.79, -0.44), (0.69, -0.44)), ((0.299999, 0.69), (0.25, 0.69)), ((-0.75, 0.11), (-0.700001, 0.11)), ((0.679999, 0.69), (0.589999, 0.69)), ((-0.3, 0.49), (-0.3, 0.44)), ((-0.75, -0.94), (-0.75, -0.79)), ((-0.25, -0.54), (-0.3, -0.54)), ((-0.900001, 0.44), (-0.950001, 0.44)), ((0.139999, -0.14), (0.139999, -0.09)), ((-0.1, 0.79), (-0.1, 0.69)), ((-0.31, -0.93), (-0.31, -0.88)), ((-0.84, -0.29), (-0.84, -0.3)), ((-0.360001, 0.1), (-0.39, 0.1)), ((0.15, -0.78), (0.2, -0.78)), ((0.339999, -0.88), (0.339999, -0.79)), ((0.139999, 0.49), (0.089999, 0.49)), ((0.839999, -0.48), (0.839999, -0.58)), ((-0.21, 0.65), (-0.160001, 0.65)), ((0.78, 0.75), (0.78, 0.8)), ((-0.89, -0.84), (-0.990001, -0.84)), ((-0.700001, -0.53), (-0.64, -0.53)), ((-0.64, -0.73), (-0.64, -0.78)), ((-0.01, -0.2), (-0.05, -0.2)), ((0.389999, -0.24), (0.389999, -0.25)), ((-0.3, 0.7), (-0.3, 0.59)), ((-0.160001, -0.09), (-0.160001, -0.05)), ((-0.75, 0.45), (-0.650001, 0.45)), ((0.839999, -0.93), (0.929999, -0.93)), ((0.88, 0.11), (0.99, 0.11)), ((-0.950001, 0.9), (-0.900001, 0.9)), ((0.299999, -0.59), (0.299999, -0.73)), ((-0.21, -0.54), (-0.21, -0.49)), ((0.839999, -0.09), (0.94, -0.09)), ((-0.26, 0.45), (-0.160001, 0.45)), ((0.339999, -0.15), (0.339999, -0.14)), ((0.53, 0.3), (0.48, 0.3)), ((-0.05, -0.83), (0.049999, -0.83)), ((-0.990001, 0.15), (-0.990001, -0.14)), ((-0.54, 0.9), (-0.54, 0.89)), ((-0.54, -0.64), (-0.54, -0.69)), ((-0.200001, 0.49), (-0.3, 0.49)), ((-0.84, -0.89), (-0.89, -0.89)), ((-0.01, -0.88), (0.04, -0.88)), ((-0.25, -0.53), (-0.25, -0.54)), ((0.139999, 0.89), (0.139999, 0.94)), ((-0.79, -0.04), (-0.79, -0.14)), ((0.089999, -0.24), (0.139999, -0.24)), ((-0.1, 0.69), (-0.110001, 0.69)), ((-0.8, -0.2), (-0.940001, -0.2)), ((0.04, -0.29), (0.04, -0.09)), ((-0.39, 0.1), (-0.39, 0.0)), ((0.429999, 0.44), (0.429999, 0.45)), ((0.15, -0.69), (0.15, -0.78)), ((0.089999, 0.49), (0.089999, 0.55)), ((-0.21, -0.38), (-0.21, -0.2)), ((-0.700001, 0.06), (-0.650001, 0.06)), ((-0.160001, 0.55), (-0.160001, 0.64)), ((-0.35, 0.9), (-0.3, 0.9)), ((-0.990001, -0.84), (-0.990001, -0.98)), ((0.79, 0.5), (0.79, 0.4)), ((0.929999, 0.74), (0.839999, 0.74)), ((-0.05, -0.2), (-0.05, -0.3)), ((0.15, 0.9), (0.24, 0.9)), ((-0.160001, 0.06), (-0.1, 0.06)), ((-0.6, 0.5), (-0.6, 0.55)), ((0.889999, -0.74), (0.889999, -0.89)), ((-0.900001, 0.8), (-0.900001, 0.89)), ((0.63, -0.09), (0.74, -0.09)), ((-0.26, 0.11), (-0.26, 0.15)), ((0.299999, -0.73), (0.389999, -0.73)), ((-0.400001, -0.53), (-0.360001, -0.53)), ((-0.26, 0.4), (-0.26, 0.45)), ((0.49, -0.15), (0.339999, -0.15)), ((0.29, 0.2), (0.29, 0.21)), ((-0.05, -0.73), (-0.05, -0.83)), ((-0.900001, 0.15), (-0.990001, 0.15)), ((0.63, 0.65), (0.679999, 0.65)), ((0.04, -0.88), (0.04, -0.84)), ((-0.690001, 0.49), (-0.79, 0.49)), ((-0.110001, 0.69), (-0.110001, 0.74)), ((-0.160001, 0.36), (-0.160001, 0.4)), ((-0.26, -0.88), (-0.26, -0.83)), ((-0.89, -0.3), (-0.89, -0.63)), ((0.429999, 0.45), (0.53, 0.45)), ((0.2, -0.69), (0.15, -0.69)), ((0.38, -0.49), (0.38, -0.44)), ((0.24, -0.79), (0.24, -0.74)), ((0.15, 0.44), (0.139999, 0.44)), ((-0.64, 0.26), (-0.55, 0.26)), ((-0.450001, -0.74), (-0.450001, -0.73)), ((0.73, -0.49), (0.73, -0.48)), ((-0.700001, 0.0), (-0.700001, 0.06)), ((-0.31, 0.79), (-0.31, 0.84)), ((-0.940001, -0.68), (-0.89, -0.68)), ((0.73, 0.5), (0.79, 0.5)), ((-0.700001, -0.79), (-0.700001, -0.73)), ((-0.1, -0.3), (-0.200001, -0.3)), ((-0.85, 0.65), (-0.8, 0.65)), ((0.24, 0.9), (0.24, 0.95)), ((-0.160001, -0.04), (-0.160001, 0.06)), ((0.889999, -0.89), (0.839999, -0.89)), ((0.639999, 0.05), (0.54, 0.05)), ((-0.35, 0.15), (-0.440001, 0.15)), ((-0.700001, 0.3), (-0.8, 0.3)), ((0.69, -0.44), (0.69, -0.53)), ((0.83, -0.29), (0.83, -0.24)), ((0.38, -0.14), (0.38, -0.1)), ((0.48, 0.31), (0.58, 0.31)), ((-0.700001, 0.11), (-0.700001, 0.15)), ((-0.59, 0.15), (-0.6, 0.15)), ((-0.400001, -0.69), (-0.400001, -0.64)), ((-0.740001, -0.93), (-0.64, -0.93)), ((0.04, -0.84), (-0.05, -0.84)), ((-0.31, -0.58), (-0.31, -0.53)), ((-0.690001, 0.6), (-0.690001, 0.49)), ((0.04, 0.79), (-0.1, 0.79)), ((-0.3, 0.01), (-0.21, 0.01)), ((-0.84, -0.3), (-0.89, -0.3)), ((-0.160001, -0.39), (-0.160001, -0.34)), ((-0.490001, 0.0), (-0.490001, -0.04)), ((0.48, 0.4), (0.48, 0.44)), ((0.24, -0.74), (0.19, -0.74)), ((0.429999, 0.15), (0.389999, 0.15)), ((0.139999, 0.55), (0.139999, 0.6)), ((-0.490001, -0.98), (-0.400001, -0.98)), ((0.73, -0.48), (0.839999, -0.48)), ((-0.3, -0.2), (-0.3, -0.25)), ((0.19, -0.15), (0.19, -0.05)), ((-0.64, -0.53), (-0.64, -0.54)), ((-0.64, 0.1), (-0.64, -0.05)), ((0.929999, 0.4), (0.929999, 0.54)), ((0.389999, -0.25), (0.25, -0.25)), ((0.24, 0.95), (0.349999, 0.95)), ((-0.3, -0.09), (-0.160001, -0.09)), ((0.839999, -0.89), (0.839999, -0.93)), ((0.639999, 0.1), (0.639999, 0.05)), ((-0.950001, 0.74), (-0.950001, 0.8)), ((0.53, -0.14), (0.63, -0.14)), ((-0.700001, 0.21), (-0.700001, 0.3)), ((0.0, 0.85), (0.089999, 0.85)), ((0.48, 0.3), (0.48, 0.31)), ((-0.6, 0.15), (-0.6, 0.25)), ((-0.59, 0.9), (-0.54, 0.9)), ((0.929999, 0.3), (0.839999, 0.3)), ((-0.400001, -0.64), (-0.54, -0.64)), ((-0.05, 0.6), (-0.05, 0.54)), ((-0.740001, -0.84), (-0.740001, -0.93)), ((0.69, -0.24), (0.79, -0.24)), ((0.139999, 0.94), (0.049999, 0.94)), ((-0.8, -0.04), (-0.79, -0.04)), ((-0.650001, 0.21), (-0.64, 0.21)), ((-0.200001, 0.74), (-0.200001, 0.69)), ((-0.21, 0.85), (-0.21, 0.9)), ((-0.940001, -0.2), (-0.940001, -0.24)), ((-0.160001, -0.34), (-0.01, -0.34)), ((-0.490001, -0.04), (-0.440001, -0.04)), ((0.58, -0.59), (0.58, -0.49)), ((0.19, -0.74), (0.19, -0.73)), ((0.429999, 0.1), (0.429999, 0.15)), ((0.49, 0.49), (0.15, 0.49)), ((-0.59, 0.49), (-0.64, 0.49)), ((-0.21, -0.2), (-0.3, -0.2)), ((0.299999, -0.05), (0.2, -0.05)), ((-0.690001, 0.05), (-0.690001, 0.0)), ((0.929999, 0.7), (0.929999, 0.74)), ((-0.990001, 0.99), (-0.900001, 0.99)), ((-0.8, 0.7), (-0.75, 0.7)), ((0.94, -0.74), (0.889999, -0.74)), ((0.929999, 0.6), (0.99, 0.6)), ((-0.950001, 0.8), (-0.900001, 0.8)), ((0.389999, -0.73), (0.389999, -0.78)), ((0.49, -0.24), (0.49, -0.25)), ((0.73, -0.69), (0.639999, -0.69)), ((-0.400001, -0.54), (-0.400001, -0.53)), ((0.79, -0.09), (0.83, -0.09)), ((0.0, 0.9), (0.0, 0.85)), ((-0.1, 0.49), (-0.150001, 0.49)), ((0.339999, 0.2), (0.29, 0.2)), ((-0.6, 0.25), (-0.650001, 0.25)), ((-0.59, 0.89), (-0.59, 0.84)), ((0.839999, 0.3), (0.839999, 0.25)), ((0.679999, 0.65), (0.679999, 0.69)), ((-0.06, 0.6), (-0.05, 0.6)), ((0.69, -0.2), (0.69, -0.24)), ((0.24, 0.84), (0.24, 0.89)), ((-0.89, -0.04), (-0.89, -0.09)), ((-0.64, 0.21), (-0.64, 0.15)), ((0.15, 0.25), (0.15, 0.2)), ((-0.01, 0.45), (0.04, 0.45)), ((-0.31, -0.88), (-0.26, -0.88)), ((-0.440001, -0.04), (-0.440001, -0.09)), ((-0.54, -0.63), (-0.5, -0.63)), ((0.19, -0.58), (0.19, -0.53)), ((0.58, -0.49), (0.38, -0.49)), ((0.339999, -0.79), (0.24, -0.79)), ((0.15, 0.49), (0.15, 0.44)), ((-0.400001, -0.74), (-0.450001, -0.74)), ((-0.650001, -0.58), (-0.6, -0.58)), ((-0.31, -0.25), (-0.31, -0.19)), ((0.63, 0.16), (0.639999, 0.16)), ((-0.31, 0.45), (-0.31, 0.5)), ((-0.31, 0.84), (-0.360001, 0.84)), ((0.83, 0.69), (0.79, 0.69)), ((-0.700001, -0.73), (-0.64, -0.73)), ((0.349999, -0.24), (0.389999, -0.24)), ((-0.8, 0.65), (-0.8, 0.7)), ((0.679999, 0.01), (0.679999, 0.1)), ((0.929999, 0.59), (0.929999, 0.6)), ((-0.900001, 0.9), (-0.900001, 0.99)), ((0.44, -0.98), (0.73, -0.98)), ((0.049999, -0.05), (0.0, -0.05)), ((0.83, -0.09), (0.83, -0.04)), ((0.83, -0.24), (0.889999, -0.24)), ((-0.1, 0.5), (-0.1, 0.49)), ((0.54, -0.53), (0.54, -0.63)), ((-0.200001, 0.54), (-0.200001, 0.49)), ((-0.26, -0.94), (-0.26, -0.93)), ((-0.31, -0.53), (-0.25, -0.53)), ((0.049999, 0.89), (0.04, 0.89)), ((-0.89, -0.09), (-0.8, -0.09)), ((-0.64, 0.15), (-0.690001, 0.15)), ((0.04, 0.45), (0.04, 0.79)), ((-0.25, 0.94), (-0.25, 0.85)), ((-0.25, -0.83), (-0.25, -0.88)), ((-0.39, 0.0), (-0.490001, 0.0)), ((0.089999, -0.58), (0.19, -0.58)), ((0.53, 0.01), (0.53, 0.1)), ((0.58, 0.5), (0.58, 0.54)), ((0.089999, 0.55), (0.139999, 0.55)), ((-0.950001, -0.29), (-0.940001, -0.29)), ((-0.54, -0.74), (-0.54, -0.78)), ((-0.6, -0.58), (-0.6, -0.49)), ((0.639999, 0.16), (0.639999, 0.11)), ((-0.160001, 0.64), (-0.21, 0.64)), ((-0.64, -0.05), (-0.690001, -0.05)), ((0.99, -0.15), (0.83, -0.15)), ((-0.8, -0.98), (-0.8, -0.94)), ((-0.5, -0.1), (-0.55, -0.1)), ((-0.31, 0.59), (-0.31, 0.69)), ((0.349999, 0.95), (0.349999, 0.94)), ((-0.940001, 0.31), (-0.940001, 0.25)), ((-0.650001, 0.5), (-0.6, 0.5)), ((-0.26, 0.15), (-0.31, 0.15)), ((0.679999, 0.3), (0.63, 0.3)), ((-0.35, -0.49), (-0.35, -0.54)), ((0.049999, 0.06), (0.049999, -0.05)), ((0.83, -0.04), (0.839999, -0.04)), ((-0.01, 0.84), (-0.01, 0.9)), ((0.99, -0.83), (0.99, -0.64)), ((0.0, -0.69), (0.0, -0.78)), ((0.83, 0.25), (0.83, 0.35)), ((0.78, 0.55), (0.78, 0.64)), ((0.73, -0.59), (0.73, -0.58)), ((-0.26, -0.93), (-0.06, -0.93)), ((0.049999, 0.94), (0.049999, 0.89)), ((-0.8, -0.09), (-0.8, -0.04)), ((0.139999, -0.15), (0.089999, -0.15)), ((0.139999, 0.2), (0.139999, 0.26)), ((-0.110001, 0.74), (-0.200001, 0.74)), ((-0.25, 0.85), (-0.21, 0.85)), ((-0.26, 0.36), (-0.160001, 0.36)), ((-0.01, -0.34), (-0.01, -0.29)), ((0.19, 0.4), (0.19, 0.45)), ((0.2, -0.53), (0.2, -0.69)), ((-0.26, -0.24), (-0.25, -0.24)), ((-0.54, -0.78), (-0.400001, -0.78)), ((-0.6, -0.49), (-0.740001, -0.49)), ((-0.690001, 0.0), (-0.700001, 0.0)), ((0.639999, 0.11), (0.78, 0.11)), ((-0.3, 0.79), (-0.31, 0.79)), ((-0.490001, 0.6), (-0.490001, 0.49)), ((-0.8, -0.94), (-0.85, -0.94)), ((-0.5, -0.15), (-0.5, -0.1)), ((0.49, -0.78), (0.679999, -0.78)), ((-0.79, -0.64), (-0.79, -0.69)), ((-0.89, 0.69), (-0.89, 0.64)), ((-0.31, 0.15), (-0.31, 0.25)), ((0.49, -0.25), (0.44, -0.25)), ((0.679999, 0.21), (0.679999, 0.3)), ((-0.35, -0.54), (-0.400001, -0.54)), ((0.99, -0.64), (0.94, -0.64)), ((0.54, -0.63), (0.589999, -0.63)), ((-0.160001, 0.45), (-0.160001, 0.5)), ((-0.950001, -0.25), (-0.950001, -0.19)), ((0.339999, -0.14), (0.38, -0.14)), ((-0.75, 0.2), (-0.75, 0.21)), ((-0.59, 0.84), (-0.6, 0.84)), ((0.83, 0.35), (0.74, 0.35)), ((0.78, 0.64), (0.63, 0.64)), ((0.73, -0.58), (0.83, -0.58)), ((-0.05, -0.84), (-0.05, -0.94)), ((-0.440001, -0.58), (-0.31, -0.58)), ((0.38, 0.84), (0.24, 0.84)), ((-0.940001, -0.04), (-0.89, -0.04)), ((0.15, 0.2), (0.139999, 0.2)), ((-0.110001, 0.35), (-0.110001, 0.36)), ((-0.26, 0.2), (-0.26, 0.36)), ((0.48, 0.44), (0.429999, 0.44)), ((0.53, 0.54), (0.53, 0.55)), ((-0.25, -0.24), (-0.25, -0.35)), ((-0.400001, -0.78), (-0.400001, -0.74)), ((-0.5, -0.63), (-0.5, -0.43)), ((0.25, -0.15), (0.19, -0.15)), ((-0.490001, 0.49), (-0.5, 0.49)), ((0.79, 0.4), (0.929999, 0.4)), ((0.83, 0.64), (0.83, 0.69)), ((-0.85, -0.94), (-0.85, -0.93)), ((0.44, 0.26), (0.49, 0.26)), ((-0.85, 0.85), (-0.700001, 0.85)), ((-0.79, -0.69), (-0.8, -0.69)), ((-0.990001, 0.49), (-0.990001, 0.31)), ((0.679999, 0.1), (0.639999, 0.1)), ((-0.89, 0.64), (-0.900001, 0.64)), ((-0.31, 0.25), (-0.35, 0.25)), ((0.49, -0.69), (0.49, -0.78)), ((0.0, 0.11), (0.0, 0.06)), ((0.94, -0.64), (0.94, -0.69)), ((0.589999, -0.63), (0.589999, -0.73)), ((0.58, -0.48), (0.58, -0.43)), ((0.299999, -0.53), (0.54, -0.53)), ((-0.75, 0.21), (-0.700001, 0.21)), ((0.74, 0.35), (0.74, 0.3)), ((0.78, -0.69), (0.78, -0.59)), ((-0.650001, -0.09), (-0.6, -0.09)), ((0.19, -0.35), (0.19, -0.2)), ((-0.06, -0.74), (-0.150001, -0.74)), ((0.429999, 0.69), (0.429999, 0.79)), ((-0.690001, 0.15), (-0.690001, 0.1)), ((-0.79, 0.49), (-0.79, 0.44)), ((0.24, 0.26), (0.24, 0.31)), ((-0.25, -0.88), (-0.21, -0.88)), ((0.53, 0.1), (0.429999, 0.1)), ((0.58, 0.54), (0.53, 0.54)), ((-0.25, -0.35), (-0.360001, -0.35)), ((-0.490001, -0.74), (-0.54, -0.74)), ((0.25, -0.14), (0.25, -0.15)), ((0.83, 0.84), (0.78, 0.84)), ((-0.5, 0.49), (-0.5, 0.54)), ((-0.940001, -0.98), (-0.8, -0.98)), ((0.49, 0.26), (0.49, 0.25)), ((-0.31, 0.69), (-0.35, 0.69)), ((-0.85, 0.79), (-0.85, 0.85)), ((-0.740001, -0.63), (-0.740001, -0.64)), ((-0.160001, -0.05), (-0.21, -0.05)), ((-0.990001, 0.31), (-0.940001, 0.31)), ((0.88, 0.35), (0.88, 0.39)), ((0.54, -0.69), (0.49, -0.69)), ((0.58, 0.16), (0.58, 0.21)), ((-0.01, 0.9), (0.0, 0.9)), ((0.94, -0.83), (0.99, -0.83)), ((0.44, -0.48), (0.58, -0.48)), ((-0.900001, -0.43), (-0.900001, -0.25)), ((0.0, -0.78), (0.099999, -0.78)), ((-0.690001, 0.36), (-0.690001, 0.2)), ((-0.54, 0.89), (-0.59, 0.89)), ((0.839999, 0.25), (0.83, 0.25)), ((0.83, -0.49), (0.73, -0.49)), ((-0.64, -0.93), (-0.64, -0.94)), ((0.2, -0.35), (0.19, -0.35)), ((-0.150001, -0.74), (-0.150001, -0.83)), ((-0.1, -0.1), (-0.110001, -0.1)), ((0.429999, 0.79), (0.38, 0.79)), ((-0.05, 0.8), (0.049999, 0.8)), ((-0.160001, 0.35), (-0.25, 0.35)), ((0.589999, 0.55), (0.589999, 0.5)), ((-0.740001, -0.49), (-0.740001, -0.54)), ((-0.3, -0.25), (-0.31, -0.25)), ((0.48, -0.14), (0.48, 0.0)), ((-0.31, 0.5), (-0.21, 0.5)), ((-0.54, 0.6), (-0.490001, 0.6)), ((0.839999, 0.74), (0.839999, 0.64)), ((-0.950001, -0.98), (-0.950001, -0.93)), ((0.49, 0.25), (0.25, 0.25)), ((0.389999, 0.85), (0.389999, 0.8)), ((-0.8, -0.59), (-0.85, -0.59)), ((0.94, 0.35), (0.88, 0.35)), ((-0.900001, 0.74), (-0.950001, 0.74)), ((0.679999, 0.7), (0.679999, 0.8)), ((0.679999, -0.78), (0.679999, -0.73)), ((-0.400001, 0.94), (-0.400001, 0.95)), ((0.53, -0.04), (0.58, -0.04)), ((0.63, -0.73), (0.63, -0.68)), ((-0.160001, 0.5), (-0.1, 0.5)), ((0.44, -0.25), (0.44, -0.48)), ((-0.900001, -0.25), (-0.950001, -0.25)), ((0.29, 0.21), (0.53, 0.21)), ((0.19, -0.83), (0.19, -0.79)), ((0.349999, -0.49), (0.299999, -0.49)), ((0.63, 0.64), (0.63, 0.65)), ((0.79, -0.59), (0.79, -0.69)), ((-0.05, 0.54), (-0.200001, 0.54)), ((0.15, -0.2), (0.15, -0.25)), ((-0.150001, -0.83), (-0.110001, -0.83)), ((0.38, 0.79), (0.38, 0.84)), ((-0.05, 0.94), (-0.05, 0.8)), ((0.04, 0.35), (-0.110001, 0.35)), ((-0.26, -0.83), (-0.25, -0.83)), ((-0.160001, 0.3), (-0.160001, 0.35)), ((-0.1, -0.05), (-0.1, -0.1)), ((-0.5, -0.43), (-0.450001, -0.43)), ((0.389999, -0.14), (0.48, -0.14)), ((-0.21, 0.5), (-0.21, 0.55)), ((-0.59, 0.54), (-0.59, 0.49)), ((0.839999, 0.64), (0.83, 0.64)), ((-0.8, -0.83), (-0.79, -0.83)), ((-0.75, 0.7), (-0.75, 0.79)), ((0.25, 0.85), (0.389999, 0.85)), ((-0.79, -0.59), (-0.79, -0.63)), ((0.73, 0.39), (0.73, 0.4)), ((-0.25, -0.15), (-0.25, -0.19)), ((0.49, -0.68), (0.54, -0.68)), ((-0.360001, 0.94), (-0.400001, 0.94)), ((0.0, 0.06), (0.049999, 0.06)), ((0.53, -0.05), (0.53, -0.04)), ((0.19, 0.84), (-0.01, 0.84)), ((0.839999, -0.73), (0.94, -0.73)), ((0.58, -0.43), (0.63, -0.43)), ((0.099999, -0.83), (0.19, -0.83)), ((0.299999, -0.49), (0.299999, -0.53)), ((-0.89, 0.1), (-0.900001, 0.1)), ((0.79, -0.69), (0.78, -0.69)), ((0.299999, -0.2), (0.2, -0.2)), ((0.54, 0.69), (0.429999, 0.69)), ((-0.79, 0.44), (-0.89, 0.44)), ((-0.25, 0.59), (-0.25, 0.54)), ((0.19, 0.45), (0.389999, 0.45)), ((0.19, -0.53), (0.2, -0.53)), ((-0.1, 0.64), (-0.1, 0.59)), ((-0.05, -0.05), (-0.1, -0.05)), ((-0.54, -0.43), (-0.54, -0.63)), ((0.389999, -0.09), (0.389999, -0.14)), ((-0.21, 0.55), (-0.160001, 0.55)), ((-0.59, 0.7), (-0.54, 0.7)), ((-0.79, -0.83), (-0.79, -0.98)), ((0.44, 0.8), (0.44, 0.75)), ((-0.79, -0.63), (-0.740001, -0.63)), ((0.889999, 0.36), (0.94, 0.36)), ((-0.01, -0.98), (-0.01, -0.88)), ((-0.200001, -0.15), (-0.25, -0.15)), ((0.69, -0.73), (0.69, -0.83)), ((0.58, 0.21), (0.679999, 0.21)), ((-0.360001, 0.89), (-0.360001, 0.94)), ((0.04, -0.04), (0.04, 0.05)), ((0.58, 0.01), (0.589999, 0.01)), ((0.94, -0.73), (0.94, -0.74)), ((-0.25, 0.39), (-0.3, 0.39)), ((0.54, -0.39), (0.54, -0.44)), ((0.099999, -0.78), (0.099999, -0.83)), ((0.83, -0.58), (0.83, -0.49)), ((-0.64, -0.94), (-0.75, -0.94)), ((0.299999, -0.1), (0.299999, -0.2)), ((-0.05, -0.94), (-0.26, -0.94)), ((0.04, 0.89), (0.04, 0.94)), ((-0.740001, 0.8), (-0.740001, 0.69)), ((-0.200001, 0.26), (0.04, 0.26)), ((-0.89, -0.29), (-0.84, -0.29)), ((0.389999, 0.45), (0.389999, 0.4)), ((-0.75, -0.05), (-0.75, 0.0)), ((-0.05, 0.64), (-0.1, 0.64)), ((-0.110001, -0.1), (-0.110001, 0.01)), ((-0.450001, -0.39), (-0.55, -0.39)), ((0.48, 0.0), (0.429999, 0.0)), ((-0.54, 0.7), (-0.54, 0.6)), ((-0.990001, -0.98), (-0.950001, -0.98)), ((-0.01, -0.79), (-0.01, -0.69)), ((0.349999, 0.94), (0.25, 0.94)), ((-0.8, -0.69), (-0.8, -0.59)), ((0.889999, 0.39), (0.889999, 0.36)), ((-0.900001, 0.64), (-0.900001, 0.74)), ((0.679999, 0.8), (0.69, 0.8)), ((-0.200001, -0.19), (-0.200001, -0.29)), ((0.679999, -0.73), (0.69, -0.73)), ((0.299999, 0.06), (0.299999, 0.01)), ((-0.400001, 0.95), (-0.360001, 0.95)), ((-0.01, -0.04), (0.04, -0.04)), ((0.58, -0.09), (0.58, -0.05)), ((0.589999, 0.01), (0.589999, -0.04)), ((0.639999, 0.55), (0.679999, 0.55)), ((0.99, -0.84), (0.929999, -0.84)), ((0.589999, -0.73), (0.63, -0.73)), ((-0.25, 0.44), (-0.25, 0.39)), ((0.44, -0.24), (0.49, -0.24)), ((0.19, -0.79), (0.139999, -0.79)), ((-0.700001, 0.31), (-0.700001, 0.35)), ((-0.8, 0.3), (-0.8, 0.35)), ((0.839999, -0.58), (0.929999, -0.58)), ((-0.900001, -0.53), (-0.900001, -0.44)), ((0.38, -0.1), (0.299999, -0.1)), ((-0.84, 0.8), (-0.740001, 0.8)), ((0.139999, 0.26), (0.24, 0.26)), ((0.04, 0.26), (0.04, 0.35)), ((0.389999, 0.4), (0.48, 0.4)), ((-0.740001, -0.05), (-0.75, -0.05)), ((-0.110001, 0.59), (-0.110001, 0.64)), ((0.0, 0.0), (-0.05, 0.0)), ((-0.450001, -0.43), (-0.450001, -0.39)), ((0.349999, -0.04), (0.349999, -0.09)), ((-0.5, 0.54), (-0.59, 0.54)), ((-0.59, -0.68), (-0.59, -0.73)), ((-0.5, -0.98), (-0.5, -0.93)), ((-0.01, -0.69), (-0.110001, -0.69)), ((0.49, 0.75), (0.49, 0.74)), ((-0.75, 0.79), (-0.85, 0.79)), ((-0.84, -0.58), (-0.700001, -0.58)), ((0.94, 0.39), (0.889999, 0.39)), ((0.88, 0.45), (0.88, 0.49)), ((-0.39, -0.84), (-0.39, -0.98)), ((-0.26, -0.14), (-0.200001, -0.14)), ((0.54, -0.68), (0.54, -0.69)), ((0.299999, 0.01), (0.38, 0.01)), ((-0.440001, 0.99), (-0.440001, 0.9))) |
name1 = "Atilla"
for ch in name1:
print(ch)
| name1 = 'Atilla'
for ch in name1:
print(ch) |
def add_feather_vertex(location=(0.0, 0.0)):
pass
def add_feather_vertex_slide(MASK_OT_add_feather_vertex=None, MASK_OT_slide_point=None):
pass
def add_vertex(location=(0.0, 0.0)):
pass
def add_vertex_slide(MASK_OT_add_vertex=None, MASK_OT_slide_point=None):
pass
def copy_splines():
pass
def cyclic_toggle():
pass
def delete():
pass
def duplicate():
pass
def duplicate_move(MASK_OT_duplicate=None, TRANSFORM_OT_translate=None):
pass
def feather_weight_clear():
pass
def handle_type_set(type='AUTO'):
pass
def hide_view_clear():
pass
def hide_view_set(unselected=False):
pass
def layer_move(direction='UP'):
pass
def layer_new(name=""):
pass
def layer_remove():
pass
def new(name=""):
pass
def normals_make_consistent():
pass
def parent_clear():
pass
def parent_set():
pass
def paste_splines():
pass
def primitive_circle_add(size=100.0, location=(0.0, 0.0)):
pass
def primitive_square_add(size=100.0, location=(0.0, 0.0)):
pass
def select(extend=False, deselect=False, toggle=False, location=(0.0, 0.0)):
pass
def select_all(action='TOGGLE'):
pass
def select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, extend=True):
pass
def select_circle(x=0, y=0, radius=1, gesture_mode=0):
pass
def select_lasso(path=None, deselect=False, extend=True):
pass
def select_less():
pass
def select_linked():
pass
def select_linked_pick(deselect=False):
pass
def select_more():
pass
def shape_key_clear():
pass
def shape_key_feather_reset():
pass
def shape_key_insert():
pass
def shape_key_rekey(location=True, feather=True):
pass
def slide_point(slide_feather=False, is_new_point=False):
pass
def slide_spline_curvature():
pass
def switch_direction():
pass
| def add_feather_vertex(location=(0.0, 0.0)):
pass
def add_feather_vertex_slide(MASK_OT_add_feather_vertex=None, MASK_OT_slide_point=None):
pass
def add_vertex(location=(0.0, 0.0)):
pass
def add_vertex_slide(MASK_OT_add_vertex=None, MASK_OT_slide_point=None):
pass
def copy_splines():
pass
def cyclic_toggle():
pass
def delete():
pass
def duplicate():
pass
def duplicate_move(MASK_OT_duplicate=None, TRANSFORM_OT_translate=None):
pass
def feather_weight_clear():
pass
def handle_type_set(type='AUTO'):
pass
def hide_view_clear():
pass
def hide_view_set(unselected=False):
pass
def layer_move(direction='UP'):
pass
def layer_new(name=''):
pass
def layer_remove():
pass
def new(name=''):
pass
def normals_make_consistent():
pass
def parent_clear():
pass
def parent_set():
pass
def paste_splines():
pass
def primitive_circle_add(size=100.0, location=(0.0, 0.0)):
pass
def primitive_square_add(size=100.0, location=(0.0, 0.0)):
pass
def select(extend=False, deselect=False, toggle=False, location=(0.0, 0.0)):
pass
def select_all(action='TOGGLE'):
pass
def select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, extend=True):
pass
def select_circle(x=0, y=0, radius=1, gesture_mode=0):
pass
def select_lasso(path=None, deselect=False, extend=True):
pass
def select_less():
pass
def select_linked():
pass
def select_linked_pick(deselect=False):
pass
def select_more():
pass
def shape_key_clear():
pass
def shape_key_feather_reset():
pass
def shape_key_insert():
pass
def shape_key_rekey(location=True, feather=True):
pass
def slide_point(slide_feather=False, is_new_point=False):
pass
def slide_spline_curvature():
pass
def switch_direction():
pass |
#
# Copyright 2013 The Regents of The University California
# Copyright 2016 Alex Caudill
#
# 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.
"""
A TaskPlacer is responsible for assigning the tasks in a job to backends. Assigning
tasks to backends occurs in two phases:
(1) Task reservations are enqueued on backends. Typically more task reservations
are enqueued than there are tasks that need to run (the ratio of task
reservations to tasks is set using {@link PasserConf.SAMPLE_RATIO} and
{@link PasserConf.SAMPLE_RATIO_CONSTRAINED}).
(2) When backends are ready to run a task, they reply to the scheduler with a
GetTask() RPC. The scheduler passes this call on to the task placer; if
there are tasks remaining that can be run on that machine, the TaskPlacer
responds with a specification for the task.
A TaskPlacer is responsible for determining where to enqueue task reservations,
and how to assign tasks to backends once a backend signals that it's ready to
execute a task. TaskPlacers are created per-job and persist state across these
two phases.
TaskPlacers are not thread safe.
Access to a particular TaskPlacer should be serialized.
"""
class TaskPlacer():
pass
"""
Returns a mapping of node monitor socket addresses to
{@link TEnqueueTaskReservationRequest}s that should be send to those node
monitors. The caller is responsible for ensuring that {@link schedulingRequest}
is properly filled out.
"""
#public Map<InetSocketAddress, TEnqueueTaskReservationsRequest>
# getEnqueueTaskReservationsRequests(
# TSchedulingRequest schedulingRequest, String requestId,
# Collection<InetSocketAddress> nodes, THostPort schedulerAddress);
"""
Returns a List of {@link TTaskLaunchSpec}s describing tasks that should be
launched from the give node monitor. Always returns either 0 or 1 tasks.
"""
#public List<TTaskLaunchSpec> assignTask(THostPort nodeMonitorAddress);
"""
Returns true if all of the job's tasks have been placed.
"""
#public boolean allTasksPlaced();
"""
Returns the node monitors with outstanding reservations for this request.
After this method is called once, the TaskPlacer assumes those node monitors
were sent cancellation messages, so it will not return any node monitors in
the future.
"""
#public Set<THostPort> getOutstandingNodeMonitorsForCancellation(); | """
A TaskPlacer is responsible for assigning the tasks in a job to backends. Assigning
tasks to backends occurs in two phases:
(1) Task reservations are enqueued on backends. Typically more task reservations
are enqueued than there are tasks that need to run (the ratio of task
reservations to tasks is set using {@link PasserConf.SAMPLE_RATIO} and
{@link PasserConf.SAMPLE_RATIO_CONSTRAINED}).
(2) When backends are ready to run a task, they reply to the scheduler with a
GetTask() RPC. The scheduler passes this call on to the task placer; if
there are tasks remaining that can be run on that machine, the TaskPlacer
responds with a specification for the task.
A TaskPlacer is responsible for determining where to enqueue task reservations,
and how to assign tasks to backends once a backend signals that it's ready to
execute a task. TaskPlacers are created per-job and persist state across these
two phases.
TaskPlacers are not thread safe.
Access to a particular TaskPlacer should be serialized.
"""
class Taskplacer:
pass
'\n Returns a mapping of node monitor socket addresses to \n {@link TEnqueueTaskReservationRequest}s that should be send to those node \n monitors. The caller is responsible for ensuring that {@link schedulingRequest} \n is properly filled out.\n '
'\n Returns a List of {@link TTaskLaunchSpec}s describing tasks that should be \n launched from the give node monitor. Always returns either 0 or 1 tasks.\n '
"\n Returns true if all of the job's tasks have been placed.\n "
'\n Returns the node monitors with outstanding reservations for this request.\n \n After this method is called once, the TaskPlacer assumes those node monitors \n were sent cancellation messages, so it will not return any node monitors in \n the future.\n ' |
"""
246. Strobogrammatic Number
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).
Write a function to determine if a number is strobogrammatic. The number is represented as a string.
Example 1:
Input: "69"
Output: true
Example 2:
Input: "88"
Output: true
Example 3:
Input: "962"
Output: false
"""
class Solution(object):
def isStrobogrammatic(self, num):
table = {'0': '0', '1': '1', '6': '9', '8': '8', '9': '6'}
n = len(num)
for i in range((n//2) + 1):
if num[i] not in table.keys() or table[num[i]] != num[n - i - 1]:
return False
return True
class Solution(object):
def isStrobogrammatic(self, num):
"""
:type num: str
:rtype: bool
"""
len2strs = { "00", "11", "88", "69", "96" }
len1strs = { "0", "1", "8" }
s = str(num)
while len(s)>2:
if s[0]+s[-1] not in len2strs:
return False
s = s[1:-1]
return s in len2strs or s in len1strs
class Solution:
def isStrobogrammatic(self, num: str) -> bool:
rotates = {"0": "0", "1": "1", "8": "8", "6": "9", "9": "6"}
return all(b in rotates and rotates[b] == a
for a, b in zip(num, num[::-1]))
| """
246. Strobogrammatic Number
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).
Write a function to determine if a number is strobogrammatic. The number is represented as a string.
Example 1:
Input: "69"
Output: true
Example 2:
Input: "88"
Output: true
Example 3:
Input: "962"
Output: false
"""
class Solution(object):
def is_strobogrammatic(self, num):
table = {'0': '0', '1': '1', '6': '9', '8': '8', '9': '6'}
n = len(num)
for i in range(n // 2 + 1):
if num[i] not in table.keys() or table[num[i]] != num[n - i - 1]:
return False
return True
class Solution(object):
def is_strobogrammatic(self, num):
"""
:type num: str
:rtype: bool
"""
len2strs = {'00', '11', '88', '69', '96'}
len1strs = {'0', '1', '8'}
s = str(num)
while len(s) > 2:
if s[0] + s[-1] not in len2strs:
return False
s = s[1:-1]
return s in len2strs or s in len1strs
class Solution:
def is_strobogrammatic(self, num: str) -> bool:
rotates = {'0': '0', '1': '1', '8': '8', '6': '9', '9': '6'}
return all((b in rotates and rotates[b] == a for (a, b) in zip(num, num[::-1]))) |
class Solution:
def twoSum(self, numbers: List[int], target: int) -> List[int]:
r = len(numbers)
for ind in range(r):
goal = target - numbers[ind]
l = ind
while l < r:
m = l + (r - l) // 2
if numbers[m] == goal:
return [ind+1, m+1]
if numbers[m] < goal:
l = m + 1
else:
r = m | class Solution:
def two_sum(self, numbers: List[int], target: int) -> List[int]:
r = len(numbers)
for ind in range(r):
goal = target - numbers[ind]
l = ind
while l < r:
m = l + (r - l) // 2
if numbers[m] == goal:
return [ind + 1, m + 1]
if numbers[m] < goal:
l = m + 1
else:
r = m |
"""
generate table:
from matplotlib import cm
import numpy as np
_m = cm.get_cmap('jet')
gradient = np.linspace(0, 1, 256)
l = [cm.colors.to_hex(_m(c)) for c in gradient]
"""
COLORS = ['#000080', '#000084', '#000089', '#00008d', '#000092', '#000096', '#00009b', '#00009f', '#0000a4', '#0000a8',
'#0000ad', '#0000b2', '#0000b6', '#0000bb', '#0000bf', '#0000c4', '#0000c8', '#0000cd', '#0000d1', '#0000d6',
'#0000da', '#0000df', '#0000e3', '#0000e8', '#0000ed', '#0000f1', '#0000f6', '#0000fa', '#0000ff', '#0000ff',
'#0000ff', '#0000ff', '#0000ff', '#0004ff', '#0008ff', '#000cff', '#0010ff', '#0014ff', '#0018ff', '#001cff',
'#0020ff', '#0024ff', '#0028ff', '#002cff', '#0030ff', '#0034ff', '#0038ff', '#003cff', '#0040ff', '#0044ff',
'#0048ff', '#004cff', '#0050ff', '#0054ff', '#0058ff', '#005cff', '#0060ff', '#0064ff', '#0068ff', '#006cff',
'#0070ff', '#0074ff', '#0078ff', '#007cff', '#0080ff', '#0084ff', '#0088ff', '#008cff', '#0090ff', '#0094ff',
'#0098ff', '#009cff', '#00a0ff', '#00a4ff', '#00a8ff', '#00acff', '#00b0ff', '#00b4ff', '#00b8ff', '#00bcff',
'#00c0ff', '#00c4ff', '#00c8ff', '#00ccff', '#00d0ff', '#00d4ff', '#00d8ff', '#00dcfe', '#00e0fb', '#00e4f8',
'#02e8f4', '#06ecf1', '#09f0ee', '#0cf4eb', '#0ff8e7', '#13fce4', '#16ffe1', '#19ffde', '#1cffdb', '#1fffd7',
'#23ffd4', '#26ffd1', '#29ffce', '#2cffca', '#30ffc7', '#33ffc4', '#36ffc1', '#39ffbe', '#3cffba', '#40ffb7',
'#43ffb4', '#46ffb1', '#49ffad', '#4dffaa', '#50ffa7', '#53ffa4', '#56ffa0', '#5aff9d', '#5dff9a', '#60ff97',
'#63ff94', '#66ff90', '#6aff8d', '#6dff8a', '#70ff87', '#73ff83', '#77ff80', '#7aff7d', '#7dff7a', '#80ff77',
'#83ff73', '#87ff70', '#8aff6d', '#8dff6a', '#90ff66', '#94ff63', '#97ff60', '#9aff5d', '#9dff5a', '#a0ff56',
'#a4ff53', '#a7ff50', '#aaff4d', '#adff49', '#b1ff46', '#b4ff43', '#b7ff40', '#baff3c', '#beff39', '#c1ff36',
'#c4ff33', '#c7ff30', '#caff2c', '#ceff29', '#d1ff26', '#d4ff23', '#d7ff1f', '#dbff1c', '#deff19', '#e1ff16',
'#e4ff13', '#e7ff0f', '#ebff0c', '#eeff09', '#f1fc06', '#f4f802', '#f8f500', '#fbf100', '#feed00', '#ffea00',
'#ffe600', '#ffe200', '#ffde00', '#ffdb00', '#ffd700', '#ffd300', '#ffd000', '#ffcc00', '#ffc800', '#ffc400',
'#ffc100', '#ffbd00', '#ffb900', '#ffb600', '#ffb200', '#ffae00', '#ffab00', '#ffa700', '#ffa300', '#ff9f00',
'#ff9c00', '#ff9800', '#ff9400', '#ff9100', '#ff8d00', '#ff8900', '#ff8600', '#ff8200', '#ff7e00', '#ff7a00',
'#ff7700', '#ff7300', '#ff6f00', '#ff6c00', '#ff6800', '#ff6400', '#ff6000', '#ff5d00', '#ff5900', '#ff5500',
'#ff5200', '#ff4e00', '#ff4a00', '#ff4700', '#ff4300', '#ff3f00', '#ff3b00', '#ff3800', '#ff3400', '#ff3000',
'#ff2d00', '#ff2900', '#ff2500', '#ff2200', '#ff1e00', '#ff1a00', '#ff1600', '#ff1300', '#fa0f00', '#f60b00',
'#f10800', '#ed0400', '#e80000', '#e40000', '#df0000', '#da0000', '#d60000', '#d10000', '#cd0000', '#c80000',
'#c40000', '#bf0000', '#bb0000', '#b60000', '#b20000', '#ad0000', '#a80000', '#a40000', '#9f0000', '#9b0000',
'#960000', '#920000', '#8d0000', '#890000', '#840000', '#800000']
| """
generate table:
from matplotlib import cm
import numpy as np
_m = cm.get_cmap('jet')
gradient = np.linspace(0, 1, 256)
l = [cm.colors.to_hex(_m(c)) for c in gradient]
"""
colors = ['#000080', '#000084', '#000089', '#00008d', '#000092', '#000096', '#00009b', '#00009f', '#0000a4', '#0000a8', '#0000ad', '#0000b2', '#0000b6', '#0000bb', '#0000bf', '#0000c4', '#0000c8', '#0000cd', '#0000d1', '#0000d6', '#0000da', '#0000df', '#0000e3', '#0000e8', '#0000ed', '#0000f1', '#0000f6', '#0000fa', '#0000ff', '#0000ff', '#0000ff', '#0000ff', '#0000ff', '#0004ff', '#0008ff', '#000cff', '#0010ff', '#0014ff', '#0018ff', '#001cff', '#0020ff', '#0024ff', '#0028ff', '#002cff', '#0030ff', '#0034ff', '#0038ff', '#003cff', '#0040ff', '#0044ff', '#0048ff', '#004cff', '#0050ff', '#0054ff', '#0058ff', '#005cff', '#0060ff', '#0064ff', '#0068ff', '#006cff', '#0070ff', '#0074ff', '#0078ff', '#007cff', '#0080ff', '#0084ff', '#0088ff', '#008cff', '#0090ff', '#0094ff', '#0098ff', '#009cff', '#00a0ff', '#00a4ff', '#00a8ff', '#00acff', '#00b0ff', '#00b4ff', '#00b8ff', '#00bcff', '#00c0ff', '#00c4ff', '#00c8ff', '#00ccff', '#00d0ff', '#00d4ff', '#00d8ff', '#00dcfe', '#00e0fb', '#00e4f8', '#02e8f4', '#06ecf1', '#09f0ee', '#0cf4eb', '#0ff8e7', '#13fce4', '#16ffe1', '#19ffde', '#1cffdb', '#1fffd7', '#23ffd4', '#26ffd1', '#29ffce', '#2cffca', '#30ffc7', '#33ffc4', '#36ffc1', '#39ffbe', '#3cffba', '#40ffb7', '#43ffb4', '#46ffb1', '#49ffad', '#4dffaa', '#50ffa7', '#53ffa4', '#56ffa0', '#5aff9d', '#5dff9a', '#60ff97', '#63ff94', '#66ff90', '#6aff8d', '#6dff8a', '#70ff87', '#73ff83', '#77ff80', '#7aff7d', '#7dff7a', '#80ff77', '#83ff73', '#87ff70', '#8aff6d', '#8dff6a', '#90ff66', '#94ff63', '#97ff60', '#9aff5d', '#9dff5a', '#a0ff56', '#a4ff53', '#a7ff50', '#aaff4d', '#adff49', '#b1ff46', '#b4ff43', '#b7ff40', '#baff3c', '#beff39', '#c1ff36', '#c4ff33', '#c7ff30', '#caff2c', '#ceff29', '#d1ff26', '#d4ff23', '#d7ff1f', '#dbff1c', '#deff19', '#e1ff16', '#e4ff13', '#e7ff0f', '#ebff0c', '#eeff09', '#f1fc06', '#f4f802', '#f8f500', '#fbf100', '#feed00', '#ffea00', '#ffe600', '#ffe200', '#ffde00', '#ffdb00', '#ffd700', '#ffd300', '#ffd000', '#ffcc00', '#ffc800', '#ffc400', '#ffc100', '#ffbd00', '#ffb900', '#ffb600', '#ffb200', '#ffae00', '#ffab00', '#ffa700', '#ffa300', '#ff9f00', '#ff9c00', '#ff9800', '#ff9400', '#ff9100', '#ff8d00', '#ff8900', '#ff8600', '#ff8200', '#ff7e00', '#ff7a00', '#ff7700', '#ff7300', '#ff6f00', '#ff6c00', '#ff6800', '#ff6400', '#ff6000', '#ff5d00', '#ff5900', '#ff5500', '#ff5200', '#ff4e00', '#ff4a00', '#ff4700', '#ff4300', '#ff3f00', '#ff3b00', '#ff3800', '#ff3400', '#ff3000', '#ff2d00', '#ff2900', '#ff2500', '#ff2200', '#ff1e00', '#ff1a00', '#ff1600', '#ff1300', '#fa0f00', '#f60b00', '#f10800', '#ed0400', '#e80000', '#e40000', '#df0000', '#da0000', '#d60000', '#d10000', '#cd0000', '#c80000', '#c40000', '#bf0000', '#bb0000', '#b60000', '#b20000', '#ad0000', '#a80000', '#a40000', '#9f0000', '#9b0000', '#960000', '#920000', '#8d0000', '#890000', '#840000', '#800000'] |
@staticmethod
def __filter_contours(
input_contours,
min_area,
min_perimeter,
min_width,
max_width,
min_height,
max_height,
solidity,
max_vertex_count,
min_vertex_count,
min_ratio,
max_ratio,
):
"""Filters out contours that do not meet certain criteria.
Args:
input_contours: Contours as a list of numpy.ndarray.
min_area: The minimum area of a contour that will be kept.
min_perimeter: The minimum perimeter of a contour that will be kept.
min_width: Minimum width of a contour.
max_width: MaxWidth maximum width.
min_height: Minimum height.
max_height: Maximimum height.
solidity: The minimum and maximum solidity of a contour.
min_vertex_count: Minimum vertex Count of the contours.
max_vertex_count: Maximum vertex Count.
min_ratio: Minimum ratio of width to height.
max_ratio: Maximum ratio of width to height.
Returns:
Contours as a list of numpy.ndarray.
"""
# FOR THIS TO WORK YOU MUST
# replace this
# output = []
# with this
# output = [[], [], [], [], [], [], []]
output = [[], [], [], [], [], [], []]
for contour in input_contours:
x, y, w, h = cv2.boundingRect(contour)
if w < min_width or w > max_width:
continue
if h < min_height or h > max_height:
continue
area = cv2.contourArea(contour)
if area < min_area:
continue
if cv2.arcLength(contour, True) < min_perimeter:
continue
hull = cv2.convexHull(contour)
solid = 100 * area / cv2.contourArea(hull)
if solid < solidity[0] or solid > solidity[1]:
continue
if len(contour) < min_vertex_count or len(contour) > max_vertex_count:
continue
ratio = (float)(w) / h
if ratio < min_ratio or ratio > max_ratio:
continue
# FOR THIS TO WORK YOU MUST
# replace this
# output.append(contour)
# with this
# output[0].append(x)
# output[1].append(y)
# output[2].append(w)
# output[3].append(h)
# output[4].append(area)
# output[5].append(solid)
# output[6].append(ratio)
output[0].append(x)
output[1].append(y)
output[2].append(w)
output[3].append(h)
output[4].append(area)
output[5].append(solid)
output[6].append(ratio)
return output
| @staticmethod
def __filter_contours(input_contours, min_area, min_perimeter, min_width, max_width, min_height, max_height, solidity, max_vertex_count, min_vertex_count, min_ratio, max_ratio):
"""Filters out contours that do not meet certain criteria.
Args:
input_contours: Contours as a list of numpy.ndarray.
min_area: The minimum area of a contour that will be kept.
min_perimeter: The minimum perimeter of a contour that will be kept.
min_width: Minimum width of a contour.
max_width: MaxWidth maximum width.
min_height: Minimum height.
max_height: Maximimum height.
solidity: The minimum and maximum solidity of a contour.
min_vertex_count: Minimum vertex Count of the contours.
max_vertex_count: Maximum vertex Count.
min_ratio: Minimum ratio of width to height.
max_ratio: Maximum ratio of width to height.
Returns:
Contours as a list of numpy.ndarray.
"""
output = [[], [], [], [], [], [], []]
for contour in input_contours:
(x, y, w, h) = cv2.boundingRect(contour)
if w < min_width or w > max_width:
continue
if h < min_height or h > max_height:
continue
area = cv2.contourArea(contour)
if area < min_area:
continue
if cv2.arcLength(contour, True) < min_perimeter:
continue
hull = cv2.convexHull(contour)
solid = 100 * area / cv2.contourArea(hull)
if solid < solidity[0] or solid > solidity[1]:
continue
if len(contour) < min_vertex_count or len(contour) > max_vertex_count:
continue
ratio = float(w) / h
if ratio < min_ratio or ratio > max_ratio:
continue
output[0].append(x)
output[1].append(y)
output[2].append(w)
output[3].append(h)
output[4].append(area)
output[5].append(solid)
output[6].append(ratio)
return output |
# logger = logging.getLogger()
# logger.setLevel(logging.DEBUG)
"""--- Main handler --- """
def lambda_handler(event, context):
# os.environ['TZ'] = 'America/New_York'
# time.tzset()
# logger.debug('event.bot.name={}'.format(event['bot']['name']))
return dispatch(event)
def dispatch(intent_request):
intent_name = intent_request['currentIntent']['name']
#Dispatch to bot's intent handlers
if intent_name == 'sayHello': #++++++++++++++
return get_info(intent_request)
raise Exception('Intent with name' + intent_name + ' not supported')
def get_info(intent_request):
return {"dialogAction": {
"type": "Close",
"fulfillmentState": "Fulfilled",
"message": {
"contentType": "PlainText",
"content": "hello!"
}
}} | """--- Main handler --- """
def lambda_handler(event, context):
return dispatch(event)
def dispatch(intent_request):
intent_name = intent_request['currentIntent']['name']
if intent_name == 'sayHello':
return get_info(intent_request)
raise exception('Intent with name' + intent_name + ' not supported')
def get_info(intent_request):
return {'dialogAction': {'type': 'Close', 'fulfillmentState': 'Fulfilled', 'message': {'contentType': 'PlainText', 'content': 'hello!'}}} |
# Title : TODO
# Objective : TODO
# Created by: Wenzurk
# Created on: 2018/2/6
alien_color = 'green'
# if alien_color == 'green':
# print("You get 5 point.")
# if alien_color == 'yellow':
# print("You are a loser.")
# if alien_color == 'green':
# print("You got 5 point.")
# else:
# print("You got 10 point.")
#
# if alien_color == 'yellow':
# print("You got 5 point.")
# else:
# print("You got 10 point.")
if alien_color == 'green':
print("You got 5 point.")
elif alien_color == 'yellow':
print("You got 10 point.")
elif alien_color == 'red':
print("You got 15 point.") | alien_color = 'green'
if alien_color == 'green':
print('You got 5 point.')
elif alien_color == 'yellow':
print('You got 10 point.')
elif alien_color == 'red':
print('You got 15 point.') |
expected_output = {
'dir': {
'total_free_bytes': '939092 kbytes',
'files':
{'pnet_cfg.log':
{'permission': '-rw-r--r--', 'date': 'May 10 2017', 'index': '14', 'size': '10429'},
'status_file':
{'permission': '-rw-r--r--', 'date': 'May 10 13:15', 'index': '18', 'size': '2458'},
'nvgen_traces':
{'permission': 'drwxr-xr-x', 'date': 'May 10 14:02', 'index': '16353', 'size': '4096'},
'clihistory':
{'permission': 'drwx------', 'date': 'May 10 2017', 'index': '8177', 'size': '4096'},
'core':
{'permission': 'drwxr-xr-x', 'date': 'May 10 2017', 'index': '12', 'size': '4096'},
'cvac.log':
{'permission': '-rw-r--r--', 'date': 'May 10 2017', 'index': '20', 'size': '773'},
'kim':
{'permission': 'drwxr-xr-x', 'date': 'May 10 2017', 'index': '8178', 'size': '4096'},
'config -> /misc/config':
{'permission': 'lrwxrwxrwx', 'date': 'May 10 2017', 'index': '15', 'size': '12'},
'ztp':
{'permission': 'drwxr-xr-x', 'date': 'May 10 13:41', 'index': '8179', 'size': '4096'},
'lost+found':
{'permission': 'drwx------', 'date': 'May 10 2017', 'index': '11', 'size': '16384'},
'envoke_log':
{'permission': '-rw-r--r--', 'date': 'May 10 2017', 'index': '13', 'size': '1438'}},
'total_bytes': '1012660 kbytes',
'dir_name': '/misc/scratch'}}
| expected_output = {'dir': {'total_free_bytes': '939092 kbytes', 'files': {'pnet_cfg.log': {'permission': '-rw-r--r--', 'date': 'May 10 2017', 'index': '14', 'size': '10429'}, 'status_file': {'permission': '-rw-r--r--', 'date': 'May 10 13:15', 'index': '18', 'size': '2458'}, 'nvgen_traces': {'permission': 'drwxr-xr-x', 'date': 'May 10 14:02', 'index': '16353', 'size': '4096'}, 'clihistory': {'permission': 'drwx------', 'date': 'May 10 2017', 'index': '8177', 'size': '4096'}, 'core': {'permission': 'drwxr-xr-x', 'date': 'May 10 2017', 'index': '12', 'size': '4096'}, 'cvac.log': {'permission': '-rw-r--r--', 'date': 'May 10 2017', 'index': '20', 'size': '773'}, 'kim': {'permission': 'drwxr-xr-x', 'date': 'May 10 2017', 'index': '8178', 'size': '4096'}, 'config -> /misc/config': {'permission': 'lrwxrwxrwx', 'date': 'May 10 2017', 'index': '15', 'size': '12'}, 'ztp': {'permission': 'drwxr-xr-x', 'date': 'May 10 13:41', 'index': '8179', 'size': '4096'}, 'lost+found': {'permission': 'drwx------', 'date': 'May 10 2017', 'index': '11', 'size': '16384'}, 'envoke_log': {'permission': '-rw-r--r--', 'date': 'May 10 2017', 'index': '13', 'size': '1438'}}, 'total_bytes': '1012660 kbytes', 'dir_name': '/misc/scratch'}} |
'''
Author: your name
Date: 2021-08-16 11:00:16
LastEditTime: 2021-08-16 11:00:17
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /lanenet-lane-detection-pytorch/local_utils/__init__.py
'''
| """
Author: your name
Date: 2021-08-16 11:00:16
LastEditTime: 2021-08-16 11:00:17
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: /lanenet-lane-detection-pytorch/local_utils/__init__.py
""" |
arr = [1,2,3,4,6,7,8,9,12,4,2,5,7,2,5,2,1,4,6,3]
# arr = [21,31,43,57,97,89,63,61,51,75,2,4,6,8,0,12,22,24,12,68,62]
print(arr)
lst = list(sorted(arr, key=lambda x: [x % 2, x]))
print(lst)
# f_idx = 0
# b_idx = len(arr) - 1
# while f_idx < b_idx:
# if arr[f_idx] % 2 != 0:
# if arr[b_idx] % 2 != 0:
# b_idx -= 1
# else:
# tmp = arr[f_idx]
# arr[f_idx] = arr[b_idx]
# arr[b_idx] = tmp
# else:
# f_idx += 1
# print(arr)
# lst = list(sorted(arr, key=lambda x: [x % 2, x]))
# print(lst) | arr = [1, 2, 3, 4, 6, 7, 8, 9, 12, 4, 2, 5, 7, 2, 5, 2, 1, 4, 6, 3]
print(arr)
lst = list(sorted(arr, key=lambda x: [x % 2, x]))
print(lst) |
def test_str(RS, str_data):
assert RS(str_data, 0.8) != str_data
assert type(RS(str_data, 0.8)) is str
assert len(RS(str_data, 0.8, repetition=3)) == 3
def test_list(RS, list_data):
assert RS(list_data, 0.8) != list_data
assert type(RS(list_data, 0.8)) is list
assert len(RS(list_data, 0.8, repetition=3)) == len(list_data) * 3
| def test_str(RS, str_data):
assert rs(str_data, 0.8) != str_data
assert type(rs(str_data, 0.8)) is str
assert len(rs(str_data, 0.8, repetition=3)) == 3
def test_list(RS, list_data):
assert rs(list_data, 0.8) != list_data
assert type(rs(list_data, 0.8)) is list
assert len(rs(list_data, 0.8, repetition=3)) == len(list_data) * 3 |
class Solution:
def minArea(self, image: List[List[str]], x: int, y: int) -> int:
m = len(image)
n = len(image[0])
dirs = [0, 1, 0, -1, 0]
topLeft = [x, y]
bottomRight = [x, y]
q = deque([(x, y)])
image[x][y] = '2' # visited
while q:
i, j = q.popleft()
for k in range(4):
r = i + dirs[k]
c = j + dirs[k + 1]
if r < 0 or r == m or c < 0 or c == n:
continue
if image[r][c] != '1':
continue
topLeft[0] = min(topLeft[0], r)
topLeft[1] = min(topLeft[1], c)
bottomRight[0] = max(bottomRight[0], r)
bottomRight[1] = max(bottomRight[1], c)
q.append((r, c))
image[r][c] = '2'
width = bottomRight[1] - topLeft[1] + 1
height = bottomRight[0] - topLeft[0] + 1
return width * height
| class Solution:
def min_area(self, image: List[List[str]], x: int, y: int) -> int:
m = len(image)
n = len(image[0])
dirs = [0, 1, 0, -1, 0]
top_left = [x, y]
bottom_right = [x, y]
q = deque([(x, y)])
image[x][y] = '2'
while q:
(i, j) = q.popleft()
for k in range(4):
r = i + dirs[k]
c = j + dirs[k + 1]
if r < 0 or r == m or c < 0 or (c == n):
continue
if image[r][c] != '1':
continue
topLeft[0] = min(topLeft[0], r)
topLeft[1] = min(topLeft[1], c)
bottomRight[0] = max(bottomRight[0], r)
bottomRight[1] = max(bottomRight[1], c)
q.append((r, c))
image[r][c] = '2'
width = bottomRight[1] - topLeft[1] + 1
height = bottomRight[0] - topLeft[0] + 1
return width * height |
"""
ID: TRAN
Title: Transitions and Transversions
URL: http://rosalind.info/problems/tran/
"""
def fasta_file_parser(fasta_file_path):
"""
Parses Fasta files.
Args:
fasta_file_path {str}: path of Fasta file
Returns:
dict: list of dnas
"""
with open(fasta_file_path, 'r') as fasta_file:
dataset = fasta_file.readlines()
dnas = {}
for line in dataset:
if line.startswith(">"):
id = line[1:-1]
dnas[id] = ""
else:
dnas[id] += line.strip()
return list(dnas.values())
# after parsing fasta file, we have only two dnas
# dnas = fasta_file_parser("path")
# first_dna = dnas[0]
# second_dna = dnas[1]
def transition_transversion_ratio(first_dna, second_dna):
"""
Calculates the transition/transversion ratio.
Args:
first_dna {str}: DNA string
second_dna {str}: DNA string
Returns:
float: the transition/transversion ratio
"""
transition = 0
transversion = 0
for index in range(len(first_dna)):
if (first_dna[index] in 'AG' and second_dna[index] in 'CT') or (first_dna[index] in 'CT' and second_dna[index] in 'AG'):
transversion += 1
elif first_dna[index] == second_dna[index]:
continue
else:
transition += 1
return transition/transversion
| """
ID: TRAN
Title: Transitions and Transversions
URL: http://rosalind.info/problems/tran/
"""
def fasta_file_parser(fasta_file_path):
"""
Parses Fasta files.
Args:
fasta_file_path {str}: path of Fasta file
Returns:
dict: list of dnas
"""
with open(fasta_file_path, 'r') as fasta_file:
dataset = fasta_file.readlines()
dnas = {}
for line in dataset:
if line.startswith('>'):
id = line[1:-1]
dnas[id] = ''
else:
dnas[id] += line.strip()
return list(dnas.values())
def transition_transversion_ratio(first_dna, second_dna):
"""
Calculates the transition/transversion ratio.
Args:
first_dna {str}: DNA string
second_dna {str}: DNA string
Returns:
float: the transition/transversion ratio
"""
transition = 0
transversion = 0
for index in range(len(first_dna)):
if first_dna[index] in 'AG' and second_dna[index] in 'CT' or (first_dna[index] in 'CT' and second_dna[index] in 'AG'):
transversion += 1
elif first_dna[index] == second_dna[index]:
continue
else:
transition += 1
return transition / transversion |
#@+leo-ver=5-thin
#@+node:ekr.20170428084207.353: * @file ../external/npyscreen/npysNPSFilteredData.py
#@+others
#@+node:ekr.20170428084207.354: ** class NPSFilteredDataBase
class NPSFilteredDataBase:
#@+others
#@+node:ekr.20170428084207.355: *3* __init__
def __init__(self, values=None):
self._values = None
self._filter = None
self._filtered_values = None
self.set_values(values)
#@+node:ekr.20170428084207.356: *3* set_values
def set_values(self, value):
self._values = value
#@+node:ekr.20170428084207.357: *3* get_all_values
def get_all_values(self):
return self._values
#@+node:ekr.20170428084207.358: *3* set_filter
def set_filter(self, this_filter):
self._filter = this_filter
self._apply_filter()
#@+node:ekr.20170428084207.359: *3* filter_data
def filter_data(self):
# should set self._filtered_values to the filtered values
raise Exception("You need to define the way the filter operates")
#@+node:ekr.20170428084207.360: *3* get
def get(self):
self._apply_filter()
return self._filtered_values
#@+node:ekr.20170428084207.361: *3* _apply_filter
def _apply_filter(self):
# Could do some caching here - but the default definition does not.
self._filtered_values = self.filter_data()
#@-others
#@+node:ekr.20170428084207.362: ** class NPSFilteredDataList
class NPSFilteredDataList(NPSFilteredDataBase):
#@+others
#@+node:ekr.20170428084207.363: *3* filter_data
def filter_data(self):
if self._filter and self.get_all_values():
return [x for x in self.get_all_values() if self._filter in x]
else:
return self.get_all_values()
#@-others
#@-others
#@@language python
#@@tabwidth -4
#@-leo
| class Npsfiltereddatabase:
def __init__(self, values=None):
self._values = None
self._filter = None
self._filtered_values = None
self.set_values(values)
def set_values(self, value):
self._values = value
def get_all_values(self):
return self._values
def set_filter(self, this_filter):
self._filter = this_filter
self._apply_filter()
def filter_data(self):
raise exception('You need to define the way the filter operates')
def get(self):
self._apply_filter()
return self._filtered_values
def _apply_filter(self):
self._filtered_values = self.filter_data()
class Npsfiltereddatalist(NPSFilteredDataBase):
def filter_data(self):
if self._filter and self.get_all_values():
return [x for x in self.get_all_values() if self._filter in x]
else:
return self.get_all_values() |
my_dictionary = {'name': 'naeim', 'age': 33}
print(my_dictionary['name'])
print(my_dictionary['age'])
print(type(my_dictionary))
print(my_dictionary)
my_dictionary['family'] = 'nobahari'
print(my_dictionary)
for item in my_dictionary:
print(f"your {item} is {my_dictionary[item]}")
del my_dictionary['family']
print(my_dictionary)
for item in my_dictionary:
print(f"your {item} is {my_dictionary[item]}")
my_final_dictionary = {
'age' : 33,
'name' : 'his name',
'family name' : 'his family name'
}
print(my_final_dictionary)
for item in my_final_dictionary:
print(f"your {item} is {my_final_dictionary[item]}")
my_funny_resault = my_dictionary.get('age', 'no age')
print(my_funny_resault)
my_funny_resault = my_final_dictionary.get('sex', 'not set')
print(my_funny_resault)
print(my_dictionary.items())
for i, j in my_dictionary.items():
print(f"i is {i} an j is {j}")
new_dictionary = {
'abc' : '123',
'def' : '456',
'ghi' : '789',
}
print('-------------------------------------------')
for key in new_dictionary:
print(key)
print('-------------------------------------------')
for key in new_dictionary.keys():
print(key)
print('-------------------------------------------')
for value in new_dictionary.values():
print(value)
print('-------------------------------------------')
for key,value in new_dictionary.items():
print(f"{value} = {key}")
print('-------------------------------------------')
test_dictionary1 = {
'abc' : '123',
'def' : '456',
'ghi' : '789',
}
test_dictionary2 = {
'abcd' : '1234',
'defg' : '4567',
'ghij' : '7890',
}
test_list = list()
test_list.append(test_dictionary1)
test_list.append(test_dictionary2)
print(test_list) | my_dictionary = {'name': 'naeim', 'age': 33}
print(my_dictionary['name'])
print(my_dictionary['age'])
print(type(my_dictionary))
print(my_dictionary)
my_dictionary['family'] = 'nobahari'
print(my_dictionary)
for item in my_dictionary:
print(f'your {item} is {my_dictionary[item]}')
del my_dictionary['family']
print(my_dictionary)
for item in my_dictionary:
print(f'your {item} is {my_dictionary[item]}')
my_final_dictionary = {'age': 33, 'name': 'his name', 'family name': 'his family name'}
print(my_final_dictionary)
for item in my_final_dictionary:
print(f'your {item} is {my_final_dictionary[item]}')
my_funny_resault = my_dictionary.get('age', 'no age')
print(my_funny_resault)
my_funny_resault = my_final_dictionary.get('sex', 'not set')
print(my_funny_resault)
print(my_dictionary.items())
for (i, j) in my_dictionary.items():
print(f'i is {i} an j is {j}')
new_dictionary = {'abc': '123', 'def': '456', 'ghi': '789'}
print('-------------------------------------------')
for key in new_dictionary:
print(key)
print('-------------------------------------------')
for key in new_dictionary.keys():
print(key)
print('-------------------------------------------')
for value in new_dictionary.values():
print(value)
print('-------------------------------------------')
for (key, value) in new_dictionary.items():
print(f'{value} = {key}')
print('-------------------------------------------')
test_dictionary1 = {'abc': '123', 'def': '456', 'ghi': '789'}
test_dictionary2 = {'abcd': '1234', 'defg': '4567', 'ghij': '7890'}
test_list = list()
test_list.append(test_dictionary1)
test_list.append(test_dictionary2)
print(test_list) |
'''
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. You have to paint all the houses such that no two adjacent houses have the same color.
The cost of painting each house with a certain color is represented by a n x k cost matrix. For example, costs[0][0] is the cost of painting house 0 with color 0; costs[1][2] is the cost of painting house 1 with color 2, and so on... Find the minimum cost to paint all houses.
Note:
All costs are positive integers.
Example:
Input: [[1,5,3],[2,9,4]]
Output: 5
Explanation: Paint house 0 into color 0, paint house 1 into color 2. Minimum cost: 1 + 4 = 5;
Or paint house 0 into color 2, paint house 1 into color 0. Minimum cost: 3 + 2 = 5.
Follow up:
Could you solve it in O(nk) runtime?
'''
class Solution(object):
def minCostII(self, costs):
"""
:type costs: List[List[int]]
:rtype: int
"""
if not costs:
return 0
dp = [[float('inf') for j in xrange(len(costs[i]))] for i in xrange(len(costs))]
for j in xrange(len(costs[0])):
dp[0][j] = costs[0][j]
for i in xrange(1, len(costs)):
for j in xrange(len(costs[i])):
for k in xrange(len(costs[i-1])):
if j == k:
continue
dp[i][j] = min(dp[i][j], costs[i][j] + dp[i-1][k])
return min(dp[-1])
| """
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. You have to paint all the houses such that no two adjacent houses have the same color.
The cost of painting each house with a certain color is represented by a n x k cost matrix. For example, costs[0][0] is the cost of painting house 0 with color 0; costs[1][2] is the cost of painting house 1 with color 2, and so on... Find the minimum cost to paint all houses.
Note:
All costs are positive integers.
Example:
Input: [[1,5,3],[2,9,4]]
Output: 5
Explanation: Paint house 0 into color 0, paint house 1 into color 2. Minimum cost: 1 + 4 = 5;
Or paint house 0 into color 2, paint house 1 into color 0. Minimum cost: 3 + 2 = 5.
Follow up:
Could you solve it in O(nk) runtime?
"""
class Solution(object):
def min_cost_ii(self, costs):
"""
:type costs: List[List[int]]
:rtype: int
"""
if not costs:
return 0
dp = [[float('inf') for j in xrange(len(costs[i]))] for i in xrange(len(costs))]
for j in xrange(len(costs[0])):
dp[0][j] = costs[0][j]
for i in xrange(1, len(costs)):
for j in xrange(len(costs[i])):
for k in xrange(len(costs[i - 1])):
if j == k:
continue
dp[i][j] = min(dp[i][j], costs[i][j] + dp[i - 1][k])
return min(dp[-1]) |
"""
Inverting Keys & Values
"""
# Invert dict1 - make the current keys into values and the current values into keys.
dict1 = { "k1" : "v1", "k2" : "v2", "k3" : "v1" }
| """
Inverting Keys & Values
"""
dict1 = {'k1': 'v1', 'k2': 'v2', 'k3': 'v1'} |
############################################################
# from django.urls import path, include
############################################################
app_name = "adventure"
urlpatterns = []
| app_name = 'adventure'
urlpatterns = [] |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
def helper(self, node, cur_sum):
if not node.left and not node.right:
self.ans += cur_sum*2 + node.val
if node.left:
self.helper(node.left, cur_sum*2 + node.val)
if node.right:
self.helper(node.right, cur_sum*2 + node.val)
def sumRootToLeaf(self, root: TreeNode) -> int:
if not root:
return 0
self.ans = 0
self.helper(root, 0)
return self.ans
| class Solution:
def helper(self, node, cur_sum):
if not node.left and (not node.right):
self.ans += cur_sum * 2 + node.val
if node.left:
self.helper(node.left, cur_sum * 2 + node.val)
if node.right:
self.helper(node.right, cur_sum * 2 + node.val)
def sum_root_to_leaf(self, root: TreeNode) -> int:
if not root:
return 0
self.ans = 0
self.helper(root, 0)
return self.ans |
#declaration of x
x = "There are %d types of people." % 10
#declaration of a variable
binary = "binary"
#here it is also a variable
do_not = "don't"
#declaretion of y
y = "Those who know %s and those who %s." % (binary,do_not)
# it prints x
print (x + y)
# it prints y
print ("hello '%s' hi" % y) | x = 'There are %d types of people.' % 10
binary = 'binary'
do_not = "don't"
y = 'Those who know %s and those who %s.' % (binary, do_not)
print(x + y)
print("hello '%s' hi" % y) |
class Bracket:
def __init__(self, round16):
self.round16 = round16
self.quarters = [None] * 8
self.semis = [None] * 4
self.finals = [None] * 2
self.thirdPlaceMatch = [None] * 2
# results
self.champion = [None] * 1
self.runnerUp = [None] * 1
self.third = [None] * 1
| class Bracket:
def __init__(self, round16):
self.round16 = round16
self.quarters = [None] * 8
self.semis = [None] * 4
self.finals = [None] * 2
self.thirdPlaceMatch = [None] * 2
self.champion = [None] * 1
self.runnerUp = [None] * 1
self.third = [None] * 1 |
input = """
8 2 2 3 0 0
6 0 2 0 2 3 1 2
0
3 b
2 a
0
B+
0
B-
1
0
1
"""
output = """
COST 1@1
"""
| input = '\n8 2 2 3 0 0\n6 0 2 0 2 3 1 2\n0\n3 b\n2 a\n0\nB+\n0\nB-\n1\n0\n1\n'
output = '\nCOST 1@1\n' |
"""
Definition of ListNode
class ListNode(object):
def __init__(self, val, next=None):
self.val = val
self.next = next
Definition of TreeNode:
class TreeNode:
def __init__(self, val):
self.val = val
self.left, self.right = None, None
"""
class Solution:
"""
@param: head: The first node of linked list.
@return: a tree node
"""
def sortedListToBST(self, head):
# write your code here
return self._dfs(head)
def _dfs(self, head):
if not head:
return head
if head.next is None:
return TreeNode(head.val)
dummy = ListNode(0, head)
slow = dummy
fast = head
while fast and fast.next:
slow = slow.next
fast = fast.next.next
tmp = slow.next
slow.next = None
root = TreeNode(tmp.val)
root.left = self._dfs(head)
root.right = self._dfs(tmp.next)
return root
| """
Definition of ListNode
class ListNode(object):
def __init__(self, val, next=None):
self.val = val
self.next = next
Definition of TreeNode:
class TreeNode:
def __init__(self, val):
self.val = val
self.left, self.right = None, None
"""
class Solution:
"""
@param: head: The first node of linked list.
@return: a tree node
"""
def sorted_list_to_bst(self, head):
return self._dfs(head)
def _dfs(self, head):
if not head:
return head
if head.next is None:
return tree_node(head.val)
dummy = list_node(0, head)
slow = dummy
fast = head
while fast and fast.next:
slow = slow.next
fast = fast.next.next
tmp = slow.next
slow.next = None
root = tree_node(tmp.val)
root.left = self._dfs(head)
root.right = self._dfs(tmp.next)
return root |
#Python 3.X solution for Easy Challenge #0008
#GitHub: https://github.com/Ashkore
#https://www.reddit.com/user/Ashkoree/
string = " bottles of beer on the wall, take one down, pass it around."
bottles = 99
for x in range(bottles+1):
print (str(bottles-x)+string)
#Extra Credit ??
newstring = ""
for x in range(bottles+1):
newstring += str(bottles-x)+string
print (newstring) | string = ' bottles of beer on the wall, take one down, pass it around.'
bottles = 99
for x in range(bottles + 1):
print(str(bottles - x) + string)
newstring = ''
for x in range(bottles + 1):
newstring += str(bottles - x) + string
print(newstring) |
# DO NOT SHARE YOUR CREDENTIALS
# Login into your Spotify developer account at https://developer.spotify.com.
# Create an app and visit the Dashboard, go to the app's overview to retrieve the 'Client ID' and 'Client Secret' values.
# Put these values into the variables below.
client_id = ''
client_secret = ''
username = '' # Your official Spotify account username.
# Then go to the Spotify developer app's Settings and set the field called 'Redirect URIs' with this value:
redirect_uri = 'http://localhost:8080/'
| client_id = ''
client_secret = ''
username = ''
redirect_uri = 'http://localhost:8080/' |
# Python Variables
# Variables
# Variables are containers for storing data values.
# Creating Variables
# Python has no command for declaring a variable.
# A variable is created the moment you first assign a value to it.
# Example
x = 5
y = "John"
print(x)
print(y)
# Variables do not need to be declared with any particular type, and can even change type after they have been set.
# Example
x = 4 # x is of type int
x = "Vera Kasela" # x is now of type str
print(x)
# Casting
# If you want to specify the data type of a variable, this can be done with casting.
# Example
x = str(3) # x will be '3'
y = int(3) # y will be 3
z = float(3) # z will be 3.0
# Get the Type
# You can get the data type of a variable with the type() function.
# Example
x = 5
y = "John"
print(type(x))
print(type(y))
# You will learn more about data types and casting later in this tutorial.
# Single or Double Quotes?
# String variables can be declared either by using single or double quotes:
# Example
x = "John"
# is the same as
x = 'John'
# Case-Sensitive
# Variable names are case-sensitive.
# Example
# This will create two variables:
a = 4
A = "Sally"
#A will not overwrite a
#### Python - Variable Names ####
# Variable Names
# A variable can have a short name (like x and y) or a more descriptive name (age, carname, total_volume). Rules for Python variables:
# A variable name must start with a letter or the underscore character
# A variable name cannot start with a number
# A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )
# Variable names are case-sensitive (age, Age and AGE are three different variables)
# Example
# Legal variable names:
myvar = "John"
my_var = "John"
_my_var = "John"
myVar = "John"
MYVAR = "John"
myvar2 = "John"
# Example
# Illegal variable names:
# 2myvar = "John"
# my-var = "John"
# my var = "John"
# Remember that variable names are case-sensitive
# Multi Words Variable Names
# Variable names with more than one word can be difficult to read.
# There are several techniques you can use to make them more readable:
# Camel Case
# Each word, except the first, starts with a capital letter:
myVariableName = "John"
# Pascal Case
# Each word starts with a capital letter:
MyVariableName = "John"
# Snake Case
# Each word is separated by an underscore character:
my_variable_name = "John"
### Python Variables - Assign Multiple Values ###
# Many Values to Multiple Variables
# Python allows you to assign values to multiple variables in one line:
# Example
x, y, z = "Orange", "Banana", "Cherry"
print(x)
print(y)
print(z)
# Note: Make sure the number of variables matches the number of values, or else you will get an error.
# One Value to Multiple Variables
# And you can assign the same value to multiple variables in one line:
# Example
x = y = z = "Orange"
print(x)
print(y)
print(z)
# Unpack a Collection
# If you have a collection of values in a list, tuple etc. Python allows you extract the values into variables. This is called unpacking.
# Example
# Unpack a list:
fruits = ["apple", "banana", "cherry"]
x, y, z = fruits
print(x)
print(y)
print(z)
# Python - Output Variables
# Output Variables
# The Python print statement is often used to output variables.
# To combine both text and a variable, Python uses the + character:
# Example
x = "awesome"
print("Python is " + x)
# You can also use the + character to add a variable to another variable:
# Example
x = "Python is "
y = "awesome"
z = x + y
print(z)
# For numbers, the + character works as a mathematical operator:
# Example
x = 5
y = 10
print(x + y)
# If you try to combine a string and a number, Python will give you an error:
# Example
x = 5
y = "John"
print(x + y)
# Python - Global Variables
# Global Variables
# Variables that are created outside of a function (as in all of the examples above) are known as global variables.
# Global variables can be used by everyone, both inside of functions and outside.
# Example
# Create a variable outside of a function, and use it inside the function
x = "awesome"
def myfunc():
print("Python is " + x)
myfunc()
# If you create a variable with the same name inside a function, this variable will be local, and can only be used inside the function. The global variable with the same name will remain as it was, global and with the original value.
# Example
# Create a variable inside a function, with the same name as the global variable
# x = "awesome"
def myfunc():
x = "fantastic"
print("Python is " + x)
myfunc()
print("Python is " + x)
# The global Keyword
# Normally, when you create a variable inside a function, that variable is local, and can only be used inside that function.
# To create a global variable inside a function, you can use the global keyword.
# Example
# If you use the global keyword, the variable belongs to the global scope:
def myfunc():
global x
x = "fantastic"
myfunc()
print("Python is " + x)
# Also, use the global keyword if you want to change a global variable inside a function.
# Example
# To change the value of a global variable inside a function, refer to the variable by using the global keyword:
x = "awesome"
def myfunc():
global x
x = "fantastic"
myfunc()
print("Python is " + x) | x = 5
y = 'John'
print(x)
print(y)
x = 4
x = 'Vera Kasela'
print(x)
x = str(3)
y = int(3)
z = float(3)
x = 5
y = 'John'
print(type(x))
print(type(y))
x = 'John'
x = 'John'
a = 4
a = 'Sally'
myvar = 'John'
my_var = 'John'
_my_var = 'John'
my_var = 'John'
myvar = 'John'
myvar2 = 'John'
my_variable_name = 'John'
my_variable_name = 'John'
my_variable_name = 'John'
(x, y, z) = ('Orange', 'Banana', 'Cherry')
print(x)
print(y)
print(z)
x = y = z = 'Orange'
print(x)
print(y)
print(z)
fruits = ['apple', 'banana', 'cherry']
(x, y, z) = fruits
print(x)
print(y)
print(z)
x = 'awesome'
print('Python is ' + x)
x = 'Python is '
y = 'awesome'
z = x + y
print(z)
x = 5
y = 10
print(x + y)
x = 5
y = 'John'
print(x + y)
x = 'awesome'
def myfunc():
print('Python is ' + x)
myfunc()
def myfunc():
x = 'fantastic'
print('Python is ' + x)
myfunc()
print('Python is ' + x)
def myfunc():
global x
x = 'fantastic'
myfunc()
print('Python is ' + x)
x = 'awesome'
def myfunc():
global x
x = 'fantastic'
myfunc()
print('Python is ' + x) |
class Solver:
@staticmethod
def create(board):
return Solver(board)
def __init__(self, board):
self._board = board
def solve(self):
return self._tryToPlaceValidQueen(self._board)
def _tryToPlaceValidQueen(self, solution):
columns = self._getNonThreatenedList(solution.getThreatenedColumns())
rows = self._getNonThreatenedList(solution.getThreatenedRows())
for x in columns:
for y in rows:
if solution.isSafeQueenPosition(x, y):
solution.placeQueen(x, y)
if solution.getQueenCount() == solution.getSize():
return solution
newSolution = self._tryToPlaceValidQueen(solution)
if newSolution is not None:
return newSolution
solution.removeQueen(x, y)
return None
def _getNonThreatenedList(self, threatenedList):
solutionRange = range(0, self._board.getSize())
return [i for i in solutionRange if i not in threatenedList]
| class Solver:
@staticmethod
def create(board):
return solver(board)
def __init__(self, board):
self._board = board
def solve(self):
return self._tryToPlaceValidQueen(self._board)
def _try_to_place_valid_queen(self, solution):
columns = self._getNonThreatenedList(solution.getThreatenedColumns())
rows = self._getNonThreatenedList(solution.getThreatenedRows())
for x in columns:
for y in rows:
if solution.isSafeQueenPosition(x, y):
solution.placeQueen(x, y)
if solution.getQueenCount() == solution.getSize():
return solution
new_solution = self._tryToPlaceValidQueen(solution)
if newSolution is not None:
return newSolution
solution.removeQueen(x, y)
return None
def _get_non_threatened_list(self, threatenedList):
solution_range = range(0, self._board.getSize())
return [i for i in solutionRange if i not in threatenedList] |
def export_tomo_scan_legacy(h, fpath=None):
if fpath is None:
fpath = './'
else:
if not fpath[-1] == '/':
fpath += '/'
scan_type = "tomo_scan"
scan_id = h.start["scan_id"]
try:
x_eng = h.start["XEng"]
except:
x_eng = h.start["x_ray_energy"]
bkg_img_num = h.start["num_bkg_images"]
dark_img_num = h.start["num_dark_images"]
chunk_size = h.start["plan_args"]["chunk_size"]
angle_i = h.start["plan_args"]["start"]
angle_e = h.start["plan_args"]["stop"]
angle_n = h.start["plan_args"]["num"]
exposure_t = h.start["plan_args"]["exposure_time"]
img = np.array(list(h.data("Andor_image")))
# img = np.squeeze(img)
img_dark = img[0:dark_img_num].reshape(-1, img.shape[-2], img.shape[-1])
img_tomo = img[dark_img_num:-bkg_img_num]
img_bkg = img[-bkg_img_num:].reshape(-1, img.shape[-2], img.shape[-1])
s = img_dark.shape
# img_dark_avg = np.mean(img_dark,axis=0).reshape(1, s[1], s[2])
# img_bkg_avg = np.mean(img_bkg, axis=0).reshape(1, s[1], s[2])
img_angle = np.linspace(angle_i, angle_e, angle_n)
fname = fpath + scan_type + "_id_" + str(scan_id) + ".h5"
with h5py.File(fname, "w") as hf:
hf.create_dataset("scan_id", data=scan_id)
hf.create_dataset("X_eng", data=x_eng)
hf.create_dataset("img_bkg", data=img_bkg)
hf.create_dataset("img_dark", data=img_dark)
hf.create_dataset("img_tomo", data=img_tomo)
hf.create_dataset("angle", data=img_angle)
try:
write_lakeshore_to_file(h, fname)
except:
print("fails to write lakeshore info into {fname}")
del img
del img_tomo
del img_dark
del img_bkg
def export_fly_scan_legacy(h, fpath=None):
if fpath is None:
fpath = './'
else:
if not fpath[-1] == '/':
fpath += '/'
uid = h.start["uid"]
note = h.start["note"]
scan_type = "fly_scan"
scan_id = h.start["scan_id"]
scan_time = h.start["time"]
x_pos = h.table("baseline")["zps_sx"][1]
y_pos = h.table("baseline")["zps_sy"][1]
z_pos = h.table("baseline")["zps_sz"][1]
r_pos = h.table("baseline")["zps_pi_r"][1]
zp_z_pos = h.table("baseline")["zp_z"][1]
DetU_z_pos = h.table("baseline")["DetU_z"][1]
M = (DetU_z_pos/zp_z_pos - 1)*10.
pxl_sz = 6500./M
try:
x_eng = h.start["XEng"]
except:
x_eng = h.start["x_ray_energy"]
chunk_size = h.start["chunk_size"]
# sanity check: make sure we remembered the right stream name
assert "zps_pi_r_monitor" in h.stream_names
pos = h.table("zps_pi_r_monitor")
imgs = np.array(list(h.data("Andor_image")))
img_dark = imgs[0]
img_bkg = imgs[-1]
s = img_dark.shape
img_dark_avg = np.mean(img_dark, axis=0).reshape(1, s[1], s[2])
img_bkg_avg = np.mean(img_bkg, axis=0).reshape(1, s[1], s[2])
imgs = imgs[1:-1]
s1 = imgs.shape
imgs = imgs.reshape([s1[0] * s1[1], s1[2], s1[3]])
with db.reg.handler_context({"AD_HDF5": AreaDetectorHDF5TimestampHandler}):
chunked_timestamps = list(h.data("Andor_image"))
chunked_timestamps = chunked_timestamps[1:-1]
raw_timestamps = []
for chunk in chunked_timestamps:
raw_timestamps.extend(chunk.tolist())
timestamps = convert_AD_timestamps(pd.Series(raw_timestamps))
pos["time"] = pos["time"].dt.tz_localize("US/Eastern")
img_day, img_hour = (
timestamps.dt.day,
timestamps.dt.hour,
)
img_min, img_sec, img_msec = (
timestamps.dt.minute,
timestamps.dt.second,
timestamps.dt.microsecond,
)
img_time = (
img_day * 86400 + img_hour * 3600 + img_min * 60 + img_sec + img_msec * 1e-6
)
img_time = np.array(img_time)
mot_day, mot_hour = (
pos["time"].dt.day,
pos["time"].dt.hour,
)
mot_min, mot_sec, mot_msec = (
pos["time"].dt.minute,
pos["time"].dt.second,
pos["time"].dt.microsecond,
)
mot_time = (
mot_day * 86400 + mot_hour * 3600 + mot_min * 60 + mot_sec + mot_msec * 1e-6
)
mot_time = np.array(mot_time)
mot_pos = np.array(pos["zps_pi_r"])
offset = np.min([np.min(img_time), np.min(mot_time)])
img_time -= offset
mot_time -= offset
mot_pos_interp = np.interp(img_time, mot_time, mot_pos)
pos2 = mot_pos_interp.argmax() + 1
#img_angle = mot_pos_interp[: pos2 - chunk_size] # rotation angles
img_angle = mot_pos_interp[: pos2]
#img_tomo = imgs[: pos2 - chunk_size] # tomo images
img_tomo = imgs[: pos2]
fname = fpath + scan_type + "_id_" + str(scan_id) + ".h5"
with h5py.File(fname, "w") as hf:
hf.create_dataset("note", data=str(note))
hf.create_dataset("uid", data=uid)
hf.create_dataset("scan_id", data=int(scan_id))
hf.create_dataset("scan_time", data=scan_time)
hf.create_dataset("X_eng", data=x_eng)
hf.create_dataset("img_bkg", data=np.array(img_bkg, dtype=np.uint16))
hf.create_dataset("img_dark", data=np.array(img_dark, dtype=np.uint16))
hf.create_dataset("img_bkg_avg", data=np.array(img_bkg_avg, dtype=np.float32))
hf.create_dataset("img_dark_avg", data=np.array(img_dark_avg, dtype=np.float32))
hf.create_dataset("img_tomo", data=np.array(img_tomo, dtype=np.uint16))
hf.create_dataset("angle", data=img_angle)
hf.create_dataset("x_ini", data=x_pos)
hf.create_dataset("y_ini", data=y_pos)
hf.create_dataset("z_ini", data=z_pos)
hf.create_dataset("r_ini", data=r_pos)
hf.create_dataset("Magnification", data=M)
hf.create_dataset("Pixel Size", data=str(str(pxl_sz)+'nm'))
try:
write_lakeshore_to_file(h, fname)
except:
print("fails to write lakeshore info into {fname}")
del img_tomo
del img_dark
del img_bkg
del imgs
def export_xanes_scan_legacy(h, fpath=None):
if fpath is None:
fpath = './'
else:
if not fpath[-1] == '/':
fpath += '/'
zp_z_pos = h.table("baseline")["zp_z"][1]
DetU_z_pos = h.table("baseline")["DetU_z"][1]
M = (DetU_z_pos/zp_z_pos - 1)*10.
pxl_sz = 6500./M
scan_type = h.start["plan_name"]
# scan_type = 'xanes_scan'
uid = h.start["uid"]
note = h.start["note"]
scan_id = h.start["scan_id"]
scan_time = h.start["time"]
try:
x_eng = h.start["XEng"]
except:
x_eng = h.start["x_ray_energy"]
chunk_size = h.start["chunk_size"]
num_eng = h.start["num_eng"]
imgs = np.array(list(h.data("Andor_image")))
img_dark = imgs[0]
img_dark_avg = np.mean(img_dark, axis=0).reshape(
[1, img_dark.shape[1], img_dark.shape[2]]
)
eng_list = list(h.start["eng_list"])
s = imgs.shape
img_xanes_avg = np.zeros([num_eng, s[2], s[3]])
img_bkg_avg = np.zeros([num_eng, s[2], s[3]])
if scan_type == "xanes_scan":
for i in range(num_eng):
img_xanes = imgs[i + 1]
img_xanes_avg[i] = np.mean(img_xanes, axis=0)
img_bkg = imgs[i + 1 + num_eng]
img_bkg_avg[i] = np.mean(img_bkg, axis=0)
elif scan_type == "xanes_scan2":
j = 1
for i in range(num_eng):
img_xanes = imgs[j]
img_xanes_avg[i] = np.mean(img_xanes, axis=0)
img_bkg = imgs[j + 1]
img_bkg_avg[i] = np.mean(img_bkg, axis=0)
j = j + 2
else:
print("un-recognized xanes scan......")
return 0
img_xanes_norm = (img_xanes_avg - img_dark_avg) * 1.0 / (img_bkg_avg - img_dark_avg)
img_xanes_norm[np.isnan(img_xanes_norm)] = 0
img_xanes_norm[np.isinf(img_xanes_norm)] = 0
img_bkg = np.array(img_bkg, dtype=np.float32)
# img_xanes_norm = np.array(img_xanes_norm, dtype=np.float32)
fname = fpath + scan_type + "_id_" + str(scan_id) + ".h5"
with h5py.File(fname, "w") as hf:
hf.create_dataset("uid", data=uid)
hf.create_dataset("scan_id", data=scan_id)
hf.create_dataset("note", data=str(note))
hf.create_dataset("scan_time", data=scan_time)
hf.create_dataset("X_eng", data=eng_list)
hf.create_dataset("img_bkg", data=np.array(img_bkg_avg, dtype=np.float32))
hf.create_dataset("img_dark", data=np.array(img_dark_avg, dtype=np.float32))
hf.create_dataset("img_xanes", data=np.array(img_xanes_norm, dtype=np.float32))
hf.create_dataset("Magnification", data=M)
hf.create_dataset("Pixel Size", data=str(pxl_sz)+'nm')
try:
write_lakeshore_to_file(h, fname)
except:
print("fails to write lakeshore info into {fname}")
del img_xanes, img_dark, img_bkg, img_xanes_avg, img_dark_avg
del img_bkg_avg, imgs, img_xanes_norm
def fly_scan_repeat_legacy(
exposure_time=0.03,
start_angle = None,
relative_rot_angle=185,
period=0.05,
chunk_size=20,
x_list=[],
y_list=[],
z_list=[],
out_x=0,
out_y=-100,
out_z=0,
out_r=0,
rs=6,
note="",
repeat=1,
sleep_time=0,
simu=False,
relative_move_flag=1,
rot_first_flag=1,
rot_back_velo=30,
md=None,
):
nx = len(x_list)
ny = len(y_list)
nz = len(z_list)
if nx == 0 & ny == 0 & nz == 0:
for i in range(repeat):
yield from fly_scan_legacy(
exposure_time=exposure_time,
start_angle = start_angle,
relative_rot_angle=relative_rot_angle,
period=period,
chunk_size=chunk_size,
out_x=out_x,
out_y=out_y,
out_z=out_z,
out_r=out_r,
rs=rs,
note=note,
simu=simu,
relative_move_flag=relative_move_flag,
rot_first_flag=rot_first_flag,
rot_back_velo=rot_back_velo,
md=md,
)
print(
f"Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now."
)
insert_text(
f"Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now."
)
if i != repeat - 1:
yield from bps.sleep(sleep_time)
export_pdf(1)
else:
if nx != ny or nx != nz or ny != nz:
print(
"!!!!! Position lists are not equal in length. Please check your position list definition !!!!!"
)
else:
for i in range(repeat):
for j in range(nx):
yield from mv(
zps.sx, x_list[j], zps.sy, y_list[j], zps.sz, z_list[j]
)
yield from fly_scan(
exposure_time=exposure_time,
start_angle=start_angle,
relative_rot_angle=relative_rot_angle,
period=period,
chunk_size=chunk_size,
out_x=out_x,
out_y=out_y,
out_z=out_z,
out_r=out_r,
rs=rs,
note=note,
simu=simu,
relative_move_flag=relative_move_flag,
rot_first_flag=rot_first_flag,
rot_back_velo=rot_back_velo,
md=md,
)
insert_text(
f"Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now."
)
print(
f"Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now."
)
if i != repeat - 1:
yield from bps.sleep(sleep_time)
export_pdf(1)
def export_multipos_2D_xanes_scan2(h, fpath=None):
if fpath is None:
fpath = './'
else:
if not fpath[-1] == '/':
fpath += '/'
scan_type = h.start["plan_name"]
uid = h.start["uid"]
note = h.start["note"]
scan_id = h.start["scan_id"]
scan_time = h.start["time"]
# x_eng = h.start['x_ray_energy']
x_eng = h.start["XEng"]
chunk_size = h.start["chunk_size"]
chunk_size = h.start["num_bkg_images"]
num_eng = h.start["num_eng"]
num_pos = h.start["num_pos"]
zp_z_pos = h.table("baseline")["zp_z"][1]
DetU_z_pos = h.table("baseline")["DetU_z"][1]
M = (DetU_z_pos/zp_z_pos - 1)*10.
pxl_sz = 6500./M
try:
repeat_num = h.start["plan_args"]["repeat_num"]
except:
repeat_num = 1
imgs = list(h.data("Andor_image"))
# imgs = np.mean(imgs, axis=1)
img_dark = np.array(imgs[0])
img_dark = np.mean(img_dark, axis=0, keepdims=True) # revised here
eng_list = list(h.start["eng_list"])
# s = imgs.shape
s = img_dark.shape # revised here e.g,. shape=(1, 2160, 2560)
# img_xanes = np.zeros([num_pos, num_eng, imgs.shape[1], imgs.shape[2]])
img_xanes = np.zeros([num_pos, num_eng, s[1], s[2]])
img_bkg = np.zeros([num_eng, s[1], s[2]])
index = 1
for repeat in range(repeat_num): # revised here
try:
print(f"repeat: {repeat}")
for i in range(num_eng):
for j in range(num_pos):
img_xanes[j, i] = np.mean(np.array(imgs[index]), axis=0)
index += 1
img_bkg[i] = np.mean(np.array(imgs[index]), axis=0)
index += 1
for i in range(num_eng):
for j in range(num_pos):
img_xanes[j, i] = (img_xanes[j, i] - img_dark) / (
img_bkg[i] - img_dark
)
# save data
#fn = os.getcwd() + "/"
fn = fpath
for j in range(num_pos):
fname = (
f"{fn}{scan_type}_id_{scan_id}_repeat_{repeat:02d}_pos_{j:02d}.h5"
)
print(f"saving {fname}")
with h5py.File(fname, "w") as hf:
hf.create_dataset("uid", data=uid)
hf.create_dataset("scan_id", data=scan_id)
hf.create_dataset("note", data=str(note))
hf.create_dataset("scan_time", data=scan_time)
hf.create_dataset("X_eng", data=eng_list)
hf.create_dataset(
"img_bkg", data=np.array(img_bkg, dtype=np.float32)
)
hf.create_dataset(
"img_dark", data=np.array(img_dark, dtype=np.float32)
)
hf.create_dataset(
"img_xanes", data=np.array(img_xanes[j], dtype=np.float32)
)
hf.create_dataset("Magnification", data=M)
hf.create_dataset("Pixel Size", data=str(pxl_sz)+'nm')
try:
write_lakeshore_to_file(h, fname)
except:
print("fails to write lakeshore info into {fname}")
except:
print(f"fails in export repeat# {repeat}")
del img_xanes
del img_bkg
del img_dark
del imgs
| def export_tomo_scan_legacy(h, fpath=None):
if fpath is None:
fpath = './'
elif not fpath[-1] == '/':
fpath += '/'
scan_type = 'tomo_scan'
scan_id = h.start['scan_id']
try:
x_eng = h.start['XEng']
except:
x_eng = h.start['x_ray_energy']
bkg_img_num = h.start['num_bkg_images']
dark_img_num = h.start['num_dark_images']
chunk_size = h.start['plan_args']['chunk_size']
angle_i = h.start['plan_args']['start']
angle_e = h.start['plan_args']['stop']
angle_n = h.start['plan_args']['num']
exposure_t = h.start['plan_args']['exposure_time']
img = np.array(list(h.data('Andor_image')))
img_dark = img[0:dark_img_num].reshape(-1, img.shape[-2], img.shape[-1])
img_tomo = img[dark_img_num:-bkg_img_num]
img_bkg = img[-bkg_img_num:].reshape(-1, img.shape[-2], img.shape[-1])
s = img_dark.shape
img_angle = np.linspace(angle_i, angle_e, angle_n)
fname = fpath + scan_type + '_id_' + str(scan_id) + '.h5'
with h5py.File(fname, 'w') as hf:
hf.create_dataset('scan_id', data=scan_id)
hf.create_dataset('X_eng', data=x_eng)
hf.create_dataset('img_bkg', data=img_bkg)
hf.create_dataset('img_dark', data=img_dark)
hf.create_dataset('img_tomo', data=img_tomo)
hf.create_dataset('angle', data=img_angle)
try:
write_lakeshore_to_file(h, fname)
except:
print('fails to write lakeshore info into {fname}')
del img
del img_tomo
del img_dark
del img_bkg
def export_fly_scan_legacy(h, fpath=None):
if fpath is None:
fpath = './'
elif not fpath[-1] == '/':
fpath += '/'
uid = h.start['uid']
note = h.start['note']
scan_type = 'fly_scan'
scan_id = h.start['scan_id']
scan_time = h.start['time']
x_pos = h.table('baseline')['zps_sx'][1]
y_pos = h.table('baseline')['zps_sy'][1]
z_pos = h.table('baseline')['zps_sz'][1]
r_pos = h.table('baseline')['zps_pi_r'][1]
zp_z_pos = h.table('baseline')['zp_z'][1]
det_u_z_pos = h.table('baseline')['DetU_z'][1]
m = (DetU_z_pos / zp_z_pos - 1) * 10.0
pxl_sz = 6500.0 / M
try:
x_eng = h.start['XEng']
except:
x_eng = h.start['x_ray_energy']
chunk_size = h.start['chunk_size']
assert 'zps_pi_r_monitor' in h.stream_names
pos = h.table('zps_pi_r_monitor')
imgs = np.array(list(h.data('Andor_image')))
img_dark = imgs[0]
img_bkg = imgs[-1]
s = img_dark.shape
img_dark_avg = np.mean(img_dark, axis=0).reshape(1, s[1], s[2])
img_bkg_avg = np.mean(img_bkg, axis=0).reshape(1, s[1], s[2])
imgs = imgs[1:-1]
s1 = imgs.shape
imgs = imgs.reshape([s1[0] * s1[1], s1[2], s1[3]])
with db.reg.handler_context({'AD_HDF5': AreaDetectorHDF5TimestampHandler}):
chunked_timestamps = list(h.data('Andor_image'))
chunked_timestamps = chunked_timestamps[1:-1]
raw_timestamps = []
for chunk in chunked_timestamps:
raw_timestamps.extend(chunk.tolist())
timestamps = convert_ad_timestamps(pd.Series(raw_timestamps))
pos['time'] = pos['time'].dt.tz_localize('US/Eastern')
(img_day, img_hour) = (timestamps.dt.day, timestamps.dt.hour)
(img_min, img_sec, img_msec) = (timestamps.dt.minute, timestamps.dt.second, timestamps.dt.microsecond)
img_time = img_day * 86400 + img_hour * 3600 + img_min * 60 + img_sec + img_msec * 1e-06
img_time = np.array(img_time)
(mot_day, mot_hour) = (pos['time'].dt.day, pos['time'].dt.hour)
(mot_min, mot_sec, mot_msec) = (pos['time'].dt.minute, pos['time'].dt.second, pos['time'].dt.microsecond)
mot_time = mot_day * 86400 + mot_hour * 3600 + mot_min * 60 + mot_sec + mot_msec * 1e-06
mot_time = np.array(mot_time)
mot_pos = np.array(pos['zps_pi_r'])
offset = np.min([np.min(img_time), np.min(mot_time)])
img_time -= offset
mot_time -= offset
mot_pos_interp = np.interp(img_time, mot_time, mot_pos)
pos2 = mot_pos_interp.argmax() + 1
img_angle = mot_pos_interp[:pos2]
img_tomo = imgs[:pos2]
fname = fpath + scan_type + '_id_' + str(scan_id) + '.h5'
with h5py.File(fname, 'w') as hf:
hf.create_dataset('note', data=str(note))
hf.create_dataset('uid', data=uid)
hf.create_dataset('scan_id', data=int(scan_id))
hf.create_dataset('scan_time', data=scan_time)
hf.create_dataset('X_eng', data=x_eng)
hf.create_dataset('img_bkg', data=np.array(img_bkg, dtype=np.uint16))
hf.create_dataset('img_dark', data=np.array(img_dark, dtype=np.uint16))
hf.create_dataset('img_bkg_avg', data=np.array(img_bkg_avg, dtype=np.float32))
hf.create_dataset('img_dark_avg', data=np.array(img_dark_avg, dtype=np.float32))
hf.create_dataset('img_tomo', data=np.array(img_tomo, dtype=np.uint16))
hf.create_dataset('angle', data=img_angle)
hf.create_dataset('x_ini', data=x_pos)
hf.create_dataset('y_ini', data=y_pos)
hf.create_dataset('z_ini', data=z_pos)
hf.create_dataset('r_ini', data=r_pos)
hf.create_dataset('Magnification', data=M)
hf.create_dataset('Pixel Size', data=str(str(pxl_sz) + 'nm'))
try:
write_lakeshore_to_file(h, fname)
except:
print('fails to write lakeshore info into {fname}')
del img_tomo
del img_dark
del img_bkg
del imgs
def export_xanes_scan_legacy(h, fpath=None):
if fpath is None:
fpath = './'
elif not fpath[-1] == '/':
fpath += '/'
zp_z_pos = h.table('baseline')['zp_z'][1]
det_u_z_pos = h.table('baseline')['DetU_z'][1]
m = (DetU_z_pos / zp_z_pos - 1) * 10.0
pxl_sz = 6500.0 / M
scan_type = h.start['plan_name']
uid = h.start['uid']
note = h.start['note']
scan_id = h.start['scan_id']
scan_time = h.start['time']
try:
x_eng = h.start['XEng']
except:
x_eng = h.start['x_ray_energy']
chunk_size = h.start['chunk_size']
num_eng = h.start['num_eng']
imgs = np.array(list(h.data('Andor_image')))
img_dark = imgs[0]
img_dark_avg = np.mean(img_dark, axis=0).reshape([1, img_dark.shape[1], img_dark.shape[2]])
eng_list = list(h.start['eng_list'])
s = imgs.shape
img_xanes_avg = np.zeros([num_eng, s[2], s[3]])
img_bkg_avg = np.zeros([num_eng, s[2], s[3]])
if scan_type == 'xanes_scan':
for i in range(num_eng):
img_xanes = imgs[i + 1]
img_xanes_avg[i] = np.mean(img_xanes, axis=0)
img_bkg = imgs[i + 1 + num_eng]
img_bkg_avg[i] = np.mean(img_bkg, axis=0)
elif scan_type == 'xanes_scan2':
j = 1
for i in range(num_eng):
img_xanes = imgs[j]
img_xanes_avg[i] = np.mean(img_xanes, axis=0)
img_bkg = imgs[j + 1]
img_bkg_avg[i] = np.mean(img_bkg, axis=0)
j = j + 2
else:
print('un-recognized xanes scan......')
return 0
img_xanes_norm = (img_xanes_avg - img_dark_avg) * 1.0 / (img_bkg_avg - img_dark_avg)
img_xanes_norm[np.isnan(img_xanes_norm)] = 0
img_xanes_norm[np.isinf(img_xanes_norm)] = 0
img_bkg = np.array(img_bkg, dtype=np.float32)
fname = fpath + scan_type + '_id_' + str(scan_id) + '.h5'
with h5py.File(fname, 'w') as hf:
hf.create_dataset('uid', data=uid)
hf.create_dataset('scan_id', data=scan_id)
hf.create_dataset('note', data=str(note))
hf.create_dataset('scan_time', data=scan_time)
hf.create_dataset('X_eng', data=eng_list)
hf.create_dataset('img_bkg', data=np.array(img_bkg_avg, dtype=np.float32))
hf.create_dataset('img_dark', data=np.array(img_dark_avg, dtype=np.float32))
hf.create_dataset('img_xanes', data=np.array(img_xanes_norm, dtype=np.float32))
hf.create_dataset('Magnification', data=M)
hf.create_dataset('Pixel Size', data=str(pxl_sz) + 'nm')
try:
write_lakeshore_to_file(h, fname)
except:
print('fails to write lakeshore info into {fname}')
del img_xanes, img_dark, img_bkg, img_xanes_avg, img_dark_avg
del img_bkg_avg, imgs, img_xanes_norm
def fly_scan_repeat_legacy(exposure_time=0.03, start_angle=None, relative_rot_angle=185, period=0.05, chunk_size=20, x_list=[], y_list=[], z_list=[], out_x=0, out_y=-100, out_z=0, out_r=0, rs=6, note='', repeat=1, sleep_time=0, simu=False, relative_move_flag=1, rot_first_flag=1, rot_back_velo=30, md=None):
nx = len(x_list)
ny = len(y_list)
nz = len(z_list)
if nx == 0 & ny == 0 & nz == 0:
for i in range(repeat):
yield from fly_scan_legacy(exposure_time=exposure_time, start_angle=start_angle, relative_rot_angle=relative_rot_angle, period=period, chunk_size=chunk_size, out_x=out_x, out_y=out_y, out_z=out_z, out_r=out_r, rs=rs, note=note, simu=simu, relative_move_flag=relative_move_flag, rot_first_flag=rot_first_flag, rot_back_velo=rot_back_velo, md=md)
print(f'Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now.')
insert_text(f'Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now.')
if i != repeat - 1:
yield from bps.sleep(sleep_time)
export_pdf(1)
elif nx != ny or nx != nz or ny != nz:
print('!!!!! Position lists are not equal in length. Please check your position list definition !!!!!')
else:
for i in range(repeat):
for j in range(nx):
yield from mv(zps.sx, x_list[j], zps.sy, y_list[j], zps.sz, z_list[j])
yield from fly_scan(exposure_time=exposure_time, start_angle=start_angle, relative_rot_angle=relative_rot_angle, period=period, chunk_size=chunk_size, out_x=out_x, out_y=out_y, out_z=out_z, out_r=out_r, rs=rs, note=note, simu=simu, relative_move_flag=relative_move_flag, rot_first_flag=rot_first_flag, rot_back_velo=rot_back_velo, md=md)
insert_text(f'Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now.')
print(f'Scan at time point {i:3d} is finished; sleep for {sleep_time:3.1f} seconds now.')
if i != repeat - 1:
yield from bps.sleep(sleep_time)
export_pdf(1)
def export_multipos_2_d_xanes_scan2(h, fpath=None):
if fpath is None:
fpath = './'
elif not fpath[-1] == '/':
fpath += '/'
scan_type = h.start['plan_name']
uid = h.start['uid']
note = h.start['note']
scan_id = h.start['scan_id']
scan_time = h.start['time']
x_eng = h.start['XEng']
chunk_size = h.start['chunk_size']
chunk_size = h.start['num_bkg_images']
num_eng = h.start['num_eng']
num_pos = h.start['num_pos']
zp_z_pos = h.table('baseline')['zp_z'][1]
det_u_z_pos = h.table('baseline')['DetU_z'][1]
m = (DetU_z_pos / zp_z_pos - 1) * 10.0
pxl_sz = 6500.0 / M
try:
repeat_num = h.start['plan_args']['repeat_num']
except:
repeat_num = 1
imgs = list(h.data('Andor_image'))
img_dark = np.array(imgs[0])
img_dark = np.mean(img_dark, axis=0, keepdims=True)
eng_list = list(h.start['eng_list'])
s = img_dark.shape
img_xanes = np.zeros([num_pos, num_eng, s[1], s[2]])
img_bkg = np.zeros([num_eng, s[1], s[2]])
index = 1
for repeat in range(repeat_num):
try:
print(f'repeat: {repeat}')
for i in range(num_eng):
for j in range(num_pos):
img_xanes[j, i] = np.mean(np.array(imgs[index]), axis=0)
index += 1
img_bkg[i] = np.mean(np.array(imgs[index]), axis=0)
index += 1
for i in range(num_eng):
for j in range(num_pos):
img_xanes[j, i] = (img_xanes[j, i] - img_dark) / (img_bkg[i] - img_dark)
fn = fpath
for j in range(num_pos):
fname = f'{fn}{scan_type}_id_{scan_id}_repeat_{repeat:02d}_pos_{j:02d}.h5'
print(f'saving {fname}')
with h5py.File(fname, 'w') as hf:
hf.create_dataset('uid', data=uid)
hf.create_dataset('scan_id', data=scan_id)
hf.create_dataset('note', data=str(note))
hf.create_dataset('scan_time', data=scan_time)
hf.create_dataset('X_eng', data=eng_list)
hf.create_dataset('img_bkg', data=np.array(img_bkg, dtype=np.float32))
hf.create_dataset('img_dark', data=np.array(img_dark, dtype=np.float32))
hf.create_dataset('img_xanes', data=np.array(img_xanes[j], dtype=np.float32))
hf.create_dataset('Magnification', data=M)
hf.create_dataset('Pixel Size', data=str(pxl_sz) + 'nm')
try:
write_lakeshore_to_file(h, fname)
except:
print('fails to write lakeshore info into {fname}')
except:
print(f'fails in export repeat# {repeat}')
del img_xanes
del img_bkg
del img_dark
del imgs |
class Options:
def __init__(self, *, filename: str, collapse_single_pages: bool, strict: bool):
self.filename = filename
self.collapse_single_pages = collapse_single_pages
self.strict = strict
| class Options:
def __init__(self, *, filename: str, collapse_single_pages: bool, strict: bool):
self.filename = filename
self.collapse_single_pages = collapse_single_pages
self.strict = strict |
__all__ = [
'Mouse',
'Render'
]
| __all__ = ['Mouse', 'Render'] |
METRICS = ['cityblock', 'euclidean']
NORMALIZE = 'gaussian'
SUB_SAMPLE = 64_000 # for testing the implementation
MAX_DEPTH = 50 # even though no dataset reaches this far
| metrics = ['cityblock', 'euclidean']
normalize = 'gaussian'
sub_sample = 64000
max_depth = 50 |
"""
"""
def authenticate(username):
return 'm:auth:' + username
def get_user(user_id):
return 'm:geus:' + str(user_id)
def has_account(username):
return 'm:haac:' + username
| """
"""
def authenticate(username):
return 'm:auth:' + username
def get_user(user_id):
return 'm:geus:' + str(user_id)
def has_account(username):
return 'm:haac:' + username |
# from ..package1 import module1a ValueError: attempted relative import beyond top-level package
def func2a():
print('2a')
| def func2a():
print('2a') |
configs = {
'camera_res': (320, 240),
'crop_top' : 2/6,
'crop_bot' : 5/6,
'exposure' : 3,
'CSIexposure' : 3000,
'CSIframerate': 90
}
cropped_vres = int(configs['camera_res'][1]*(configs['crop_bot'])) - int(configs['camera_res'][1]*(configs['crop_top']))
configs['output_res'] = (configs['camera_res'][0], cropped_vres)
| configs = {'camera_res': (320, 240), 'crop_top': 2 / 6, 'crop_bot': 5 / 6, 'exposure': 3, 'CSIexposure': 3000, 'CSIframerate': 90}
cropped_vres = int(configs['camera_res'][1] * configs['crop_bot']) - int(configs['camera_res'][1] * configs['crop_top'])
configs['output_res'] = (configs['camera_res'][0], cropped_vres) |
headPort = "COM5"
i01 = Runtime.createAndStart("i01", "InMoov")
mouthControl=i01.startMouthControl("COM5")
head = i01.startHead(headPort)
leftArm = i01.startLeftArm(headPort)
leftHand = i01.startLeftHand(headPort)
headTracking = i01.startHeadTracking("COM5")
eyesTracking= i01.startEyesTracking("COM5")
i01.headTracking.startLKTracking()
i01.eyesTracking.startLKTracking()
i01.startEar()
############################################################
#!!!my eyeY servo and jaw servo are reverted, Gael should delete this part !!!!
i01.leftArm.bicep.setMinMax(10,85)
i01.head.eyeY.map(0,180,180,0)
i01.head.eyeY.setMinMax(22,85)
i01.head.eyeX.setMinMax(60,85)
i01.head.eyeY.setRest(45)
i01.head.eyeY.moveTo(45)
i01.head.jaw.setMinMax(10,75)
i01.head.jaw.moveTo(70)
i01.mouthControl.setmouth(75,55)
############################################################
i01.startMouth()
i01.mouth.setGoogleURI("http://thehackettfamily.org/Voice_api/api2.php?voice=Graham&txt=")
i01.headTracking.xpid.setPID(10.0,5.0,0.1)
i01.headTracking.ypid.setPID(15.0,5.0,0.1)
i01.eyesTracking.xpid.setPID(15.0,5.0,0.1)
i01.eyesTracking.ypid.setPID(15.0,5.0,0.1)
ear = i01.ear
ear.addCommand("attach", "i01", "attach")
ear.addCommand("detach", "i01", "detach")
ear.addCommand("track humans", "python", "trackHumans")
ear.addCommand("track point", "python", "trackPoint")
ear.addCommand("stop tracking", "python", "stopTracking")
ear.addCommand("rest position", "i01.head", "rest")
ear.addCommand("close hand", "i01.leftHand", "close")
ear.addCommand("open hand", "i01.leftHand", "open")
ear.addComfirmations("yes", "correct", "yeah", "ya")
ear.addNegations("no", "wrong", "nope", "nah")
# all commands MUST be before startListening
ear.startListening()
| head_port = 'COM5'
i01 = Runtime.createAndStart('i01', 'InMoov')
mouth_control = i01.startMouthControl('COM5')
head = i01.startHead(headPort)
left_arm = i01.startLeftArm(headPort)
left_hand = i01.startLeftHand(headPort)
head_tracking = i01.startHeadTracking('COM5')
eyes_tracking = i01.startEyesTracking('COM5')
i01.headTracking.startLKTracking()
i01.eyesTracking.startLKTracking()
i01.startEar()
i01.leftArm.bicep.setMinMax(10, 85)
i01.head.eyeY.map(0, 180, 180, 0)
i01.head.eyeY.setMinMax(22, 85)
i01.head.eyeX.setMinMax(60, 85)
i01.head.eyeY.setRest(45)
i01.head.eyeY.moveTo(45)
i01.head.jaw.setMinMax(10, 75)
i01.head.jaw.moveTo(70)
i01.mouthControl.setmouth(75, 55)
i01.startMouth()
i01.mouth.setGoogleURI('http://thehackettfamily.org/Voice_api/api2.php?voice=Graham&txt=')
i01.headTracking.xpid.setPID(10.0, 5.0, 0.1)
i01.headTracking.ypid.setPID(15.0, 5.0, 0.1)
i01.eyesTracking.xpid.setPID(15.0, 5.0, 0.1)
i01.eyesTracking.ypid.setPID(15.0, 5.0, 0.1)
ear = i01.ear
ear.addCommand('attach', 'i01', 'attach')
ear.addCommand('detach', 'i01', 'detach')
ear.addCommand('track humans', 'python', 'trackHumans')
ear.addCommand('track point', 'python', 'trackPoint')
ear.addCommand('stop tracking', 'python', 'stopTracking')
ear.addCommand('rest position', 'i01.head', 'rest')
ear.addCommand('close hand', 'i01.leftHand', 'close')
ear.addCommand('open hand', 'i01.leftHand', 'open')
ear.addComfirmations('yes', 'correct', 'yeah', 'ya')
ear.addNegations('no', 'wrong', 'nope', 'nah')
ear.startListening() |
def method1(n: int) -> int:
'''Return a list of prime factors of an integer by
first checking if the modulo of the value of d and number is equal to 0.
Then applying the for loop inside the for loop to count a factor only once.
'''
divisors = [d for d in range(2, n // 2 + 1) if n % d == 0]
return [d for d in divisors if all(d % od != 0 for od in divisors if od != d)]
if __name__ == "__main__":
"""
from timeit import timeit
print(timeit(lambda: method1(20), number=10000)) # 0.028740440000547096
"""
| def method1(n: int) -> int:
"""Return a list of prime factors of an integer by
first checking if the modulo of the value of d and number is equal to 0.
Then applying the for loop inside the for loop to count a factor only once.
"""
divisors = [d for d in range(2, n // 2 + 1) if n % d == 0]
return [d for d in divisors if all((d % od != 0 for od in divisors if od != d))]
if __name__ == '__main__':
'\n from timeit import timeit\n print(timeit(lambda: method1(20), number=10000)) # 0.028740440000547096\n ' |
class Solution:
def totalNQueens(self, n: int) -> int:
def backtrack(row, cols, diagonals, antiDiagonals):
if row == n:
return 1
solutions = 0
for col in range(n):
currentDiagonal = row - col
currentAntiDiagonal = row + col
if (col in cols or currentDiagonal in diagonals or currentAntiDiagonal in antiDiagonals):
continue
cols.add(col)
diagonals.add(currentDiagonal)
antiDiagonals.add(currentAntiDiagonal)
solutions += backtrack(row + 1, cols, diagonals, antiDiagonals)
cols.remove(col)
diagonals.remove(currentDiagonal)
antiDiagonals.remove(currentAntiDiagonal)
return solutions
return backtrack(0, set(), set(), set()) | class Solution:
def total_n_queens(self, n: int) -> int:
def backtrack(row, cols, diagonals, antiDiagonals):
if row == n:
return 1
solutions = 0
for col in range(n):
current_diagonal = row - col
current_anti_diagonal = row + col
if col in cols or currentDiagonal in diagonals or currentAntiDiagonal in antiDiagonals:
continue
cols.add(col)
diagonals.add(currentDiagonal)
antiDiagonals.add(currentAntiDiagonal)
solutions += backtrack(row + 1, cols, diagonals, antiDiagonals)
cols.remove(col)
diagonals.remove(currentDiagonal)
antiDiagonals.remove(currentAntiDiagonal)
return solutions
return backtrack(0, set(), set(), set()) |
s = '''en;q=0.8, de;q=0.7, fr-CH, fr;q=0.9, *;q=0.5'''
accept_language = AcceptLanguage(s)
pobj(accept_language.sarr)
pobj(accept_language.darr)
accept_language.header_type
accept_language.forbidden_header_name
accept_language.cros_safelisted_request_header
accept_language.qsort()
accept_language.rm_locale("CH")
accept_language.rm_language("*")
accept_language.rm_q(lambda ele:ele['q']>=0.8)
accept_language
accept_language.append('de',0.7)
accept_language.append('*')
accept_language.append('zh','TW')
accept_language.append('zh','CH',0.2)
| s = 'en;q=0.8, de;q=0.7, fr-CH, fr;q=0.9, *;q=0.5'
accept_language = accept_language(s)
pobj(accept_language.sarr)
pobj(accept_language.darr)
accept_language.header_type
accept_language.forbidden_header_name
accept_language.cros_safelisted_request_header
accept_language.qsort()
accept_language.rm_locale('CH')
accept_language.rm_language('*')
accept_language.rm_q(lambda ele: ele['q'] >= 0.8)
accept_language
accept_language.append('de', 0.7)
accept_language.append('*')
accept_language.append('zh', 'TW')
accept_language.append('zh', 'CH', 0.2) |
# Python Program to Calculate Sum of Odd Numbers from 1 to 20
maxnum = 20
oddadd = 0
for num in range(1, maxnum + 1):
if num % 2 != 0:
#print("odd number :",num)
oddadd=oddadd+num
print("Sum of Odd Number from 1 to 20 is:",oddadd)
| maxnum = 20
oddadd = 0
for num in range(1, maxnum + 1):
if num % 2 != 0:
oddadd = oddadd + num
print('Sum of Odd Number from 1 to 20 is:', oddadd) |
#!/usr/bin/env python
NAME = 'Naxsi'
def is_waf(self):
return self.match_header(('X-Data-Origin', '^naxsi'))
| name = 'Naxsi'
def is_waf(self):
return self.match_header(('X-Data-Origin', '^naxsi')) |
# Copyright (c) The Libra Core Contributors
# SPDX-License-Identifier: Apache-2.0
class Database:
""" The interface that underlying database should implement """
def get(self, prefix, key):
""" Given a prefix and key, return the value in db """
return NotImplementedError() # pragma: no cover
def try_get(self, prefix, key):
"""
Given a prefix and key, return the value in db if it exists, otherwise
return None
"""
return NotImplementedError() # pragma: no cover
def put(self, prefix, key, val):
""" Store the prefix/key - value to db"""
return NotImplementedError() # pragma: no cover
def delete(self, prefix, key):
""" Remove the prefix/key from db if it exists """
return NotImplementedError() # pragma: no cover
def isin(self, prefix, key):
""" Return whether the given prefix/key is in the db """
return NotImplementedError() # pragma: no cover
def getkeys(self, prefix):
""" Return the keys in db associated with the given prefix """
return NotImplementedError() # pragma: no cover
def count(self, prefix):
""" Return the number of rows in db with thte given prefix """
return NotImplementedError() # pragma: no cover
| class Database:
""" The interface that underlying database should implement """
def get(self, prefix, key):
""" Given a prefix and key, return the value in db """
return not_implemented_error()
def try_get(self, prefix, key):
"""
Given a prefix and key, return the value in db if it exists, otherwise
return None
"""
return not_implemented_error()
def put(self, prefix, key, val):
""" Store the prefix/key - value to db"""
return not_implemented_error()
def delete(self, prefix, key):
""" Remove the prefix/key from db if it exists """
return not_implemented_error()
def isin(self, prefix, key):
""" Return whether the given prefix/key is in the db """
return not_implemented_error()
def getkeys(self, prefix):
""" Return the keys in db associated with the given prefix """
return not_implemented_error()
def count(self, prefix):
""" Return the number of rows in db with thte given prefix """
return not_implemented_error() |
#!/usr/bin/env python3
class FuseModel:
def fuse(self, first, second):
raise NotImplementedError()
| class Fusemodel:
def fuse(self, first, second):
raise not_implemented_error() |
"""Protocol for server side messenger app."""
def validate_request(raw):
"""Checking for exists of 'action' and 'time' in request."""
return True if 'action' in raw and 'time' in raw else False
def make_response(request, code, data=None):
"""Make response based on passed request, status code and data."""
return {
'action': request.get('action'),
'time': request.get('time'),
'data': data,
'code': code,
}
| """Protocol for server side messenger app."""
def validate_request(raw):
"""Checking for exists of 'action' and 'time' in request."""
return True if 'action' in raw and 'time' in raw else False
def make_response(request, code, data=None):
"""Make response based on passed request, status code and data."""
return {'action': request.get('action'), 'time': request.get('time'), 'data': data, 'code': code} |
table = {"I":1, "V":5, "X":10, "L":50, "C":100, "D":500, "M":1000}
roman = "MDCLXVI"
number = 0
for ch in roman:
number += table[ch]
print(number) | table = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000}
roman = 'MDCLXVI'
number = 0
for ch in roman:
number += table[ch]
print(number) |
# STATIC FILES
HOUSING_SECTOR_BILL_FILE = 'static_files/bill.pdf'
PRODUCTS_CSV_FILE = 'static_files/list.csv'
INDEX_CSV_FILE = 'static_files/index.csv'
# URLs
URL_TO_PARSE_FUEL = "https://auto.mail.ru/fuel/"
URL_TO_PARSE_MCD_TICKETS = "https://troikarta.ru/tarify/mcd/"
URL_TO_PARSE_ELECTRICITY_PRICE = "https://www.mosenergosbyt.ru/individuals/tariffs-n-payments/" \
"tariffs-mo/kvartiry-i-doma-s-elektricheskimi-plitami-mo.php"
# Fuel Counters
FUEL_LITTERS_PER_MONTH: int = 40
TRAIN_TICKETS_PER_MONTH: int = 41
# Housing sector counts
COLD_WATER_AVERAGE_CONSUMPTION: int = 7
HOT_WATER_AVERAGE_CONSUMPTION: int = 3
ELECTRICITY_COUNTER: int = 260
# Static prices
MCD_PRICE: int = 50
ELECTRICITY_PRICE: float = 4.29
| housing_sector_bill_file = 'static_files/bill.pdf'
products_csv_file = 'static_files/list.csv'
index_csv_file = 'static_files/index.csv'
url_to_parse_fuel = 'https://auto.mail.ru/fuel/'
url_to_parse_mcd_tickets = 'https://troikarta.ru/tarify/mcd/'
url_to_parse_electricity_price = 'https://www.mosenergosbyt.ru/individuals/tariffs-n-payments/tariffs-mo/kvartiry-i-doma-s-elektricheskimi-plitami-mo.php'
fuel_litters_per_month: int = 40
train_tickets_per_month: int = 41
cold_water_average_consumption: int = 7
hot_water_average_consumption: int = 3
electricity_counter: int = 260
mcd_price: int = 50
electricity_price: float = 4.29 |
class Solution:
def twoSum(self, numbers, target):
i, j = 0, len(numbers) - 1
while i < j:
ts = numbers[i] + numbers[j]
if ts == target:
break
elif ts > target:
j = j - 1
else:
i = i + 1
return [i+1, j+1]
| class Solution:
def two_sum(self, numbers, target):
(i, j) = (0, len(numbers) - 1)
while i < j:
ts = numbers[i] + numbers[j]
if ts == target:
break
elif ts > target:
j = j - 1
else:
i = i + 1
return [i + 1, j + 1] |
class bedfeature(object):
def __init__(self, chr,start,stop,
name=None,value=None,strand=None,
thickStart=None,thickStop=None,itemRGB=None,
blockCount=None,blockSizes=None,blockStarts=None):
self.chr=chr
self.start=int(start)
self.stop=int(stop)
self.name=name
self.strand=strand
try:
self.value=float(value)
except (TypeError,ValueError):
self.value=value
try:
self.thickStart=int(thickStart)
except TypeError:
self.thickStart=thickStart
try:
self.thickStop=int(thickStop)
except TypeError:
self.thickStop=thickStop
try:
self.blockCount=int(blockCount)
except TypeError:
self.blockCount=blockCount
self.itemRGB=itemRGB
self.blockSizes=blockSizes
self.blockStarts=blockStarts
def __repr__(self):
return 'bed feature: %s:%s-%s' % (self.chr,self.start,self.stop)
def __len__(self):
return self.stop - self.start
def tostring(self,fields=None):
"""Prints the bed record suitable for writing to file, newline included.
In the interest of speed, does not do error-checking.
"""
items = [self.chr,
self.start,
self.stop,
self.name,
self.value,
self.strand,
self.thickStart,
self.thickStop,
self.itemRGB,
self.blockCount,
self.blockSizes,
self.blockStarts]
printables = []
if fields is None:
fields = len(items)
for item in items[0:fields]:
if item is None:
printables.append('')
else:
printables.append(str(item))
return '\t'.join(printables).rstrip()+'\n'
| class Bedfeature(object):
def __init__(self, chr, start, stop, name=None, value=None, strand=None, thickStart=None, thickStop=None, itemRGB=None, blockCount=None, blockSizes=None, blockStarts=None):
self.chr = chr
self.start = int(start)
self.stop = int(stop)
self.name = name
self.strand = strand
try:
self.value = float(value)
except (TypeError, ValueError):
self.value = value
try:
self.thickStart = int(thickStart)
except TypeError:
self.thickStart = thickStart
try:
self.thickStop = int(thickStop)
except TypeError:
self.thickStop = thickStop
try:
self.blockCount = int(blockCount)
except TypeError:
self.blockCount = blockCount
self.itemRGB = itemRGB
self.blockSizes = blockSizes
self.blockStarts = blockStarts
def __repr__(self):
return 'bed feature: %s:%s-%s' % (self.chr, self.start, self.stop)
def __len__(self):
return self.stop - self.start
def tostring(self, fields=None):
"""Prints the bed record suitable for writing to file, newline included.
In the interest of speed, does not do error-checking.
"""
items = [self.chr, self.start, self.stop, self.name, self.value, self.strand, self.thickStart, self.thickStop, self.itemRGB, self.blockCount, self.blockSizes, self.blockStarts]
printables = []
if fields is None:
fields = len(items)
for item in items[0:fields]:
if item is None:
printables.append('')
else:
printables.append(str(item))
return '\t'.join(printables).rstrip() + '\n' |
'''
Find first missing positive integer (>0)
Given an array of integers, find the first missing positive integer in linear time and constant space.
In other words, find the lowest positive integer that does not exist in the array.
The array can contain duplicates and negative numbers as well.
Note: you can modify the input array in-place.
Input: [3, 4, -1, 1]
Output: 2
Input: [1, 2, 0]
Output: 3
=========================================
Move all values to their positions (val position = val - 1), in the end find the first
position which doesn't have the needed value.
Time Complexity: O(N) , maybe nested loops look like O(N^2) but that not true
Space Complexity: O(1)
Play with indicies and mark them (make it negative),
a marked index means that the number equals to that index exist in the array.
Time Complexity: O(N)
Space Complexity: O(1)
'''
##############
# Solution 1 #
##############
def find_first_missing_1(a):
n = len(a)
for i in range(n):
while (a[i] > 0) and (a[i] <= n):
swap = a[i] - 1
if a[i] == a[swap]:
break
# swap elements
a[i], a[swap] = a[swap], a[i]
for i in range(n):
if a[i] - 1 != i:
return i + 1
return n + 1
##############
# Solution 2 #
##############
def find_first_missing_2(a):
n = len(a)
# eliminate all zeros and all negative numbers
for i in range(n):
if a[i] <= 0:
a[i] = n + 1 # those values won't be used later
# find all numbers in the range and mark all numbers at those positions as negative numbers
for i in range(n):
idx = abs(a[i]) - 1
if idx >= n:
continue
# mark the element as found
a[idx] = -abs(a[idx])
# find the first non-negative position
for i in range(n):
if a[i] > 0:
return i + 1
return n + 1
###########
# Testing #
###########
# Test 1
# Correct result => 1
test = [-1, 2, 3]
print(find_first_missing_1(list(test))) # make a copy, the list will be changed inside the function
print(find_first_missing_2(list(test)))
# Test 2
# Correct result => 2
test = [3, 4, -1, 1]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
# Test 3
# Correct result => 3
test = [1, 2, 0]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
# Test 4
# Correct result => 4
test = [1, 2, 3]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
# Test 5
# Correct result => 1
test = [-4, -1, -3, -1]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
# Test 6
# Correct result => 3
test = [2, 1, 2, -1, 0, 20]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
# Test 7
# Correct result => 3
test = [1, 2, 5, 5, 1, 2]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
# Test 8
# Correct result => 4
test = [1, 2, 3, 5, 1, 2, 3, 3]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test))) | """
Find first missing positive integer (>0)
Given an array of integers, find the first missing positive integer in linear time and constant space.
In other words, find the lowest positive integer that does not exist in the array.
The array can contain duplicates and negative numbers as well.
Note: you can modify the input array in-place.
Input: [3, 4, -1, 1]
Output: 2
Input: [1, 2, 0]
Output: 3
=========================================
Move all values to their positions (val position = val - 1), in the end find the first
position which doesn't have the needed value.
Time Complexity: O(N) , maybe nested loops look like O(N^2) but that not true
Space Complexity: O(1)
Play with indicies and mark them (make it negative),
a marked index means that the number equals to that index exist in the array.
Time Complexity: O(N)
Space Complexity: O(1)
"""
def find_first_missing_1(a):
n = len(a)
for i in range(n):
while a[i] > 0 and a[i] <= n:
swap = a[i] - 1
if a[i] == a[swap]:
break
(a[i], a[swap]) = (a[swap], a[i])
for i in range(n):
if a[i] - 1 != i:
return i + 1
return n + 1
def find_first_missing_2(a):
n = len(a)
for i in range(n):
if a[i] <= 0:
a[i] = n + 1
for i in range(n):
idx = abs(a[i]) - 1
if idx >= n:
continue
a[idx] = -abs(a[idx])
for i in range(n):
if a[i] > 0:
return i + 1
return n + 1
test = [-1, 2, 3]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [3, 4, -1, 1]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [1, 2, 0]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [1, 2, 3]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [-4, -1, -3, -1]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [2, 1, 2, -1, 0, 20]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [1, 2, 5, 5, 1, 2]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test)))
test = [1, 2, 3, 5, 1, 2, 3, 3]
print(find_first_missing_1(list(test)))
print(find_first_missing_2(list(test))) |
BASKET_CREATED = 'basket_created'
ADD_ITEM = 'add_item'
ITEM_ADDED = 'item_added'
CHECKOUT = 'checkout'
CHECKOUT_STARTED = 'checkout_started'
PAY_ORDER = 'pay_order'
| basket_created = 'basket_created'
add_item = 'add_item'
item_added = 'item_added'
checkout = 'checkout'
checkout_started = 'checkout_started'
pay_order = 'pay_order' |
def check_scope(func):
def check(self, other):
if not isinstance(other, self.__class__) and type(other) != str:
raise TypeError(f"Cannot compare type Scope with type {type(other).__name__}")
if isinstance(other, self.__class__):
other = other.scope
if other not in self.valid_scopes:
raise NameError(f"{other} is not a valid scope.")
return func(self, other)
return check
def create_autoclass_for_sphinx():
with open('objects.py', 'r') as f:
info = f.readline()
while info:
if info.startswith('class'):
name = info.split()[1]
if '(' in name:
name = name.split('(')[0]
else:
name = name[:-1]
content = f"{name}\n{'^' * len(name)}\n.. autoclass:: osu.{name}\n :members:\n\n"
with open('text.txt', 'a') as f2:
f2.write(content)
f2.close()
info = f.readline()
f.close()
| def check_scope(func):
def check(self, other):
if not isinstance(other, self.__class__) and type(other) != str:
raise type_error(f'Cannot compare type Scope with type {type(other).__name__}')
if isinstance(other, self.__class__):
other = other.scope
if other not in self.valid_scopes:
raise name_error(f'{other} is not a valid scope.')
return func(self, other)
return check
def create_autoclass_for_sphinx():
with open('objects.py', 'r') as f:
info = f.readline()
while info:
if info.startswith('class'):
name = info.split()[1]
if '(' in name:
name = name.split('(')[0]
else:
name = name[:-1]
content = f"{name}\n{'^' * len(name)}\n.. autoclass:: osu.{name}\n :members:\n\n"
with open('text.txt', 'a') as f2:
f2.write(content)
f2.close()
info = f.readline()
f.close() |
try:
unicode
except NameError:
unicode = str
messages = [u'Circle is 360\u00B0',
u'Hyv\u00E4\u00E4 \u00FC\u00F6t\u00E4',
u'\u0989\u09C4 \u09F0 \u09FA \u099F \u09EB \u09EA \u09B9']
class NonAsciiLibrary:
def print_non_ascii_strings(self):
"""Prints message containing non-ASCII characters"""
for msg in messages:
print('*INFO*' + msg)
def print_and_return_non_ascii_object(self):
"""Prints object with non-ASCII `str()` and returns it."""
obj = NonAsciiObject()
print(unicode(obj))
return obj
def raise_non_ascii_error(self):
raise AssertionError(', '.join(messages))
class NonAsciiObject:
def __init__(self):
self.message = u', '.join(messages)
def __str__(self):
return self.message
def __repr__(self):
return repr(self.message)
| try:
unicode
except NameError:
unicode = str
messages = [u'Circle is 360°', u'Hyvää üötä', u'উৄ ৰ ৺ ট ৫ ৪ হ']
class Nonasciilibrary:
def print_non_ascii_strings(self):
"""Prints message containing non-ASCII characters"""
for msg in messages:
print('*INFO*' + msg)
def print_and_return_non_ascii_object(self):
"""Prints object with non-ASCII `str()` and returns it."""
obj = non_ascii_object()
print(unicode(obj))
return obj
def raise_non_ascii_error(self):
raise assertion_error(', '.join(messages))
class Nonasciiobject:
def __init__(self):
self.message = u', '.join(messages)
def __str__(self):
return self.message
def __repr__(self):
return repr(self.message) |
expected_output = {
{
"object_manager_statistics": {
"batch_begin": {
"pending_acknowledgement": 0,
"pending_issue": 0
},
"batch_end": {
"pending_acknowledgement": 0,
"pending_issue": 0
},
"childless_delete_objects": "0",
"command": "0",
"error_objects": "0",
"object_update": {
"pending_acknowledgement": 0,
"pending_issue": 0
},
"paused_types": "0",
"resolve_objects": "0",
"stale_objects": "0",
"total_objects": "419"
}
}
}
| expected_output = {{'object_manager_statistics': {'batch_begin': {'pending_acknowledgement': 0, 'pending_issue': 0}, 'batch_end': {'pending_acknowledgement': 0, 'pending_issue': 0}, 'childless_delete_objects': '0', 'command': '0', 'error_objects': '0', 'object_update': {'pending_acknowledgement': 0, 'pending_issue': 0}, 'paused_types': '0', 'resolve_objects': '0', 'stale_objects': '0', 'total_objects': '419'}}} |
# creating a Class of name Employee
class Employee:
# creating a Class Variable
increament = 1.5
# Creating a Constructor of the Class Employee
def __init__(self, fname, lname, salary):
# setting Values to the variables
self.fname = fname
# setting Values to the variables
self.lname = lname
# setting Values to the variables
self.salary = salary
def increase(self): # Creating a Constructor
# making a change in the Class variable
self.salary = int(self.salary * Employee.increament)
# class method Property
@classmethod
# craeting a Function of Type Class Method
def change_increament(cls, amount):
# making change in Class Variable
cls.increament = amount
# class method Property
@classmethod
# craeting a Function of Type Class Method
def from_string(cls, emp_string):
# splitting the fname lname and salary from the String
fname, lname, salary = emp_string.split("-")
# returning the Extracted Values
return cls(fname, lname, salary)
@staticmethod # Class Static Method
def is_open(day): # creating a function
if day == "sunday" or day == "Sunday": # checking the Condition
# returning on the basis of the output
return False
else:
# returning the Alternate output on the basis of if statement
return True
# creating anathor class
class Programmer(Employee):
# creating a Constructor of Second Class
def __init__(self, fname, lname, salary, proglang, exp):
# calling the Constructor of the Employee Class
super().__init__(fname, lname, salary)
# Setting the Value to the Variable
self.proglang = proglang
# Setting the Value to the Variable
self.exp = exp
# creating a Object of Class Programmer and Assigning Values to the object
harry = Programmer("Alex", "Mercer", 44000, "Python", "5 Years")
print(harry.fname, harry.lname, # Printing The Values
harry.salary, harry.proglang, harry.exp)
| class Employee:
increament = 1.5
def __init__(self, fname, lname, salary):
self.fname = fname
self.lname = lname
self.salary = salary
def increase(self):
self.salary = int(self.salary * Employee.increament)
@classmethod
def change_increament(cls, amount):
cls.increament = amount
@classmethod
def from_string(cls, emp_string):
(fname, lname, salary) = emp_string.split('-')
return cls(fname, lname, salary)
@staticmethod
def is_open(day):
if day == 'sunday' or day == 'Sunday':
return False
else:
return True
class Programmer(Employee):
def __init__(self, fname, lname, salary, proglang, exp):
super().__init__(fname, lname, salary)
self.proglang = proglang
self.exp = exp
harry = programmer('Alex', 'Mercer', 44000, 'Python', '5 Years')
print(harry.fname, harry.lname, harry.salary, harry.proglang, harry.exp) |
'''
Count sort.
Outperforms the default sorting routine when the range of values is reasonably bounded.
'''
def count_sort(a):
mn, mx = float('inf'), -float('inf')
for x in a:
if x < mn: mn = x
if x > mx: mx = x
counter = [0 for _ in range(mx - mn + 1)]
for x in a:
counter[x - mn] += 1
j = 0
for i in range(mx - mn + 1):
a[j:j+counter[i]] = [i + mn]*counter[i]
j += counter[i]
| """
Count sort.
Outperforms the default sorting routine when the range of values is reasonably bounded.
"""
def count_sort(a):
(mn, mx) = (float('inf'), -float('inf'))
for x in a:
if x < mn:
mn = x
if x > mx:
mx = x
counter = [0 for _ in range(mx - mn + 1)]
for x in a:
counter[x - mn] += 1
j = 0
for i in range(mx - mn + 1):
a[j:j + counter[i]] = [i + mn] * counter[i]
j += counter[i] |
name = "alita"
version = "0.3.28"
build_command = "python -m rezutil build {root}"
private_build_requires = ["rezutil-1"]
# Variables unrelated to Rez are typically prefixed with `_`
_data = {
"label": "Alita - Battle Angel",
"icon": "{root}/resources/icon_{width}x{height}.png"
}
_requires = {
"any": [
"welcome-1",
"base-1",
# Supported DCCs, if either of these are used,
# this must be their version.
"~blender==2.80.0",
"~maya==2017.0.4|==2018.0.6",
"~dev_maya2", # hidden
"~nuke==11.3.5",
"~terminal==1.4.0",
],
# Requirements relative a request
# E.g. if `alita maya` is requested, the "maya"
# requirements are added to the list.
"maya": [
"maya_base",
"mgear-2.4",
],
"nuke": [
]
}
_environ = {
"any": {
"PROJECT_NAME": "Alita",
"PROJECT_PATH": "{env.PROJECTS_PATH}/alita",
# For locating in e.g. ftrack
"PRODUCTION_TRACKER_ID": "alita-123",
},
# Global overrides for TDs and free-form scripts
# These lack version or write-access control, and
# are intended for quick hacks and experimentation
# by artists not familiar or involved with Rez
# or overall package distribution.
"maya": {
"MYPATH": "{env.REZ_MAYA_MAJOR_VERSION}/some/dir",
"MAYA_COLOR_MANAGEMENT_POLICY_FILE": [
"{env.PROJECT_PATH}/maya/color_management"
"/default_synColorConfig.xml"
],
"PYTHONPATH": [
"{env.PROJECT_PATH}/maya/scripts",
"{env.PROJECT_PATH}/maya/shelves",
],
"MAYA_PLUG_IN_PATH": [
"{env.PROJECT_PATH}/maya/plugins"
],
"MAYA_SCRIPT_PATH": [
"{env.PROJECT_PATH}/maya/scripts",
],
"MAYA_SHELF_PATH": "{env.PROJECT_PATH}/maya/shelves",
"XBMLANGPATH": [
"{env.PROJECT_PATH}/maya/shelves/icons"
],
}
}
# ---------
#
# Internal
#
# ---------
late = locals()["late"]
@late()
def requires():
global this
global request
global in_context
requires = this._requires
result = requires["any"][:]
# Add request-specific requirements
if in_context():
for name, reqs in requires.items():
if name not in request:
continue
result += reqs
return result
def commands():
global env
global this
global request
global expandvars
environ = this._environ
result = list(environ["any"].items())
# Add request-specific environments
for key, values in environ.items():
if key not in request:
continue
result += list(values.items())
for key, value in result:
if isinstance(value, (tuple, list)):
[env[key].append(expandvars(v)) for v in value]
else:
env[key] = expandvars(value)
| name = 'alita'
version = '0.3.28'
build_command = 'python -m rezutil build {root}'
private_build_requires = ['rezutil-1']
_data = {'label': 'Alita - Battle Angel', 'icon': '{root}/resources/icon_{width}x{height}.png'}
_requires = {'any': ['welcome-1', 'base-1', '~blender==2.80.0', '~maya==2017.0.4|==2018.0.6', '~dev_maya2', '~nuke==11.3.5', '~terminal==1.4.0'], 'maya': ['maya_base', 'mgear-2.4'], 'nuke': []}
_environ = {'any': {'PROJECT_NAME': 'Alita', 'PROJECT_PATH': '{env.PROJECTS_PATH}/alita', 'PRODUCTION_TRACKER_ID': 'alita-123'}, 'maya': {'MYPATH': '{env.REZ_MAYA_MAJOR_VERSION}/some/dir', 'MAYA_COLOR_MANAGEMENT_POLICY_FILE': ['{env.PROJECT_PATH}/maya/color_management/default_synColorConfig.xml'], 'PYTHONPATH': ['{env.PROJECT_PATH}/maya/scripts', '{env.PROJECT_PATH}/maya/shelves'], 'MAYA_PLUG_IN_PATH': ['{env.PROJECT_PATH}/maya/plugins'], 'MAYA_SCRIPT_PATH': ['{env.PROJECT_PATH}/maya/scripts'], 'MAYA_SHELF_PATH': '{env.PROJECT_PATH}/maya/shelves', 'XBMLANGPATH': ['{env.PROJECT_PATH}/maya/shelves/icons']}}
late = locals()['late']
@late()
def requires():
global this
global request
global in_context
requires = this._requires
result = requires['any'][:]
if in_context():
for (name, reqs) in requires.items():
if name not in request:
continue
result += reqs
return result
def commands():
global env
global this
global request
global expandvars
environ = this._environ
result = list(environ['any'].items())
for (key, values) in environ.items():
if key not in request:
continue
result += list(values.items())
for (key, value) in result:
if isinstance(value, (tuple, list)):
[env[key].append(expandvars(v)) for v in value]
else:
env[key] = expandvars(value) |
class Coins:
''' Coins class for monetization '''
def __init__(self):
self.quarter = True
| class Coins:
""" Coins class for monetization """
def __init__(self):
self.quarter = True |
firstname = input("Give me your firstname: ")
familyname = input("Give me your lastname: ")
age = int(input("Give me your age: "))
# print(type(age))
print(firstname + familyname + str(age) + "years old")
if age >= 18:
print("You are an adult")
elif age < 16:
print("F U FAGGOT!")
else:
print("Fokking baby")
print("end program")
for i in range(0, 10):
print(i)
commando = input("Give me a commando, say stop to stop")
while commando != "stop":
commando = input("Give me a commando, say stop to stop") | firstname = input('Give me your firstname: ')
familyname = input('Give me your lastname: ')
age = int(input('Give me your age: '))
print(firstname + familyname + str(age) + 'years old')
if age >= 18:
print('You are an adult')
elif age < 16:
print('F U FAGGOT!')
else:
print('Fokking baby')
print('end program')
for i in range(0, 10):
print(i)
commando = input('Give me a commando, say stop to stop')
while commando != 'stop':
commando = input('Give me a commando, say stop to stop') |
class EmployeeModel:
def __init__(self, eid=0, did=0, name="", money=0):
self.eid = eid
self.did = did
self.name = name
self.money = money
| class Employeemodel:
def __init__(self, eid=0, did=0, name='', money=0):
self.eid = eid
self.did = did
self.name = name
self.money = money |
# cmd blacklist
__blacklist__ = {
"help": "crashes the app (requires unsupported external user input)",
"license": "crashes the app (requires unsupported external user input)"
}
| __blacklist__ = {'help': 'crashes the app (requires unsupported external user input)', 'license': 'crashes the app (requires unsupported external user input)'} |
def function1(x, n):
if n <= 0:
return x
else:
return 1 + function1(x, n - 1)
def function2(a, b):
if a <= 0:
return 1 + function1(a+1, b**a)
else:
return b
def function3(a, b):
if b <= 0:
return a
else:
return a + b + function3(a, b -1)
def function4(a, b, c):
if a > b and a > c:
return 1 + function4(b+1, c, a)
elif b > a or b > c:
return 1 - function4(b-1, c, a)
else:
return a+b+c
| def function1(x, n):
if n <= 0:
return x
else:
return 1 + function1(x, n - 1)
def function2(a, b):
if a <= 0:
return 1 + function1(a + 1, b ** a)
else:
return b
def function3(a, b):
if b <= 0:
return a
else:
return a + b + function3(a, b - 1)
def function4(a, b, c):
if a > b and a > c:
return 1 + function4(b + 1, c, a)
elif b > a or b > c:
return 1 - function4(b - 1, c, a)
else:
return a + b + c |
#Passphrases
#Advent of Code 2017 Day 4
#deal with the file
file = open('input4.txt','r')
input = file.read()
file.close()
lines = input.split("\n")
validLines = 0
def isValid(line):
words = line.split(" ")
#print( str(len(words)))
for x in range( 0, len(words) ):
for y in range( x+1, len(words )):
if( words[x] == words [y] ):
return False
return True
for eachLine in lines:
if isValid( eachLine ):
validLines += 1
print('done: ' + str(validLines))
print( str(len(lines)))
| file = open('input4.txt', 'r')
input = file.read()
file.close()
lines = input.split('\n')
valid_lines = 0
def is_valid(line):
words = line.split(' ')
for x in range(0, len(words)):
for y in range(x + 1, len(words)):
if words[x] == words[y]:
return False
return True
for each_line in lines:
if is_valid(eachLine):
valid_lines += 1
print('done: ' + str(validLines))
print(str(len(lines))) |
# Merge two sorted linked lists and return it as a new list.
# The new list should be made by splicing together the nodes
# of the first two lists.
#
# Input: 1->2->4, 1->3->4
# Output: 1->1->2->3->4->4
class ListNode:
def __init__(self, val):
self.val = val
self.next = None
class Solution:
def merge(self, l1, l2):
newnode = ListNode(-1)
node = newnode
while l1 is not None and l2 is not None:
if l1.val <= l2.val:
node.next = l1
l1 = l1.next
else:
node.next = l2
l2 = l2.next
node = node.next
node.next = l1 if l1 is not None else l2
return newnode.next
if __name__ == "__main__":
arr1 = [1, 3, 5, 7]
arr2 = [2, 4, 6]
node1 = ListNode(arr1[0])
node2 = ListNode(arr2[0])
n1 = node1
n2 = node2
for i in arr1[1:]:
n1.next = ListNode(i)
n1 = n1.next
for i in arr2[1:]:
n2.next = ListNode(i)
n2 = n2.next
node1 = None
output = Solution().merge(node1, node2)
while output:
print(output.val)
output = output.next
| class Listnode:
def __init__(self, val):
self.val = val
self.next = None
class Solution:
def merge(self, l1, l2):
newnode = list_node(-1)
node = newnode
while l1 is not None and l2 is not None:
if l1.val <= l2.val:
node.next = l1
l1 = l1.next
else:
node.next = l2
l2 = l2.next
node = node.next
node.next = l1 if l1 is not None else l2
return newnode.next
if __name__ == '__main__':
arr1 = [1, 3, 5, 7]
arr2 = [2, 4, 6]
node1 = list_node(arr1[0])
node2 = list_node(arr2[0])
n1 = node1
n2 = node2
for i in arr1[1:]:
n1.next = list_node(i)
n1 = n1.next
for i in arr2[1:]:
n2.next = list_node(i)
n2 = n2.next
node1 = None
output = solution().merge(node1, node2)
while output:
print(output.val)
output = output.next |
class Empty:
"""
A constant that is Like None, but adding a little more.
When compared with "==", it negates the bool(other) e.g. [] == Empty, {} == Empty, None == Empty
When compared with "is", "Empty is Empty" only evaluates to True.
This feature about "is" is convenient when checking default arguments is used or not.
you can tell the difference between optional argument not set between arbitrarily set None
e.g.
def f(a, b=Empty):
if b is Empty:
print('b is not set')
else:
print('b is set to: ', b)
f(1) -> b is not set
f(1, 2) -> b is set to: 2
f(1, None) -> b is set to: None
"""
def __repr__(self):
return 'Empty'
def __bool__(self):
return False
def __eq__(self, other):
return not other
Empty = Empty()
| class Empty:
"""
A constant that is Like None, but adding a little more.
When compared with "==", it negates the bool(other) e.g. [] == Empty, {} == Empty, None == Empty
When compared with "is", "Empty is Empty" only evaluates to True.
This feature about "is" is convenient when checking default arguments is used or not.
you can tell the difference between optional argument not set between arbitrarily set None
e.g.
def f(a, b=Empty):
if b is Empty:
print('b is not set')
else:
print('b is set to: ', b)
f(1) -> b is not set
f(1, 2) -> b is set to: 2
f(1, None) -> b is set to: None
"""
def __repr__(self):
return 'Empty'
def __bool__(self):
return False
def __eq__(self, other):
return not other
empty = empty() |
rows = [[1 if c == '#' else 0 for c in line[:-1]]
for line in open('input.txt')]
height, width, result = len(rows), len(rows[0]), 1
steps = [(1, 1), (3, 1), (5, 1), (7, 1), (1, 2)]
for right, down in steps:
trees, row, col = 0, 0, 0
for row in range(0, height, down):
trees += rows[row][col]
col = (col+right) % width
result *= trees
print(result)
| rows = [[1 if c == '#' else 0 for c in line[:-1]] for line in open('input.txt')]
(height, width, result) = (len(rows), len(rows[0]), 1)
steps = [(1, 1), (3, 1), (5, 1), (7, 1), (1, 2)]
for (right, down) in steps:
(trees, row, col) = (0, 0, 0)
for row in range(0, height, down):
trees += rows[row][col]
col = (col + right) % width
result *= trees
print(result) |
def alternatingSort(a):
b = []
i = 0 ; j = len(a)-1
j_turn = True
while (i <= j):
if (j_turn):
b.append(a[i])
i += 1
j_turn = False
else:
b.append(a[j])
j -= 1
j_turn = True
print(b)
alternatingSort([1,2,3,4,5,6,7,8]) | def alternating_sort(a):
b = []
i = 0
j = len(a) - 1
j_turn = True
while i <= j:
if j_turn:
b.append(a[i])
i += 1
j_turn = False
else:
b.append(a[j])
j -= 1
j_turn = True
print(b)
alternating_sort([1, 2, 3, 4, 5, 6, 7, 8]) |
def writeuser_tex(text_tex,env):
if env == 1:
text_file = open("latex/user_eq.tex", "w")
text_file.write(r"\begin{align*}")
text_file.write("\n")
text_file.write(r"%s" % text_tex)
text_file.write("\n")
text_file.write(r"\end{align*}")
text_file.close()
elif env == 2:
text_file = open("latex/user_eq.tex", "w")
text_file.write(r"\begin{equation*}")
text_file.write("\n")
text_file.write(r"%s" % text_tex)
text_file.write("\n")
text_file.write(r"\end{equation*}")
text_file.close()
elif env == 3:
text_file = open("latex/user_eq.tex", "w")
text_file.write(r"$ %s $" % text_tex)
text_file.close()
elif env == 4:
text_file = open("latex/user_eq.tex", "w")
text_file.write(r"%s" % text_tex)
text_file.close()
def writeuser_cmd(fontsize,color):
text_file = open(r"latex/user_cmd.tex", "w")
text_file.write(r"\def\myfontsize{%s}" % str(fontsize))
text_file.write("\n")
text_file.write(r"\def\myfontsizeplus{%s}" % str(float(fontsize)+5))
text_file.write("\n")
text_file.write(r"\definecolor{mycolor}{HTML}{%s}" % color[1:])
text_file.close()
| def writeuser_tex(text_tex, env):
if env == 1:
text_file = open('latex/user_eq.tex', 'w')
text_file.write('\\begin{align*}')
text_file.write('\n')
text_file.write('%s' % text_tex)
text_file.write('\n')
text_file.write('\\end{align*}')
text_file.close()
elif env == 2:
text_file = open('latex/user_eq.tex', 'w')
text_file.write('\\begin{equation*}')
text_file.write('\n')
text_file.write('%s' % text_tex)
text_file.write('\n')
text_file.write('\\end{equation*}')
text_file.close()
elif env == 3:
text_file = open('latex/user_eq.tex', 'w')
text_file.write('$ %s $' % text_tex)
text_file.close()
elif env == 4:
text_file = open('latex/user_eq.tex', 'w')
text_file.write('%s' % text_tex)
text_file.close()
def writeuser_cmd(fontsize, color):
text_file = open('latex/user_cmd.tex', 'w')
text_file.write('\\def\\myfontsize{%s}' % str(fontsize))
text_file.write('\n')
text_file.write('\\def\\myfontsizeplus{%s}' % str(float(fontsize) + 5))
text_file.write('\n')
text_file.write('\\definecolor{mycolor}{HTML}{%s}' % color[1:])
text_file.close() |
def subset_sum(numbers, target, partial=[]):
s = sum(partial)
# check if the partial sum is equals to target
if s == target:
return True
elif s > target:
return False # if we reach the number why bother to continue
i=0
while i < len(numbers):
n = numbers[i]
remaining = numbers[i + 1:]
if subset_sum(remaining, target, partial + [n])==True:
return True
i+=1
return False
if __name__ == "__main__":
numbers = [30, 35, 32, 30]
print(subset_sum(numbers, 62)) | def subset_sum(numbers, target, partial=[]):
s = sum(partial)
if s == target:
return True
elif s > target:
return False
i = 0
while i < len(numbers):
n = numbers[i]
remaining = numbers[i + 1:]
if subset_sum(remaining, target, partial + [n]) == True:
return True
i += 1
return False
if __name__ == '__main__':
numbers = [30, 35, 32, 30]
print(subset_sum(numbers, 62)) |
LEN_TIME = 3
MAPPING_TEXT = {
"Train a l'approche": "APR",
"Train a quai": "QAI",
"Train retarde": "RET",
"A l'approche": "APR",
"A l'arret": "ARR",
"Train arrete": "TAR",
"": "NAV",
"NAV": "NAV",
"UNC": "UNC"
}
def get_timings(returned_page_data):
first_destination = returned_page_data[0]
first_time = returned_page_data[1]
first_time_parsed = lcd_friendly(first_time)
second_time = returned_page_data[3]
second_time_parsed = lcd_friendly(second_time)
if first_time == "ARRET NON DESSERVI" and second_time == "MANIFESTATION":
return TimingIssue("NDS - Manifestation")
elif first_time == "INTERROMPU" and second_time == "MANIFESTATION":
return TimingIssue("INT - Manifestation")
elif first_time == "ARRET NON DESSERVI":
return TimingIssue("NDS")
elif first_time == "DEVIATION" and second_time == "ARRET NON DESSERVI":
return TimingIssue("NDS - Deviation")
elif first_time == "SERVICE TERMINE" or first_time == "TERMINE" or second_time == "TERMINE":
return TimingIssue("Termine")
elif first_time == "SERVICE NON COMMENCE" or first_time == "NON COMMENCE" or second_time == "NON COMMENCE":
return TimingIssue("Non commence")
elif first_time == "INFO INDISPO ...." and second_time == "INFO INDISPO ....":
return TimingIssue("Indisponible")
if second_time == "DERNIER PASSAGE":
second_time_parsed = "DER"
elif second_time == "PREMIER PASSAGE":
second_time_parsed = "PRE"
first_destination = friendly_destination(first_destination)
return RegularTimings(first_destination, first_time_parsed, second_time_parsed)
def friendly_destination(text):
text = text.replace("Porte de", "P.")
text = text.replace("Porte d'", "P. ")
text = text.replace("Pont de", "P.")
text = text.replace("Pont du", "P.")
text = text.replace("Mairie de", "M.")
text = text.replace("Mairie d'", "M. ")
text = text.replace("Saint", "St")
return text
def lcd_friendly(text):
if text in MAPPING_TEXT:
return MAPPING_TEXT[text]
elif text.find("mn") != -1:
return text.replace(" mn", "m").zfill(LEN_TIME)
else:
return "??m"
class RegularTimings:
def __init__(self, first_destination, first_timing, second_timing):
self.first_destination = first_destination
self.first_timing = first_timing
self.second_timing = second_timing
class TimingIssue:
def __init__(self, message):
self.message = message
| len_time = 3
mapping_text = {"Train a l'approche": 'APR', 'Train a quai': 'QAI', 'Train retarde': 'RET', "A l'approche": 'APR', "A l'arret": 'ARR', 'Train arrete': 'TAR', '': 'NAV', 'NAV': 'NAV', 'UNC': 'UNC'}
def get_timings(returned_page_data):
first_destination = returned_page_data[0]
first_time = returned_page_data[1]
first_time_parsed = lcd_friendly(first_time)
second_time = returned_page_data[3]
second_time_parsed = lcd_friendly(second_time)
if first_time == 'ARRET NON DESSERVI' and second_time == 'MANIFESTATION':
return timing_issue('NDS - Manifestation')
elif first_time == 'INTERROMPU' and second_time == 'MANIFESTATION':
return timing_issue('INT - Manifestation')
elif first_time == 'ARRET NON DESSERVI':
return timing_issue('NDS')
elif first_time == 'DEVIATION' and second_time == 'ARRET NON DESSERVI':
return timing_issue('NDS - Deviation')
elif first_time == 'SERVICE TERMINE' or first_time == 'TERMINE' or second_time == 'TERMINE':
return timing_issue('Termine')
elif first_time == 'SERVICE NON COMMENCE' or first_time == 'NON COMMENCE' or second_time == 'NON COMMENCE':
return timing_issue('Non commence')
elif first_time == 'INFO INDISPO ....' and second_time == 'INFO INDISPO ....':
return timing_issue('Indisponible')
if second_time == 'DERNIER PASSAGE':
second_time_parsed = 'DER'
elif second_time == 'PREMIER PASSAGE':
second_time_parsed = 'PRE'
first_destination = friendly_destination(first_destination)
return regular_timings(first_destination, first_time_parsed, second_time_parsed)
def friendly_destination(text):
text = text.replace('Porte de', 'P.')
text = text.replace("Porte d'", 'P. ')
text = text.replace('Pont de', 'P.')
text = text.replace('Pont du', 'P.')
text = text.replace('Mairie de', 'M.')
text = text.replace("Mairie d'", 'M. ')
text = text.replace('Saint', 'St')
return text
def lcd_friendly(text):
if text in MAPPING_TEXT:
return MAPPING_TEXT[text]
elif text.find('mn') != -1:
return text.replace(' mn', 'm').zfill(LEN_TIME)
else:
return '??m'
class Regulartimings:
def __init__(self, first_destination, first_timing, second_timing):
self.first_destination = first_destination
self.first_timing = first_timing
self.second_timing = second_timing
class Timingissue:
def __init__(self, message):
self.message = message |
#Add prod locations and copy to file_locations_prod.py
LAST_ID = 'last_id.txt'
LOCK_FILE = 'locked.txt'
LOG_FILE = 'errors.txt'
| last_id = 'last_id.txt'
lock_file = 'locked.txt'
log_file = 'errors.txt' |
book = {"apple": 0.67,
"banana": 1.49,
"milk": 2.3
}
book["avocado"] = 1.5
print(book)
print(book["banana"])
print(book["avocado"]) | book = {'apple': 0.67, 'banana': 1.49, 'milk': 2.3}
book['avocado'] = 1.5
print(book)
print(book['banana'])
print(book['avocado']) |
print ("program mayor menor")
numero1= input ("INTRODUCE UN NUMERO:")
numero1= int (numero1)
numero2= input ("INTRODUCE UN NUMERO:")
numero2= int (numero2)
if numero1<numero2:
print ("Usted Escribio los nmeros %d " %numero1, end="")
print (" y %d" %numero2)
| print('program mayor menor')
numero1 = input('INTRODUCE UN NUMERO:')
numero1 = int(numero1)
numero2 = input('INTRODUCE UN NUMERO:')
numero2 = int(numero2)
if numero1 < numero2:
print('Usted Escribio los nmeros %d ' % numero1, end='')
print(' y %d' % numero2) |
'''
Problem statement: Create a function to find only the root value of x in any quadratic equation ax^2 + bx + c. The function will take three arguments:
- a as the coefficient of x^2
- b as the coefficient of x
- c as the constant term
Problem Link: https://edabit.com/challenge/MDWFcHCTiJfHmwTFx
'''
def quadratic_equation(a, b, c):
numerator = -b + (((b**2)-(4*a*c))**(1/2))
denominator = 2*a
return numerator/denominator
| """
Problem statement: Create a function to find only the root value of x in any quadratic equation ax^2 + bx + c. The function will take three arguments:
- a as the coefficient of x^2
- b as the coefficient of x
- c as the constant term
Problem Link: https://edabit.com/challenge/MDWFcHCTiJfHmwTFx
"""
def quadratic_equation(a, b, c):
numerator = -b + (b ** 2 - 4 * a * c) ** (1 / 2)
denominator = 2 * a
return numerator / denominator |
def make_cmd_params(command, nodes, env, sourcehash):
inputs = {}
outputs = []
files = [] #to be monitored
refs = []
output_refs = []
params = {
"lineno": command["cmd"]["lineno"],
"source": command["cmd"]["source"],
"sourcehash": sourcehash,
"refs": refs,
"output_refs": output_refs,
"inputs": inputs,
"outputs": outputs,
"files": files,
}
for noderef in command["noderefs"]:
if noderef["type"] == "file":
name = noderef["value"]
if name not in files:
files.append(name)
refs.append(noderef)
elif noderef["type"] == "doc" and noderef["index"] == -1:
refs.append(None)
elif noderef["type"] in ("doc", "variable"):
node = nodes[noderef["type"]][noderef["index"]]
name = node["name"]
inputs[name] = noderef["type"]
refs.append(name)
elif noderef["type"] == "env":
envname = nodes["env"][noderef["index"]]["name"]
refs.append({"type": "env", "value": env[envname]})
elif noderef["type"] == "varexp":
subrefs = []
for subnoderef in noderef["noderefs"]:
if subnoderef["type"] == "variable":
node = nodes["variable"][subnoderef["index"]]
name = node["name"]
subrefs.append(name)
inputs[name] = "variable"
elif subnoderef["type"] == "env":
envname = nodes["env"][subnoderef["index"]]["name"]
subrefs.append("$" + envname)
ref = {"type": "varexp", "value": noderef["value"], "refs": subrefs}
refs.append(ref)
else:
raise ValueError(command["cmd"]["source"], noderef["type"])
for output in command["outputs"]:
type_ = output["type"]
noderef = output["noderef"]
assert noderef["type"] == "doc"
if noderef["index"] == -1:
output_refs.append({"type": type_, "name": None})
else:
node = nodes["doc"][noderef["index"]]
name = node["name"]
if name not in outputs:
outputs.append(name)
output_refs.append({"type": type_, "name": name})
capture = command.get("capture", None)
if capture is not None:
assert capture["type"] == "context"
type_ = "capture"
if capture["index"] == -1:
output_refs.append({"type": type_, "name": None})
else:
node = nodes["context"][capture["index"]]
name = node["name"]
outputs.append(name)
output_refs.append({"type": type_, "name": name})
pragma = command.get("pragma", None)
if pragma is not None:
params["pragma"] = pragma
params["command"] = command["parsed"]
return params
| def make_cmd_params(command, nodes, env, sourcehash):
inputs = {}
outputs = []
files = []
refs = []
output_refs = []
params = {'lineno': command['cmd']['lineno'], 'source': command['cmd']['source'], 'sourcehash': sourcehash, 'refs': refs, 'output_refs': output_refs, 'inputs': inputs, 'outputs': outputs, 'files': files}
for noderef in command['noderefs']:
if noderef['type'] == 'file':
name = noderef['value']
if name not in files:
files.append(name)
refs.append(noderef)
elif noderef['type'] == 'doc' and noderef['index'] == -1:
refs.append(None)
elif noderef['type'] in ('doc', 'variable'):
node = nodes[noderef['type']][noderef['index']]
name = node['name']
inputs[name] = noderef['type']
refs.append(name)
elif noderef['type'] == 'env':
envname = nodes['env'][noderef['index']]['name']
refs.append({'type': 'env', 'value': env[envname]})
elif noderef['type'] == 'varexp':
subrefs = []
for subnoderef in noderef['noderefs']:
if subnoderef['type'] == 'variable':
node = nodes['variable'][subnoderef['index']]
name = node['name']
subrefs.append(name)
inputs[name] = 'variable'
elif subnoderef['type'] == 'env':
envname = nodes['env'][subnoderef['index']]['name']
subrefs.append('$' + envname)
ref = {'type': 'varexp', 'value': noderef['value'], 'refs': subrefs}
refs.append(ref)
else:
raise value_error(command['cmd']['source'], noderef['type'])
for output in command['outputs']:
type_ = output['type']
noderef = output['noderef']
assert noderef['type'] == 'doc'
if noderef['index'] == -1:
output_refs.append({'type': type_, 'name': None})
else:
node = nodes['doc'][noderef['index']]
name = node['name']
if name not in outputs:
outputs.append(name)
output_refs.append({'type': type_, 'name': name})
capture = command.get('capture', None)
if capture is not None:
assert capture['type'] == 'context'
type_ = 'capture'
if capture['index'] == -1:
output_refs.append({'type': type_, 'name': None})
else:
node = nodes['context'][capture['index']]
name = node['name']
outputs.append(name)
output_refs.append({'type': type_, 'name': name})
pragma = command.get('pragma', None)
if pragma is not None:
params['pragma'] = pragma
params['command'] = command['parsed']
return params |
def marge(arr, start, mid, end):
num1 = mid - start + 1
num2 = end - mid
left = [0] * (num1)
right = [0] * (num2)
for i in range(0, num1):
left[i] = arr[start+i]
for j in range(0, num2):
right[j] = arr[mid+1+j]
i = 0
j = 0
k = start
while i < num1 and j < num2:
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k += 1
while i < num1:
arr[k] = left[i]
i += 1
k += 1
while j < num2:
arr[k] = right[j]
j += 1
k += 1
def marge_sort(arr, start, end):
if start < end:
mid = (start+(end-1))//2
marge_sort(arr, start, mid)
marge_sort(arr, mid+1, end)
marge(arr, start, mid, end)
return arr
arr=[4,23,55,77,10,200]
print(marge_sort(arr,0,5))
| def marge(arr, start, mid, end):
num1 = mid - start + 1
num2 = end - mid
left = [0] * num1
right = [0] * num2
for i in range(0, num1):
left[i] = arr[start + i]
for j in range(0, num2):
right[j] = arr[mid + 1 + j]
i = 0
j = 0
k = start
while i < num1 and j < num2:
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k += 1
while i < num1:
arr[k] = left[i]
i += 1
k += 1
while j < num2:
arr[k] = right[j]
j += 1
k += 1
def marge_sort(arr, start, end):
if start < end:
mid = (start + (end - 1)) // 2
marge_sort(arr, start, mid)
marge_sort(arr, mid + 1, end)
marge(arr, start, mid, end)
return arr
arr = [4, 23, 55, 77, 10, 200]
print(marge_sort(arr, 0, 5)) |
# Definition for a binary tree node.
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def pathSum(self, root, sum):
"""
:type root: TreeNode
:type sum: int
:rtype: int
"""
self.result = 0
cache = {0:1}
self.dfs(root, sum, cache, 0)
return self.result
def dfs(self, root, target, cache, curPath = 0):
if root is None:
return
curPath += root.val
oldPath = curPath - target
self.result += cache.get(oldPath, 0)
cache[curPath] += cache.get(curPath, 0) + 1
self.dfs(root.left, target, cache, curPath)
self.dfs(root.right, target, cache, curPath)
cache[curPath] -= 1
# def dfs(self, root_map, node, target, total=0, path=[], result=[]):
# if node is None:
# return
# # print(' target {} = {} + {} {}'.format(target, total, node.val, path+[node.val]))
# if target == total + node.val:
# result.append(path+[node.val])
# # search with root
# # if node.left is not None:
# # if node.right is not None:
# self.dfs(root_map, node.left, target, total + node.val, path+[node.val], result)
# if node.left not in root_map:
# root_map[node.left] = True
# self.dfs(root_map, node.left, target, 0, [], result)
# self.dfs(root_map, node.right, target, total + node.val, path+[node.val], result)
# if node.right not in root_map:
# root_map[node.right] = True
# self.dfs(root_map, node.right, target, 0, [], result)
# 1
# / \
# -2 -3
# /\ |
# 1 3 -2
# /
#-1
# [10,
# 5,-3,
# 3,2,None,11,
# 3,-2,None,1]
s = Solution()
# root = TreeNode(10)
# root.left = TreeNode(5)
# root.right = TreeNode(-3)
# root.left.left = TreeNode(3)
# root.left.right = TreeNode(2)
# root.right.left = None
# root.right.right = TreeNode(11)
# root.left.left.left = TreeNode(3)
# root.left.left.right = TreeNode(-2)
# # root.left.right.left = TreeNode(3)
# root.left.right.right = TreeNode(1)
# print(s.pathSum(root, 8))
# def build_tree(root, arr):
# [1,-2,-3,1,3,-2,None,-1]
# root = TreeNode(1)
# root.left = TreeNode(-2)
# root.right = TreeNode(-3)
# root.left.left = TreeNode(1)
# root.left.right = TreeNode(3)
# root.right.left = TreeNode(-2)
# root.right.right = None
# root.left.left.left = TreeNode(-1)
# print(s.pathSum(root, 3))
# def build_tree(arr):
# root = TreeNode(0)
# ptr = root
# for i in range(1, len(arr)):
# if i % 2 == 1:
# ptr.left = TreeNode(0)
# ptr = ptr.left
# return root
# root = TreeNode(0)
# root.left = TreeNode(0)
# root.left.left = TreeNode(0)
# root.left.left.left = TreeNode(0)
# root.left.left.left.left = TreeNode(0)
# root.left.left.left.left.left = TreeNode(0)
# q =[0,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0,None,0]
# print(s.pathSum(build_tree(q), 0))
| class Treenode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def path_sum(self, root, sum):
"""
:type root: TreeNode
:type sum: int
:rtype: int
"""
self.result = 0
cache = {0: 1}
self.dfs(root, sum, cache, 0)
return self.result
def dfs(self, root, target, cache, curPath=0):
if root is None:
return
cur_path += root.val
old_path = curPath - target
self.result += cache.get(oldPath, 0)
cache[curPath] += cache.get(curPath, 0) + 1
self.dfs(root.left, target, cache, curPath)
self.dfs(root.right, target, cache, curPath)
cache[curPath] -= 1
s = solution() |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.