ushnisha/jobshop-minimal

Create a database schema and enhance the project to load from the database

Closed this issue · 1 comments

Create a database schema and enhance the project to load from the database

Fixed as part of commit: 01b8c6c

(1) A new folder called "db" has been added with the file
"jobshop_schema.sql" -> this is a sample schema file for a sqlite3
database.

(2) Changes made to the JobShop.java class to support an option file
that allows the user to specify the database connection details; the
loading function will now load from the appropriate database as
specified in the options file. Refer to the wiki page with details on how
to configure the options file.

(3) Output of TaskPlans will be written to the taskplan table in the
database. Since all of the information is available in the database, no
other output is written to the screen. The user can write suitable
queries of their choosing to analyze the plan results.