adamjgnoel / AcCoRD

Actor-based Communication via Reaction-Diffusion. A molecular communication simulator. Simulates stochastic reaction-diffusion systems.
https://warwick.ac.uk/adamnoel/software/accord/
Other
12 stars 4 forks source link

Active Actors: Type of Molecules released #43

Closed ModarHalimeh closed 7 years ago

ModarHalimeh commented 8 years ago

When defining an active actor, with let's say 3 types of molecules with a release vector: [true, true , true] the actor wont actually release the 3 types when transmitting a '1', instead it will only release the first true it sees in the vector 'the first type only in this case'. Now this might make sense, but I think it's better to add it in the 'how to define config' text file if it's not treated as a bug.

ModarHalimeh commented 8 years ago

Nested_Spheres_One_Bit_W_Chemical_SEED1.txt

Config.txt

example config and output files.

adamjgnoel commented 8 years ago

Good catch. The only modulation scheme defined right now is CSK, which by definition will only release one type of molecule so it releases the type with the first "true" associated with it. This can be clarified in the documentation.

adamjgnoel commented 7 years ago

Documentation for CSK was updated some time ago. Should add another type of modulation, e.g. noise-based, that just adds the number of specified molecules (i.e., without modulating). This would be analogous to setting bit probability to 1 and having 1 bit per symbol, but will also allow multiple types of molecules

adamjgnoel commented 7 years ago

"Burst" modulation added to master branch code. It enables release of multiple types of molecules by a single actor, but it does not modulate any data (effectively, it always sends 1 bit symbols of value 1)