Add files via upload
This commit is contained in:
parent
c113032c5f
commit
13e162b208
@ -4,7 +4,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"<div style=\"text-align: right\"><i>Peter Norvig<br>Dec 2018<br>Updated Jun 2020</i></div>\n",
|
"<div align=\"right\" style=\"text-align: right\"><i>Peter Norvig<br>Dec 2018<br>Updated Jun 2020</i></div>\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Portmantout Words\n",
|
"# Portmantout Words\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -682,7 +682,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Making it Prettier\n",
|
"# Making it Prettier\n",
|
||||||
"\n",
|
"\n",
|
||||||
"Notice I haven't actually *looked* at the portmantout yet. I didn't want to dump half a million letters into an output cell. Instead, I'll define `report` to summarize the results and save the full string $S$ into [a file](natalie.txt). I introduce the notion of **safe bridges**, which means that `W.bridges` contains a bridge from every leter to every other letter. A word set that has that property can always find a solution; word sets that don't might or might not find a solution, depending on the order of step choices."
|
"Notice I haven't actually *looked* at the portmantout yet. I didn't want to dump half a million letters into an output cell. Instead, I'll define `report` to print various statistics, summarize the begin and end of the portmantout, and save the full string $S$ into [a file](natalie.txt). "
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user