File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,14 @@ def parse_neighbors(neighbors, vars=[]):
352
352
NJ: DE; DE: MD; MD: DC; VT: NH MA; MA: NH RI CT; CT: RI; ME: NH;
353
353
HI: ; AK: """ )
354
354
355
+ france = MapColoringCSP (list ('RGBY' ),
356
+ """AL: LO FC; AQ: MP LI PC; AU: LI CE BO RA LR MP; BO: CE IF CA FC RA
357
+ AU; BR: NB PL; CA: IF PI LO FC BO; CE: PL NB NH IF BO AU LI PC; FC: BO
358
+ CA LO AL RA; IF: NH PI CA BO CE; LI: PC CE AU MP AQ; LO: CA AL FC; LR:
359
+ MP AU RA PA; MP: AQ LI AU LR; NB: NH CE PL BR; NH: PI IF CE NB; NO:
360
+ PI; PA: LR RA; PC: PL CE LI AQ; PI: NH NO CA IF; PL: BR NB CE PC; RA:
361
+ AU BO FC PA LR""" )
362
+
355
363
#______________________________________________________________________________
356
364
# n-Queens Problem
357
365
You can’t perform that action at this time.
0 commit comments