Commit graph

35 commits

Author SHA1 Message Date
Maximilian Schlosser 4204969da9 helper method to extract single jobs 2017-07-09 13:15:30 +02:00
Trolli Schmittlauch 252f3a824e JobShopProblem is now a Mapping, not a list
- implementing all interface functions for JobShopProblem to behave like
a Mapping (e.g. dict) with (int, int) keys
this implements and closes #14
2017-07-08 02:21:30 +02:00
Trolli Schmittlauch edd413db54 Merge branch 'parser' of PSSAI_Team/JobShopScheduling into devel 2017-06-30 13:19:40 +02:00
Trolli Schmittlauch 4804a2a4d5 adjust __all__ packet imports to new module names
contributes to #3
2017-06-30 11:45:50 +02:00
Trolli Schmittlauch 40eaca47ae adjust code style to follow PEP8 2017-06-30 00:51:50 +02:00
Trolli Schmittlauch 3edd920b0d improve type signature of visitor 2017-06-29 22:28:23 +02:00
Trolli Schmittlauch 72e5800604 now *really* renamed functions and modules
contributes to #3
2017-06-29 22:23:12 +02:00
Trolli Schmittlauch 92ddb2740e JobShopProblem now a list, renaming module
contributes to #3
2017-06-29 21:30:31 +02:00
Trolli Schmittlauch ba91f321e2 check plausibility of job/ machine numbers of JobShopProblem
contributes to #3
2017-06-28 09:57:49 +02:00
Trolli Schmittlauch 58047569f8 add error handling: parser now throws exceptions 2017-06-28 00:03:14 +02:00
Trolli Schmittlauch c3953449ff improve module 2017-06-27 23:49:52 +02:00
Trolli Schmittlauch 901472e8b5 add function for parsing inputdata strings 2017-06-27 23:47:56 +02:00
Trolli Schmittlauch 252e7d6ee0 jobshop2_parser now works, too 2017-06-27 23:39:32 +02:00
Trolli Schmittlauch 59cf66506f move common code to __init__ 2017-06-27 13:27:56 +02:00
Trolli Schmittlauch eb9ca0ed3c disable debug output 2017-06-26 16:37:20 +02:00
Trolli Schmittlauch 122fdbbb38 remove unnecessary visitor function 2017-06-26 16:36:38 +02:00
Trolli Schmittlauch 6d0f334350 add library parse function for jobshop2
- clean up problem_data
2017-06-26 16:28:26 +02:00
Trolli Schmittlauch 8c1d6e12be add library parse function fpr jobshop1
- also extract common semantic analysis (Visitor) code
2017-06-26 16:05:49 +02:00
Trolli Schmittlauch 238cbe0e71 successfully parsing jobshop1 to list of JobShopProblem s 2017-06-26 15:19:51 +02:00
Trolli Schmittlauch 28eedd4579 commenting the grammar 2017-06-25 20:40:50 +02:00
Trolli Schmittlauch c62e012c97 grammar now able to match jobshop1 even with preface 2017-06-25 20:25:34 +02:00
Trolli Schmittlauch 632e908f95 moved common grammar to separate file 2017-06-25 00:58:58 +02:00
Trolli Schmittlauch c66e8fe3eb parsimonious not needed anymore 2017-06-24 23:30:24 +02:00
Trolli Schmittlauch 0d1a38caa9 grammar now matches Jobshop1 without prefix
- grammar matches, but result not yet evaluated
2017-06-24 23:28:29 +02:00
Trolli Schmittlauch 309664a36a 🎉 successful parsing grammar for jobshop data
- now using arpeggio as a parsing lib
2017-06-24 03:17:03 +02:00
Trolli Schmittlauch b89de0e6cb rules now successfully parsed, but too deep recursion 2017-06-22 23:49:44 +02:00
Trolli Schmittlauch 608af7d2ff [untested] first grammar definition with parsimonious
- added parsimonious as requirement
- first try of creating a grammar for job_shop1
2017-06-22 23:12:18 +02:00
Trolli Schmittlauch 6a2911601d add input job-shop problems
- downloaded textfiles
- extracted & compiled C program for generating jobshop2 problems
- generated jobshop2 problems
2017-06-21 19:50:58 +02:00
lukasstracke 47263364e9 created first example instance 2017-06-20 18:01:02 +02:00
Trolli Schmittlauch d5360a98fa add mypy_cache to gitignore
closes #1
2017-06-20 15:05:38 +02:00
Trolli Schmittlauch faf380591b created placeholder main file 2017-06-19 00:15:15 +02:00
Trolli Schmittlauch 5c84386ba1 add mypy as a requirement 2017-06-18 23:02:12 +02:00
Trolli Schmittlauch 2075f49bd5 instructions on using a venv 2017-06-18 22:49:37 +02:00
Trolli Schmittlauch 06483bae4d added readme with some tooling info 2017-06-17 01:32:29 +02:00
Trolli Schmittlauch 1b9725b7e4 Notizen mit formalen Überlegungen 2017-06-01 01:04:08 +02:00