Commit Graph

17 Commits

Author SHA1 Message Date
94e64e3d42 [fix] fixed bug in parseTimeLineElement and parseFunction
- damn you Lua arrays!!!
2020-01-29 01:19:11 -06:00
b640ca4a65 [mod][mod] modified function to return closest keys in map into object
- two variants, one with binary search, the other with iterate
 - [mod] modified debug to closer mirror linux kernel debug
 - [mod] just added a few comments in parser and simulation
2020-01-29 01:19:11 -06:00
cea02cc076 [add][mod] added function to return closest keys in map
- [mod] modified Time to extend Ordered
2020-01-29 01:19:10 -06:00
6028326872 [mod] moved library file into folder lib 2020-01-29 01:19:10 -06:00
bd24002ee1 [mod] reduced memory footprint of output and reset everything after a run
- instead of copying the output, a vector indicates if a time is done
 - a full run has to be consumed by the output before the next
2020-01-29 01:19:10 -06:00
5748b8272a [mod] modified broadcastobject to mirror a real live broadcast better
- allow to watch until a specific or later frame has been cast
 - allow to return from watching if the broadcast is ended
 - allow to reset the broadcast to be reset
 - in retrospect this wasnt really needed for the project...
2020-01-29 01:19:10 -06:00
1e61253b3b [add][fix] added output that can be run parallel to the simulation
- the output sleep waits for a full tick result
 - [fix] fixed the simulation to pass the correct gt parent if exists
2020-01-29 01:19:10 -06:00
fee44785d4 [mod][fix] modified the sim to not pass the entire shared memory
- [mod] this change should be faster at the cost of memory
 - each underlying call only gets the required data instead of everything
 - [mod] renamed Group param to better reflect its purpose
 - [mod] changed Time to incorporate the total duration as well
 - [fix] fixed shared memory mapping to match simulation
2020-01-29 01:19:10 -06:00
bd22a441f0 [fix] just removing unused case classes 2020-01-29 01:19:10 -06:00
8c47396964 [add] added example for location based sensor defect
- args in a behaviour allow for a simulation of a location based defect
 - allows for the defect to happen inside the same group
2020-01-29 01:19:10 -06:00
32438ef5b8 [add] multiple commits merged
# Conflicts:
#	docs/wiki/config/config.yml
#	src/main/scala/scim/Main.scala
#	src/main/scala/scim/archive/Elements.scala
#	src/main/scala/scim/archive/GroundTruth.scala
#	src/main/scala/scim/datastruct/Configuration.scala
#	src/main/scala/scim/lib/Concurrency.scala
2020-01-29 01:19:10 -06:00
00669fa9d3 [add] added full yml parsing to scala collection objects
- added a simple parsing test
 - added conversion utils for Any to Map and nested objects
 - added a quick indented printout util for scala collection objects
2020-01-29 01:19:10 -06:00
575ae2a14a [fix] fixed typo and error in config description 2020-01-29 01:19:10 -06:00
feb31da347 [add] added simple yml parsing 2020-01-29 01:19:10 -06:00
d1357ac099 [add] added gradle build files 2020-01-29 01:19:10 -06:00
1b2f23670a [fix] fixed wrong whitespaces in config.yml 2020-01-29 01:19:10 -06:00
a50b386cad [add] added initial configuration wiki entry 2020-01-29 01:19:10 -06:00