Skip to content

Prepare for multiple algorithm support - #118

Merged
alessandropellegrini merged 3 commits into
developfrom
multi-algorithm
Jun 27, 2025
Merged

Prepare for multiple algorithm support#118
alessandropellegrini merged 3 commits into
developfrom
multi-algorithm

Conversation

@alessandropellegrini

Copy link
Copy Markdown
Member

In the configuration, we currently have a boolean to discriminate between a sequential and a time warp simulation. This PR converts the boolean to an explicit enum. In this way, we could introduce additional algorithms, selected by this enum.

Currently, you can switch between a serial or parallel/distributed run.
If we want to support additional synchronization algorithms, a boolean
is not enough.
This commit introduces an enum that allows specifying what is the
synchronization algorithm that a user wants to use.

Signed-off-by: Alessandro Pellegrini <a.pellegrini@ing.uniroma2.it>
The test was expecting to find a parallel simulation configuration, but
a sequential one was incorrectly configured.

Signed-off-by: Alessandro Pellegrini <a.pellegrini@ing.uniroma2.it>
@alessandropellegrini
alessandropellegrini marked this pull request as ready for review June 25, 2025 17:52
@github-actions

Copy link
Copy Markdown

Documentation coverage is 94.6% 👍

Classes    : 100.0% (1/1)
Defines    :  93.1% (121/130)
Enum Values:  89.3% (50/56)
Enums      :  81.8% (9/11)
Files      :  92.3% (60/65)
Functions  :  98.3% (282/287)
Namespaces : 100.0% (3/3)
Pages      : 100.0% (2/2)
Structs    : 100.0% (17/17)
Typedefs   : 100.0% (11/11)
Variables  :  91.5% (130/142)
-----------------------------------
Total      :  94.6% (686/725)

@Piccions Piccions left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A nice improvement to the interface, thanks @alessandropellegrini !

@alessandropellegrini
alessandropellegrini merged commit c4ccaa8 into develop Jun 27, 2025
21 checks passed
@alessandropellegrini
alessandropellegrini deleted the multi-algorithm branch June 27, 2025 15:02
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