This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/optimise step selector builder (#154)
## Optimisation of Step Selector for Log2(n) Columns ### Description - **Goal:** is to optimise the Step Selector Builder to have Log2(n) Columns per n Step Types instead of one Column per each Step Type. - **Current Implementation:** implemented a new type of Selector and implemented the build function for it - **Explanation:** If we use binary representation for the step types instead of using the actual columns we will get an optimised version for the Selector Builder since we can get the total of columns from the following expression ```math n\_cols = \lceil \log_2(n\_step\_types + 1) \rceil ``` We need take into consideration that we also need to save one binary value for the case when there is no step type, because of this we do the math with \(n\_step\_types + 1\). ### What is missing - [x] Ensure compatibility with the backend - [x] Unit tests --------- Co-authored-by: nullbitx8 <[email protected]> Co-authored-by: John Smith <[email protected]> Co-authored-by: Leo Lara <[email protected]> Co-authored-by: Jaewon In <[email protected]> Co-authored-by: Steve Wang <[email protected]>
- Loading branch information
1 parent
4bdf8eb
commit 93e0fad
Showing
2 changed files
with
152 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "chiquito" | ||
version = "0.1.2023101700" | ||
version = "0.1.2023101100" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
authors = ["Leo Lara <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters