generated from IBM/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Equivalence query optimized implementation (#524)
* Optimized implementation of EquivalenceQuery. Signed-off-by: Tanya <[email protected]> * Align EquivalenceQuery difference explanation according to the original implementation. Signed-off-by: Tanya <[email protected]> * Fixing lint errors. Signed-off-by: Tanya <[email protected]> * Fix: when src_peers/dst_peers is not active domain, returning the current full domain (according To DimensionManager) rather than None. Signed-off-by: Tanya <[email protected]> * Fix the fix: when src_peers/dst_peers is not active domain, returning the current full domain (according To DimensionManager) rather than None. No more expect src_peers/dst_peers be None. Check for is_active_dim instead. Signed-off-by: Tanya <[email protected]> * yet another small fix of the fix. Signed-off-by: Tanya <[email protected]> * When computing projection on one dimension, return the full dimension value for inactive dimensions. Adding check in command-line flow for non-implemented optimized queries. Optimized equivalence query code refactoring for better readability. Signed-off-by: Tanya <[email protected]> * Ignoring 'complex function' lint error. Returning 'passed' code for skipped queries. Signed-off-by: Tanya <[email protected]> * Undo returning 'passed' code for skipped queries. Skipping non-implemented optimized cmdline queries in run_all_tests Signed-off-by: Tanya <[email protected]> * Skipping non-implemented optimized cmdline queries in run_all_tests Signed-off-by: Tanya <[email protected]> * Fixed the refined code of optimized equivalence calculation. Signed-off-by: Tanya <[email protected]> * Update nca/NetworkConfig/NetworkConfigQuery.py Co-authored-by: Adi Sosnovich <[email protected]> * Reused definition of implemented_opt_queries Signed-off-by: Tanya <[email protected]> * Fix of reusing definition of implemented_opt_queries Signed-off-by: Tanya <[email protected]> * Removed redundant method. Signed-off-by: Tanya <[email protected]> --------- Signed-off-by: Tanya <[email protected]> Co-authored-by: Adi Sosnovich <[email protected]>
- Loading branch information
1 parent
f456275
commit 0693c99
Showing
10 changed files
with
137 additions
and
36 deletions.
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
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
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
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
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
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
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
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
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
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