Commit Graph

161 Commits

Author SHA1 Message Date
Adrien Bourmault 89219f40c6
Better CLI : colors! 2021-07-14 00:50:07 +02:00
Adrien Bourmault 452bb52394
Better Makefile : headers are now dependencies
Better CLI : there are colors !
2021-07-14 00:41:44 +02:00
Adrien Bourmault c6d99559b5
Better cli : arrows and edition 2021-07-12 19:58:09 +02:00
Adrien Bourmault 2774726c65
Blank line in history 2021-07-12 18:10:25 +02:00
Adrien Bourmault 4c1763f6c4
Model can be run and stop 2021-07-12 17:54:57 +02:00
Adrien Bourmault 1d5463c1c5
Model can be run 2021-07-12 17:09:38 +02:00
Adrien Bourmault 442c76e96c
Errno is useful 2021-07-12 15:12:29 +02:00
Adrien Bourmault dd59e34110
Disconnection detection 2021-07-09 22:44:29 +02:00
Adrien Bourmault 8ae1f2f65f
Server return value 2021-07-09 20:42:44 +02:00
Adrien Bourmault 5ec6e86f6e
Multiclient with IP:port detection 2021-07-09 20:34:32 +02:00
Adrien Bourmault 742b05de74
MULTIPLE CLIENTS WORKING! 2021-07-09 18:34:54 +02:00
Adrien Bourmault 2aa5c2814f
WIP: multiclient server 2021-07-09 15:58:47 +02:00
Adrien Bourmault ad685d528b
Multiple clients ! 2021-07-09 02:57:26 +02:00
Adrien Bourmault 428ac5ff4f
Multiple clients ! 2021-07-09 02:53:54 +02:00
Adrien Bourmault 48ca39577a
ids don't need to be allocated dynamically 2021-07-09 00:56:35 +02:00
Adrien Bourmault 3b26597bd6
History and correction 2021-07-09 00:37:03 +02:00
Adrien Bourmault 439a0b0bb2
WIP: [BUGGY] cli history 2021-07-08 20:30:09 +02:00
Adrien Bourmault 9566a3c74e
getch() ! 2021-07-08 19:14:45 +02:00
Adrien Bourmault e5ba2b9303
getch ! 2021-07-08 19:11:56 +02:00
Adrien Bourmault b5be741617
Invalid command! 2021-07-08 18:49:27 +02:00
Adrien Bourmault ca7cb9294d
WIP: Rollback threaded server 2021-07-08 18:35:14 +02:00
Adrien Bourmault 8fe9e2125f
WIP: server communicator 2021-07-08 18:14:46 +02:00
Adrien Bourmault 3d56a4ec61
Cleaned commands 2021-07-08 17:26:13 +02:00
Adrien Bourmault 8e6f99ecb7
New network code (better buffer sizes) 2021-07-08 00:35:22 +02:00
Adrien Bourmault 89a8defde6
New network code (better buffers) 2021-07-08 00:30:58 +02:00
Adrien Bourmault fa3efd69e5
New network code (better buffers) 2021-07-08 00:30:25 +02:00
Adrien Bourmault 9933c41a1e
New network code 2021-07-08 00:28:34 +02:00
Adrien Bourmault 4e9b368a72
WIP: [BUG] new network code 2021-07-08 00:10:36 +02:00
Adrien Bourmault 636758324f
models create and run 2021-07-07 19:46:23 +02:00
Adrien Bourmault e0a7cfe0b3
WIP: (BUG) model run/load/create + typos corrected 2021-07-02 15:19:08 +02:00
Adrien Bourmault aa4bd4478c
WIP: (BUG) model run/load/create 2021-07-02 15:06:11 +02:00
Adrien Bourmault 2d34d38a28
Model loading 2021-06-30 16:14:18 +02:00
Adrien Bourmault 97868beb39
Model create + load cmd 2021-06-30 15:46:18 +02:00
Adrien Bourmault e6ac4a3e91
cli model command (create) 2021-06-23 21:44:51 +02:00
Adrien Bourmault cca06c9ec6
new arrows for testing purposes 2021-06-23 20:23:37 +02:00
Jean Sirmai 44bae3d1c8
Merge branch 'master' of ssh://gitlab.os-k.eu:222/gem-graph-team/gem-graph-server 2021-06-23 17:43:26 +02:00
Adrien Bourmault dfc5549043
some typo 2021-06-23 17:33:46 +02:00
Jean Sirmai 7eb70501b4
Merge branch 'master' of ssh://gitlab.os-k.eu:222/gem-graph-team/gem-graph-server 2021-06-23 17:12:33 +02:00
Adrien Bourmault 4440075d7f
Better CLI 2021-06-23 17:07:43 +02:00
Jean Sirmai 160d514213
first rule : dimers random walk in 1D space 2021-06-23 15:06:33 +02:00
Adrien Bourmault 29e43c2f18
Model_t + lisibility 2021-06-23 14:16:45 +02:00
Adrien Bourmault cd9285e898
some lisibility improvements 2021-06-23 11:37:47 +02:00
Adrien Bourmault 18077df85b
some lisibility improvements 2021-06-23 11:06:36 +02:00
Adrien Bourmault 7c4c43b996
bugs resolved 2021-06-23 10:55:35 +02:00
Adrien Bourmault 9e737f24ab
test and arrows 2021-06-23 10:16:48 +02:00
Adrien Bourmault cdacbc0fb6
locked arrowArray in scheduler! 2021-06-23 09:13:46 +02:00
Adrien Bourmault 8c48856994
arrows have orientations 2021-06-21 14:26:09 +02:00
Adrien Bourmault 669e87f459
A simple model 2021-06-21 11:00:15 +02:00
Adrien Bourmault 10827abb56
Cleaning some typos 2021-06-21 10:57:58 +02:00
Adrien Bourmault f0743ec795
Cleaning some unused things 2021-06-21 10:34:11 +02:00
Adrien Bourmault 322f90b20c
Worker has now access to space 2021-06-19 16:32:39 +02:00
Adrien Bourmault 093c3cc0ea
Test 2021-06-18 15:05:15 +02:00
Adrien Bourmault ca1e959861
First command! 2021-06-17 21:34:50 +02:00
Adrien Bourmault 1256c65f62
WIP: server commands 2021-06-17 12:05:03 +02:00
Adrien Bourmault 057cad2bfb
We have a server ! (2) 2021-06-16 19:49:41 +02:00
Adrien Bourmault 3046f41506
We have a server ! 2021-06-16 19:44:48 +02:00
Adrien Bourmault 2804fb42af
tcp server 2021-06-16 18:10:04 +02:00
Adrien Bourmault c5d0568578
space dimension 2021-06-16 13:15:26 +02:00
Adrien Bourmault de284948d7
space dimension 2021-06-16 13:06:23 +02:00
Adrien Bourmault 2531db992a
space is now Space_t 2021-06-16 12:42:19 +02:00
Adrien Bourmault 93adea1fa8
arrowList is majored 2021-06-16 12:17:00 +02:00
Adrien Bourmault 967f68ab25
Space is ArrowArray_t 2021-06-16 12:04:47 +02:00
Adrien Bourmault c7cb91a077
Space is ArrowArray_t 2021-06-16 12:02:51 +02:00
Adrien Bourmault 77909af0c5
Space is ArrowArray_t 2021-06-16 12:01:29 +02:00
Adrien Bourmault ab64d8f557
Some quotes & renaming 2021-06-16 11:33:36 +02:00
Adrien Bourmault 4f54f3030b
Corrected logic of scheduler.c/findWorkArea() 2021-06-16 10:06:05 +02:00
Adrien Bourmault 51a3fc3719
Scheduler working at maximum perfs 2021-06-16 00:09:35 +02:00
Adrien Bourmault 5862b207ce
Prepare arrows module 2021-06-15 23:46:18 +02:00
Adrien Bourmault f98e51bf4a
Scheduler working ! 2021-06-15 23:26:27 +02:00
Adrien Bourmault 70bff11041
Rebuild/refactoring of scheduler main func 2021-06-15 00:56:01 +02:00
Adrien Bourmault 46c024efe6
First unit tests for scheduler 2021-06-14 20:22:26 +02:00
Adrien Bourmault 0319676d7e
First unit tests for scheduler 2021-06-14 20:22:11 +02:00
Adrien Bourmault 6c7a46d3cd
center_t operations 2021-06-14 19:00:44 +02:00
Adrien Bourmault 9248f8176b
More 'objective' definitions 2021-06-14 18:33:13 +02:00
Adrien Bourmault 0e734bd4e8
we find some centers 2021-06-11 17:39:34 +02:00
Jean Sirmai af433e8a90
findWorkArea 2021-06-11 17:14:40 +02:00
Jean Sirmai dd45f7794a
findWorkArea 2021-06-11 16:53:43 +02:00
Jean Sirmai 3316b0d338
findWorkArea 2021-06-11 16:52:40 +02:00
Adrien Bourmault 2182233068
Center list 2021-06-11 16:51:07 +02:00
Adrien Bourmault b73a9a8091
Center list 2021-06-11 16:50:38 +02:00
Adrien Bourmault f4711dab25
printLog macro 2021-06-11 15:11:06 +02:00
Adrien Bourmault 9f3d21ac20
Worker has parameters 2021-06-11 14:30:26 +02:00
Adrien Bourmault bf35b1c705
Cleanup 2021-06-11 14:22:56 +02:00
Adrien Bourmault c1e8c4cc9a
Tests files 2021-06-11 14:14:45 +02:00
Adrien Bourmault 2924428bdf
Local worker 2021-06-11 14:07:13 +02:00
Adrien Bourmault 4219ae2888
Local worker 2021-06-11 14:02:40 +02:00
Adrien Bourmault cbfcdb389f
cleanup inlines 2021-06-11 13:56:52 +02:00
Adrien Bourmault 61ceb36028
Thread -> worker 2021-06-11 13:40:59 +02:00
Adrien Bourmault b21478ca46
Scheduler Crash test 2021-06-11 12:52:36 +02:00
Adrien Bourmault e42534dc90
Some types 2021-06-11 12:23:16 +02:00
Adrien Bourmault 7829fb1457
Structure to pass parameters to Scheduler 2021-06-11 11:39:42 +02:00
Adrien Bourmault 0d796ff599
A real init/destroy 2021-06-09 23:56:42 +02:00
Adrien Bourmault 10ab0d01cd
Threaded ! 2021-06-09 14:40:23 +02:00
Adrien Bourmault e35b4b3725
Cleaned unused variable 2021-06-09 12:26:34 +02:00
Adrien Bourmault 8cecf6d145
Cleaned warnings 2021-06-09 12:23:42 +02:00
Adrien Bourmault 1194c2b59c
Cleaned warnings 2021-06-09 12:16:27 +02:00
Adrien Bourmault 6c29dd435b
Includes corrected 2021-06-09 11:54:58 +02:00
Adrien Bourmault 727e760dc0
Switch to C 2021-06-09 11:35:47 +02:00
Adrien Bourmault 4f6448a2ba
Switching to C 2021-06-08 20:15:47 +02:00
Adrien Bourmault 6540aeadd2
Makefile at toplevel 2021-06-08 18:05:32 +02:00