Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity Driven Inertial model #38

Merged
merged 9 commits into from
Mar 25, 2024
Merged

Activity Driven Inertial model #38

merged 9 commits into from
Mar 25, 2024

Conversation

MSallermann
Copy link
Member

Implemented an inertial version of the activity driven model. That means instead of a first order ODE we solve a second order ODE, modeled after classical mechanics (with friction).

amritagos and others added 9 commits March 23, 2024 13:48
The InertialAgent has a velocity also.

Co-authored-by: Moritz Sallermann <[email protected]>
We need to implement a velocity Verlet algorithm for iteration(), in the
inertial model. However, many functions are not needed in the
ActivityDrivenModel. Therefore, we are considering inheritance of the
abstract class instead

Co-authored-by: Moritz Sallermann <[email protected]>
We have not yet implemented the InertialModel specific behaviour, but
now InertialModel inherits from ActivityDrivenModelAbstract base class.

Co-authored-by: Moritz Sallermann <[email protected]>
We changed the definition of get_euler_slopes. Now the timestep is
multiplied in the update rule. This enables us to re-use
get_euler_slopes in the InertialModel.

Co-authored-by: Moritz Sallermann <[email protected]>
Implemented a Velocity Verlet algorithm for the Inertial model.

Co-authored-by: Moritz Sallermann <[email protected]>
We have implemented the Inertial model (more specifically the activity driven inertial model). The example added runs and produces output. TODO: unit test the shit of this!

Co-authored-by: Moritz Sallermann <[email protected]>
We have implemented a unit test with 1 agent and 1 bot for the activity
driven inertial model

Co-authored-by: Moritz Sallermann <[email protected]>
We removed a superfluous `using WeightT = typename Network::WeightT;`.
These are present at the top of the class

Co-authored-by: Moritz Sallermann <[email protected]>
@amritagos amritagos merged commit c061e83 into develop Mar 25, 2024
4 checks passed
@MSallermann MSallermann deleted the inertial_model branch March 25, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants