-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configurable range + strategy (#16) configure strategy + range duration with options. With this commit, the time duration for range queries can also be configured. This allows for more fine grained control over the number of data points on which the strategies is to be applied. For backwards compatibility the earlier WithStrategy(...) function can still be used. However, note that this results in the default setting of range duration (as exposed by the strategy) being used. If the time duration needs to be configured, then WithStrategyOptions(...) should now be used. Retrofitted cpushares task ranking strategy to now parse either a matrix or a vector depending on whether a range query is used. Fixed the test code. Added sample code to readme.
- Loading branch information
1 parent
9ba66ca
commit 713ff5c
Showing
9 changed files
with
268 additions
and
63 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
Oops, something went wrong.