Timeline for How to increase the efficiency of DLA algorithm?
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 24, 2020 at 16:15 | history | edited | natter1 | CC BY-SA 4.0 |
added link to new question with code example
|
Jan 22, 2020 at 7:03 | comment | added | CJSSSSS |
Awesome @natt1, Fixed my bug. Thanks, BTW. I took that -1 for granted thinking it would take me to edge of the matrix.... my bad! What are your thoughts on poping the first element from stick when one value is added to stick ? Something like this (codeshare.io/Gk106p) Why pop the element...since I have run the simulation for 50k particles and positi has to check with stick and hypothetically I feel the initial values are useless after many particles have been stuck to center element. By doing so I feel I can save up some unnecessary computational time.
|
|
Jan 22, 2020 at 0:10 | history | edited | natter1 | CC BY-SA 4.0 |
added Explanation of Errors in Question code
|
Jan 22, 2020 at 0:03 | comment | added | natter1 | @Caleb - another update to my answer | |
Jan 22, 2020 at 0:03 | history | edited | natter1 | CC BY-SA 4.0 |
added Explanation of Errors in Question code
|
Jan 21, 2020 at 18:37 | comment | added | CJSSSSS | @natt1 Sweet, I guess it does what it's supposed to do. But again I can't figure out where I have messed up since its left-biased for every run. (codeshare.io/anV13j) <if you can execute it and see what I'm talking about. and compare it what its supposed to look like DLA | |
Jan 21, 2020 at 18:03 | history | edited | natter1 | CC BY-SA 4.0 |
added 88 characters in body
|
Jan 21, 2020 at 17:52 | history | edited | natter1 | CC BY-SA 4.0 |
added 917 characters in body
|
Jan 21, 2020 at 17:03 | comment | added | natter1 | @Caleb what do you mean function placement is not right? What you are missing is an implementation of your border (right now your particles could move far away outside the box) and a check, how far you are away from stick (you should not do more steps in one go than the distance to stick). Esp. the latter can be tricky. | |
Jan 21, 2020 at 16:13 | comment | added | CJSSSSS | codeshare.io @natter please have a look, my function placement isn't right. | |
Jan 21, 2020 at 11:39 | comment | added | natter1 | @Caleb I updated my answer | |
Jan 21, 2020 at 11:37 | history | edited | natter1 | CC BY-SA 4.0 |
added 1232 characters in body
|
Jan 21, 2020 at 1:41 | comment | added | CJSSSSS | You could go a step further, by precalculating a probablity matrix for several steps....COULD YOU ELABORATE WITH A CODE? | |
Jan 20, 2020 at 16:45 | history | edited | natter1 | CC BY-SA 4.0 |
Update with precalculated matrix
|
Jan 20, 2020 at 16:13 | history | answered | natter1 | CC BY-SA 4.0 |