Coder Social home page Coder Social logo

Comments (16)

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

I'll try b) now.

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

Ich schau mir den Rest von 4 auch noch an.

from gki.

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

Finished 4 b).

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

made small corrections

from gki.

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

4 c) is done

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

working on 4d right now. I have an idea, not sure if I'm on the right track though

from gki.

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

4 e) is finished as well now I guess, but someone should review it before we hand it in.

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

done with 4d, if somebody could look at it, I'll look at 4e

from gki.

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

I think the first steps in d) should look like:

  1. F(y)
  2. Be(x,GKI), Ge(x,Poker) -| (1), {y/x}
    and then you have different ways to fulfill those requirements. You're supposed to choose one possible rule and then use backtracking if you come to a point where you can't match any more requirements to existing rules or facts.

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

No, you are supposed to use backtracking if you chose a wrong rule, like if I tried to use (3) for Be(S,GKI) eventhough In(S) is not true. But you don't have to branch out for different things left to prove.

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

How did you choose that specific fact for 4e. I thought you would have to continue with forwardchaining until you can't find anymore facts.

from gki.

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

You're supposed to use backtracking as soon as you find a requirement in your goals list, that can't be fulfilled by any of the rules or facts given. Don't know if you mean that, but you can check in the lecture's slides. The way you started your proof is still wrong though imo.
You need to take your goal and then 'go backwards' to prove it.
Our goal is to show Fr(y). That's also why I stopped forwardchaining after 3 iterations. It stops (and returns a failure) if you can't produce any more facts OR stops and returns a solution if you find your goal in the new facts created during the last iteration.

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

du hast recht, hab die frage falsch verstanden. mach das schnell

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

Like this, or do you think I have to branch for which fact I prove first, as well?

from gki.

NiklasGebauer avatar NiklasGebauer commented on July 19, 2024

I already switched off everything, will have a look at it tomorrow if that's okay for you

-------- Ursprüngliche Nachricht --------
Von: Leonard Witte [email protected]
Datum:
An: TN1ck/GKI [email protected]
Cc: NiklasGebauer [email protected]
Betreff: Re: [GKI] Finish exercise 4 of sheet 3 (#1)

Like this, or do you think I have to branch for which fact I prove first, as well?


Reply to this email directly or view it on GitHub.

from gki.

cyborgx7 avatar cyborgx7 commented on July 19, 2024

sure

from gki.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.