Commit Graph

  • 3d69e5b7a3 Add Makefile as dependency to target archive master zenon 2018-06-20 16:29:48 +02:00
  • 843a9e0e6e Remove not needed -r option zenon 2018-06-09 13:54:50 +02:00
  • e69a37de12 Add target for archive generation of sources zenon 2018-06-09 13:51:34 +02:00
  • b83f143c9d Add comment for circular buffer zenon 2018-06-09 13:41:22 +02:00
  • cdb2083564 Add dependencies for docs generation zenon 2018-06-09 13:39:10 +02:00
  • 12787eab2e Don't generate latex output zenon 2018-06-09 13:29:29 +02:00
  • 89c4f3f53f Add comments for functions and make functions static zenon 2018-06-09 13:28:30 +02:00
  • cb99f6a19a Move include to common header file zenon 2018-06-09 13:00:42 +02:00
  • 61d457dfc8 Add static to each function to limit visibility zenon 2018-06-09 12:59:21 +02:00
  • 3f975a0721 Add comments for documentation to each function zenon 2018-06-09 12:58:24 +02:00
  • e9648111f5 Initial commit zenon 2018-06-09 12:27:19 +02:00
  • 5122699c02 Remove pdf files from excluded files zenon 2018-06-09 12:26:52 +02:00
  • 35fddb3e46 Remove Doxyfile from excluded files zenon 2018-06-09 12:25:31 +02:00
  • d6674d7aa4 Generator(s) no properly exit(s) zenon 2018-06-08 22:18:02 +02:00
  • 8277a26ed2 Semaphores static again zenon 2018-06-08 15:16:41 +02:00
  • 255708ebc0 Try setting global semaphores as non-static zenon 2018-06-08 12:28:57 +02:00
  • ac4559ab26 Remove wrong sem_wait call zenon 2018-06-08 11:39:32 +02:00
  • 3c0ce892a9 Loop until MAX_ITEMS and not bestSolutionLength zenon 2018-06-08 11:35:59 +02:00
  • 029ce6264f Set initial bestSolution to all INT_MAX and if all INT_MAX set bestSolutionLength to 17 zenon 2018-06-08 11:31:31 +02:00
  • 5398b9dccd Calculate bestSolutionLength correctly zenon 2018-06-08 11:21:03 +02:00
  • 72da8e371b Initialize bestSolution to all -1 zenon 2018-06-08 11:12:00 +02:00
  • 051a727caf Write complete solution array to shared memory without any delimiters zenon 2018-06-08 11:03:54 +02:00
  • 065f445c79 Change size of shared memory to MAX_SIZE instead of CIRC_BUF_SIZE zenon 2018-06-08 10:58:01 +02:00
  • 8605c6e820 getSolution writes head instead of where head is pointing zenon 2018-06-08 10:21:33 +02:00
  • 9cb4d66d4b Change wrong wait_sem to post_sem to avoid deadlock zenon 2018-06-08 10:08:37 +02:00
  • da416ca283 Do unlinking of SEM_WRITE_END in supervisor zenon 2018-06-07 18:24:12 +02:00
  • 829cc3cb3a Change error messages zenon 2018-06-07 18:13:37 +02:00
  • 834f3f7bf7 Unlinking not done in generator except for SEM_WRITE_END zenon 2018-06-07 18:04:38 +02:00
  • 84c2dcdd78 Modify error messages zenon 2018-06-07 17:58:02 +02:00
  • de4ed6532c Rearrange cleanup() function and copy wait_sem() function from supervisor zenon 2018-06-07 17:52:49 +02:00
  • 6ee735a030 Modify cleanup() function and make semaphores and shared memory global zenon 2018-06-07 17:46:41 +02:00
  • 8f91b5f974 Added cleanup() function zenon 2018-06-07 17:46:00 +02:00
  • 51724a3637 Proper closing and unlinking of semaphores and shared memory zenon 2018-06-07 17:38:20 +02:00
  • a04c1aee71 Change name of semaphores zenon 2018-06-07 17:26:28 +02:00
  • 3057b4a0d4 Add own wait function zenon 2018-06-07 17:08:49 +02:00
  • 8b9d48e4d8 Not necessary to modify array of caller function main() zenon 2018-06-07 17:00:25 +02:00
  • 56df02a288 Initialize array for new solution to -1 zenon 2018-06-07 16:58:16 +02:00
  • 3e34253092 Remove initializer of bestSolution array zenon 2018-06-07 16:51:12 +02:00
  • a7ebeb7246 Change MAX_ITEMS to CIRC_BUF_SIZE for shared memory access zenon 2018-06-07 16:50:02 +02:00
  • ed71c16797 Add new variable for CIRC_BUF_SIZE zenon 2018-06-07 16:48:04 +02:00
  • 1fbd1bf2b8 Added code for replacing bestSolution so far with new one zenon 2018-06-07 16:35:01 +02:00
  • 699d1b9ed4 Read whole solutions from shared memory Kranklyboy 2018-06-07 12:31:25 +02:00
  • a8d8999fa1 Allow one more int for separating solutions in shared memory Kranklyboy 2018-06-07 12:30:17 +02:00
  • 5a9d00c48a Write whole solutions to shared memory Kranklyboy 2018-06-07 12:18:36 +02:00
  • 10ec964fec Read and write solution characterwise zenon 2018-06-07 10:40:55 +02:00
  • eb45b4eb92 Allow shared memory read zenon 2018-06-07 10:35:49 +02:00
  • 5fe85da2ef Loop until supervisor exits zenon 2018-06-07 10:33:42 +02:00
  • 93131dc027 Cleanup of shared memory and semaphores zenon 2018-06-07 10:30:15 +02:00
  • 3af17e0d84 Write whole solution to shared memory and -1 if acyclic zenon 2018-06-07 10:22:30 +02:00
  • db393a0b43 Modify spacing zenon 2018-06-07 10:10:55 +02:00
  • 80afbc9473 Activate shared memory and semaphores zenon 2018-06-07 10:09:45 +02:00
  • 160d66c9c4 Remove unnecessary isEmpty() function zenon 2018-06-07 10:07:47 +02:00
  • d1ca1d59ce Remove count of validItems which is not needed because of the use of semaphores zenon 2018-06-07 10:04:25 +02:00
  • 49357d1173 Initial semaphore test zenon 2018-06-06 19:22:25 +02:00
  • 8dbd116b88 Working zenon 2018-06-06 19:22:01 +02:00
  • 71ac479aca Remove printing of solutions for testing purposes zenon 2018-06-06 18:00:46 +02:00
  • 52b5f0e361 Modify caller array instead of copy zenon 2018-06-06 17:59:27 +02:00
  • a5c402bc84 Remove whitespace at EOL zenon 2018-06-06 17:28:15 +02:00
  • 9983d25742 Calculate index and add to feedback arc set zenon 2018-06-06 17:25:30 +02:00
  • 7766b09f65 Change MAX_SIZE to 16 zenon 2018-05-31 15:25:19 +02:00
  • 7382f0a43d findIndex() function added zenon 2018-05-31 15:13:22 +02:00
  • 1c913d4b82 Comments zenon 2018-05-31 15:00:57 +02:00
  • a0785c17bc Boilerplate for semaphores complete zenon 2018-05-31 12:22:53 +02:00
  • 0ae6626e32 Added algorithm for generating random permutations of the set of nodes zenon 2018-05-31 12:17:25 +02:00
  • b43a600510 Shared memory and semaphore setup as well as correct free() calls zenon 2018-05-30 17:22:26 +02:00
  • b9ca106eb1 Merge branch 'master' of gitlab.com:kranklyboy/fb_arc_set zenon 2018-05-30 17:18:37 +02:00
  • e3095f8ce0 Shared memory and semaphore setup zenon 2018-05-30 17:18:11 +02:00
  • 9ac6d9fbfe Boilerplate for shared memory zenon 2018-05-30 17:10:53 +02:00
  • b49428e3df Merge branch 'master' of gitlab.com:kranklyboy/fb_arc_set Kranklyboy 2018-05-29 16:04:27 +02:00
  • f03189228f Correct spelling error Kranklyboy 2018-05-29 16:04:15 +02:00
  • 93303f19e1 Added rules for documentation zenon 2018-05-28 18:29:25 +02:00
  • 3f36a01bae Grammar error zenon 2018-05-27 17:20:52 +02:00
  • 7987afea31 Added %.o dependency on common.h zenon 2018-05-21 18:38:23 +02:00
  • 9219f8f097 Added free() calls zenon 2018-05-21 18:32:21 +02:00
  • 3a27588d6f Graph implementation and correct parsing of edges zenon 2018-05-21 18:08:04 +02:00
  • c8a2c3435b Save program name zenon 2018-05-21 15:46:34 +02:00
  • 803888fbd0 Boilerplate zenon 2018-05-21 15:41:48 +02:00
  • 3c15d3c9a8 Add LICENSE zenon 2018-05-21 12:52:02 +00:00
  • 5999f4f951 Initial commit zenon 2018-05-21 14:51:03 +02:00