This directory contains a Prolog program for the ancient Egyptian trade route optimization challenge.
- Clone the Repository:
git clone git@github.com:DmitrySadovnikov/code-archaeology.git
- Navigate to the Prolog Directory:
cd code-archaeology/prolog
- Build the Docker Image:
docker build -t prolog-dev .
- Run the Docker Container:
docker run -it --rm -v $(pwd):/app prolog-dev
- Run the Prolog Program:
swipl -f RouteCalc.pl
or
swipl -f PyramidResources.pl