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

Add message handler and tests: #23 #27

Merged
merged 10 commits into from
Dec 4, 2024
Merged

Conversation

a-vartenkov
Copy link
Collaborator

Add message handler class and three basic functors.

kWTA functor which selects k random spikes out of a message,
Group WTA which selects a group or a few groups based on which groups have the largest number of spikes.
Union handler which uses a union set operation on spike indices.

Add tests for message handler class and for all added functors.

Copy link
Contributor

@artiomn artiomn left a comment

Choose a reason for hiding this comment

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

Проверь хуки прекоммита.

knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
knp/base-framework/include/knp/framework/message_handler.h Outdated Show resolved Hide resolved
knp/base-framework/include/knp/framework/message_handler.h Outdated Show resolved Hide resolved
knp/base-framework/include/knp/framework/message_handler.h Outdated Show resolved Hide resolved
knp/base-framework/include/knp/framework/message_handler.h Outdated Show resolved Hide resolved
knp/tests/framework/message_handler_test.cpp Outdated Show resolved Hide resolved
@artiomn artiomn changed the title Add message handler and tests: #0000023 Add message handler and tests: #23 Nov 29, 2024
knp/base-framework/include/knp/framework/message_handler.h Outdated Show resolved Hide resolved
knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
knp/base-framework/impl/message_handler.cpp Outdated Show resolved Hide resolved
@artiomn artiomn merged commit 365b789 into KasperskyLab:master Dec 4, 2024
5 checks passed
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