Video: Describing a Knight's Tour with Prolog #2544
Replies: 12 comments 14 replies
-
This is very cool, I didn't know about these clpz conjunctions and disjunctions! And I'm only 7 minutes into the video! |
Beta Was this translation helpful? Give feedback.
-
If this is a short video I really want to see a long one. Absolutely amazing, it covers many different topics. I will definitely going to try the challenge problem! |
Beta Was this translation helpful? Give feedback.
-
So rich with ideas, will require revisiting again and again!
Also many elegant flourishes here, including this dynamic, on-the-fly testing — which I'd never thought to do: |
Beta Was this translation helpful? Give feedback.
-
"Ready? Go." WOW what a payoff!! 🍿🍿🍿 Hollywood should be taking notes!! |
Beta Was this translation helpful? Give feedback.
-
I used to think Python, with its exceptional string interpolation and very easy string formatting language, was king of string formatting -- even the concept of "declarative output" was not enough to convince me otherwise. Until I saw the combination of DCGs+ string formatting. Now THAT is power! 👑🤴 |
Beta Was this translation helpful? Give feedback.
-
Ok overall takeaways, and these are just the pragmatic ones, not even touching on the philosophical
We really need to get together and index @triska 's videos! |
Beta Was this translation helpful? Give feedback.
-
No |
Beta Was this translation helpful? Give feedback.
-
So many goodies in this video. These are the moments that stood out to me:
|
Beta Was this translation helpful? Give feedback.
-
Wow, I liked the video a lot. It shows a real journey, that I've experienced myself too while solving some problems. And this video not only reflects many of the stages in a problem solving, but also puts names and teaches many things in the middle. In my case, I already knew the final answer because I read Constraint Solving and Planning with Picat which uses this example too. It's a good introduction to constraints with the only downside that it uses Picat, not Prolog. |
Beta Was this translation helpful? Give feedback.
-
I'm very confused about the |
Beta Was this translation helpful? Give feedback.
-
My other comment would be that this is overall a fantastic video, but does have that minor feeling of "aha, there just so happens to be the perfect tool that solves this problem!". This is of course a simplification, the leap of modelling to notice that you can use |
Beta Was this translation helpful? Give feedback.
-
Apart from the concrete constraints available currently, you always have the choice to use Prolog's more pedestrian means like chronological backtracking. When combined with the existing constraints, they may already be sufficiently efficient. In fact the serialized constraints did not exist in early implementations, but by appropriately combining a naive (and pure) Prolog version together with the linear constraints, it became possible to prove optimality for the famous bridge construction problem. |
Beta Was this translation helpful? Give feedback.
-
Dear all,
today I uploaded a short video, Describing a Knight's Tour with Prolog.
Thank you all for motivating me to make this!
It was specifically Christian Jendreiko's interest in the formatting code that motivated me to start it, and it is due to all your great contributions and interest that I was able to finish it! Thank you a again!
I hope to see many of you in Vienna at the Scryer Prolog Meetup 2024!
Enjoy!
All the best,
Markus
Beta Was this translation helpful? Give feedback.
All reactions