Skip to content
Snippets Groups Projects
Commit 06a8d30f authored by tbuckworth's avatar tbuckworth
Browse files

created Task class

parent a60e1746
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ import unittest ...@@ -3,7 +3,7 @@ import unittest
import numpy as np import numpy as np
from main import load_task, grid2FOL, FOL2grid, FOL2prolog, prolog2FOL_array, run_prolog_program, array_and_plot_grid from main import load_task, FOL2grid, FOL2prolog, prolog2FOL_array
from task import Task from task import Task
......
...@@ -7,6 +7,14 @@ import pandas as pd ...@@ -7,6 +7,14 @@ import pandas as pd
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import subprocess import subprocess
tasks = {
"lines": "0b148d64.json",
"grids": "90f3ed37.json",
"pour": "d4f3cd78.json",
"cross": "e21d9049.json",
"stripes": "f8c80d96.json"
}
def run_prolog_program(program, curr_dir=""): def run_prolog_program(program, curr_dir=""):
# Construct the command to run SICStus Prolog # Construct the command to run SICStus Prolog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment