Commit Graph

13 Commits

Author SHA1 Message Date
6603f96d69 Refactor for robustness and clarity 2022-04-23 04:47:55 -05:00
8c04650caf Main: Print whether or not graph is reducible 2022-04-23 00:02:06 -05:00
bddc486aeb Clarify "breaker" -> regex "pattern" 2022-04-22 23:39:18 -05:00
710807dde7 Fix includes, add attribution headers, remove unused constructor 2022-04-22 21:41:19 -05:00
952c318619 read_input:
- Clarify what each regex does by assigning rule numbers
- Properly handle commented-out lines in input files
- Properly scope several vars which were in too broad a scope
- Rewrite string-to-vector<int> to use regex to parse malformed input
- Remove dependency on sstream.
2022-04-22 21:12:22 -05:00
43c5dd10ed main: Print the graph after reading 2022-04-22 21:08:54 -05:00
654fb751e6 graph::print
Create function to print a graph
2022-04-22 21:08:33 -05:00
8234aca2e0 Finish impl'ing reading a file 2022-04-22 18:48:36 -05:00
aeeb33e699 Switch to using std::vector rather than directly managed memory 2022-04-22 14:21:45 -05:00
b4a3beda69 Move reducible into its own file 2022-04-22 14:08:28 -05:00
476aec5734 C++-ify it some more, begin readfile 2022-04-17 22:03:17 -05:00
f770d105b8 Upgrade to C++ 2022-04-17 18:29:32 -05:00
8af524f276 Lay the groundwork 2022-04-16 19:03:38 -05:00