Skip to content

pikalab-unibo/ise-lab-code-inference

Repository files navigation

Exercises on Inference in 2P-Kt

Useful resources

Order of exercises

  1. Exercises 1, 2, 3 in ./substitutions is about substitutions
    • 101 for substitution manipulation in 2P-Kt
    • small exercise about clause refresing
  2. Exercise 4 in ./unification is about unification
    • 101 for terms/clauses unification in 2P-Kt
  3. Exercise 5 in ./theories theories
    • 101 for clauses retrieval from theories, via unification
  4. Exercise 6, 7 in ./resolution is about resolution
    • exercise about how to perform resolution with a depth-first strategy
    • exercise about how to perform resolution with a (slightly) smarter strategy

Workflow

  1. Listen to the teacher's explanation
  2. Look for specific TODOs in the source code of each exercise
  3. Inspect and understand the provided unit tests
    • each single line has a meaning: ask for help if a line/test/suite is unclear
  4. Address the TODO and run the tests
  5. When all tests pass, the exercise is done

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages