File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,8 @@ def get_one_query(
174174 - An integer, which will be treated as a range from 1 to that integer.
175175 - A tuple of two integers, representing the lower and upper bounds of the range.
176176 mode (RangeQueryRandomMode): The mode for generating the queries. It can be:
177- - RangeQueryRandomMode.allow_equal : Allow the generated l and r to be equal.
178- - RangeQueryRandomMode.less : Ensure that l and r are not equal.
177+ - RangeQueryRandomMode.ALLOW_EQUAL : Allow the generated l and r to be equal.
178+ - RangeQueryRandomMode.LESS : Ensure that l and r are not equal.
179179 weight_generator: A function that generates the weights for the queries. It should:
180180 - Take the index of query (starting from 1), starting and ending positions as input.
181181 - Return a list of weights of any length.
You can’t perform that action at this time.
0 commit comments