Backtracking in PROLOG (with CODE)

preview_player
Показать описание
This video explains backtracking in PROLOG with examples as well as CODE in prolog. If you have any VIDEO REQUEST then do comment below and i will try to upload a video for it as soon as i can. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
Рекомендации по теме
Комментарии
Автор

Sorry, it's not clear for me. For X=3, we call is_integer(Y) before we assign X = Y + 1. So what value does Y take for the call is_integer(Y)?
On the other hand, it would make perfect sense to me if the rule were: is_integer(X) :- Y is X - 1, is_integer(Y). Then the recursion would be obvious.

kneejerkreactor-
Автор

THANKS FOR THIS LEACTURE BUT I CANT UNDERSTAND WHY AND HOW DOES
THE VALUE OF X IS DECREASING

arsagaming
Автор

Thankyou bhai for such a good explanation :)

hiren
Автор

Your name should be tech cursor, i like the way you explain with example 🤩😁 great work man

RohanVasava
Автор

thank you v much sir for such great videos & for ur efforts to make these..I'm getting confused why u have used is_integer(y) when we aren't getting its value in recursion. what is used for..?

wasit-shafi
Автор

Thank you! Could you please make a video on list recursion and implementation of inbuilt rules ? I'm having hard time understanding it.

VADroidTS
Автор

Greetings, I must say you have been very helpful with your tutorials. I just wanted to ask you, when in designing the tree, do we always have to go firstly from the left path and then left again? thank you

dwrachatz
Автор

Honestly, could you at-least try to write it with good hand writing because its impossible to read.

asfand