Skip to content

Aflynn50/GPP-3rd-year-project

Repository files navigation

Files for my third year project

This repo contains variouse files for my third year project. At the time of writing this readme the repo contains a prolog eight puzzle solver and a parser in Ocaml that transforms Game Description Language (GDL) into Prolog.

Running eight puzzle

Use swipl and try something like start(B),bestfirst(B,Sol),showsol(Sol).

Generalting traces

Run the python trace preludes file to clear out the old traces and generate the prelude. Use swipl and run start(B),bestfirst(B,Sol),write_trace_to_file(Sol).. This will put the traces into the runner at runner/data/train/eight_puzzle

swipl -s prologtest.pl -g goal2 -g goal1 -t halt

run sancho with main_runner.py gen_games 'number of repeats' the game traces will be put in the directory you are in

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published