CUT and Fail in PROLOG

Поділитися
Вставка
  • Опубліковано 12 гру 2024
  • This video explains about CUT and Fail in prolog. I have shown the working of CUT & Fail by using simple real life example and have shown the cases where they are used in combination. 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 :)

КОМЕНТАРІ • 44

  • @edwardgrabczewski
    @edwardgrabczewski 5 років тому +20

    Cut and fail can be show with this example:
    maxc(X,Y,Max) :- X >= Y, !, Max = X; Max = Y.
    maxcf(X,Y,Max) :- X >= Y, !, fail, Max = X; Max = Y.

  • @tabnashahid3784
    @tabnashahid3784 5 років тому +19

    Why is this series so underrated?

  • @daviebutao6306
    @daviebutao6306 Рік тому +1

    both love & respect to the man.This series has managed to take me off the streets who knew nothing about swi prolog and now am better off ❤❤❤

  • @unity3dconcepts434
    @unity3dconcepts434 3 роки тому +1

    Yes sir, got the Cut and Fail. Tomorrow is exam and this question is 100% coming. Thanks.

  • @sreyanology
    @sreyanology 2 місяці тому

    I really loved the complete playlist on Prolog Tutorials. However, it would be helpful if the permutation and sorting algorithms were added in prolog programs.

  • @youhavetodoit9070
    @youhavetodoit9070 2 роки тому +1

    Thank You So Much For The PROLOG Series

  • @ahmedshafraz1538
    @ahmedshafraz1538 3 роки тому +3

    This is a really awesome tutorial to understand prolog concepts. Thank you very much found it very useful..

  • @exploreinto7025
    @exploreinto7025 2 роки тому +1

    This was a very good lecture series. It is sad that the tutorial series is still incomplete.

  • @gwalaniarun
    @gwalaniarun 4 роки тому +1

    You are great okay...with best explanation okay...i love your video okay.. thank you okayy....

    • @techdose4u
      @techdose4u  4 роки тому +4

      You are enjoying okayy :P

  • @jankipatel118
    @jankipatel118 3 роки тому

    awsome videos of both cut and fail , i have watched becuase of exams , thank sir , i really helped me

  • @maryamalizadeh4984
    @maryamalizadeh4984 4 роки тому +1

    Please record tutorial about binary trees in prolog. Your explanation is great.

  • @alessiamazzeo6834
    @alessiamazzeo6834 8 місяців тому

    Thanks for the videos of this Playlist, could you please do one about how to represent a finite state machine in prolog?

  • @RohanVasava
    @RohanVasava 2 роки тому

    Man you are great teacher 😁 explanation with the example is OP🚀

  • @amitmodh167
    @amitmodh167 3 роки тому

    superb explaination

  • @Amantha
    @Amantha 3 роки тому +1

    We need more prolog videos... Please do more videos... 😇

  • @manunegi5817
    @manunegi5817 5 років тому +1

    very well explained..🙏 Thank YOU!!!

  • @ramrushendra9140
    @ramrushendra9140 Рік тому

    Please do a video on DCG

  • @dwrachatz111
    @dwrachatz111 4 роки тому

    Question! Regarding our example, it will never find the goal if the goal is at point R. That means it will just give us an outpout of false? Thank you

  • @lyricswithvikas
    @lyricswithvikas 2 роки тому

    Thank you sir ji 😊😊

  • @shimulbhattacharjee9560
    @shimulbhattacharjee9560 3 роки тому +1

    Sir pleeeeaaase make videos on element insertion and deletion at all levels in a list🙏

  • @idkkidkmaybe9765
    @idkkidkmaybe9765 4 місяці тому

    Thankyou sir!

  • @anshumansharma6650
    @anshumansharma6650 3 роки тому +1

    Tysm ❤️❤️❤️❤️❤️❤️😍😍😍😍😍🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻.

  • @HVSharma
    @HVSharma 5 років тому +1

    Thank you, sir! well explained!

  • @amanrubey
    @amanrubey 3 роки тому

    Sir I needed some coding examples to understand this better 😅

  • @soorajsingh8799
    @soorajsingh8799 5 років тому

    When are you uploading more videos on this series?

    • @techdose4u
      @techdose4u  5 років тому

      I have recently joined company and will start uploading more as soon as i get settled.
      😅

  • @noorulain0192
    @noorulain0192 Місяць тому

    Completed one night before exam

  • @kagankarakaptan6274
    @kagankarakaptan6274 4 роки тому +1

    okay

  • @gwalaniarun
    @gwalaniarun 4 роки тому

    Ok

  • @ashneen7795
    @ashneen7795 2 роки тому

    Bakws lecture

  • @yassinezhs9209
    @yassinezhs9209 2 роки тому

    Peace and mercy be upon you. Thank you very much brother. Can I message you? I need help.pleeeeeeeeeeaz🙏🙏