-
Notifications
You must be signed in to change notification settings - Fork 1
/
input.py
158 lines (116 loc) · 2.36 KB
/
input.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
ITERATED_LOGARITHMIC_TIGHT = [
#MIS
({'BC', 'AA'},
{'AAB', 'ABB', 'CCC', 'BBB'}),
#MIS
({'AA', 'BC', 'AC'},
{'CCC','AAB'})
]
ITERATED_LOGARITHMIC_UPPER_BOUND = [
({'AA', 'BC', 'CC'},
{'AAC','BBB','ABB'})
]
LOGARITHMIC_TIGHT = [
# 3 vertex coloring on latex
({'AB', 'AC', 'BC'},
{'AAA','BBB','CCC'}),
# 3 edge coloring on latex
({'AA', 'BB', 'CC'},{'ABC'}),
({'AB','CC'},
{'AAA','BBB','AAC','BBC'})
]
LOGARITHMIC_UPPER_BOUND = [
# SOO done on latex
({'AC', 'BC'},
{'ABC', 'BCC'}),
# SOO done on latex
({'AB','BC'},
{'AAB','BBC'}),
# EO done on latex 1
({'AC','BC'},
{'ABC','CCC'}),
# EO done on latex 2
({'AC','BC'},
{'AAA','BCC'}),
# EO done on latex 2
({'AC','BC'},
{'ABB','ACC'}),
# EO done on latex 2
({'AC','BC'},
{'ABB','BCC'}),
# color+edgecolor done on latex 2
({'AC','BC','AB'},
{'ABC'}),
# R&C
({'AB', 'CC'},
{'CCB', 'ACC'}),
# #####
# ({'AB', 'CC'},
# {'BCC', 'ABB'}),
# R&C
({'AB', 'CC'},
{'BCC', 'AAC'}),
# R&C
({'AB','CC'},
{'ABC'}),
# R&C
({'AB','CC'},
{'AAB','BBC'}),
# R&C
({'AB','CC'},
{'AAC','BBC'}),
# R&C
({'AB','CC'},
{'AAB','BCC'}),
# R&C
({'AB','CC'},
{'BCC','AAA'}),
# R&C
({'AB','CC'},
{'BBC','AAA'})
]
LOGARITHMIC_LOWER_BOUND = [
# Manually checked fixed points using RE
# fixed point 1
({'AC', 'BB', 'CC', 'AA', 'BC'},
{'AAB','ABC','ABB'}),
# fixed point 1
({'AC', 'AB', 'CC', 'BC'},
{'AAA','BBC','BBB','ABB'}),
# fixed point 2
({'BB', 'CC', 'AA'},
{'BCC','BBC','AAC','AAB'}),
# fixed point 2
({'BB', 'CC', 'AA'},
{'BCC','AAC','ABB'}),
# fixed point 2
({'AB', 'CC'},
{'ABB','AAA','BBB','BCC','ACC'}),
# fixed point 2
({'AB', 'CC'},
{'AAB','AAA','BBB','BCC','AAC'}),
# fixed point 2
({'CC', 'BC', 'AA'},
{'BBC','AAB','BBB','AAC','BCC'}),
# fixed point 2.5
({'AB', 'CC'},
{'AAC','BBC','BBB','ABB'}),
# fixed point auto
({'AB', 'CC'},
{'BCC','AAC','ABB'}),
# fixed point auto
({'AB', 'CC'},
{'BCC','AAA','ABC'}),
# fixed point auto
({'AB', 'CC'},
{'BBC','AAA','ABC'}),
# fixed point auto
({'AB', 'CC'},
{'BCC','BBC','AAA'}),
# fixed point auto
({'AB', 'CC'},
{'AAA','BBB','ABC'}),
# fixed point auto
({'AB', 'CC'},
{'BCC','BBC','AAA','ABC'})
]