returns a randomly chosen boolean (50%-50%)
returns a randomly chosen boolean (50%-50%)
returns a random permutation of the integers in [0; N]
returns a random permutation of the integers in [0; N]
returns the time elapsed since the last call to startWatch.
returns the time elapsed since the last call to startWatch. time is wall clock time in milliseconds
returns a string describing the time elapsed since last startWatch formatted for humans: hh:mm:ss:ms
returns a string describing the time elapsed since last startWatch formatted for humans: hh:mm:ss:ms
return the first element r that is allowed: st(r) is true
return the first element r that is allowed: st(r) is true
is optional and set to true if not specified
return the first couple of elements (r,s) that is allowed: st(r) is true the order is lexicographic
return the first couple of elements (r,s) that is allowed: st(r) is true the order is lexicographic
is optional and set to true if not specified
return an element r that is allowed: st(r) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly
return an element r that is allowed: st(r) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly
is optional and set to true if not specified
return a couple (r,s) of elements r that is allowed: st(r,s) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly
return a couple (r,s) of elements r that is allowed: st(r,s) is true this selector is randomized; in case of tie breaks the returned one is chosen randomly
is optional and set to true if not specified
return an element of the range.
return an element of the range. IT is selected randomly with a uniform distribution this is performed in O(1)
return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
is optional and set to true if not specified
return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
is optional and set to true if not specified
return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
return an element r that is allowed: st(r) is true, and maximizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
is optional and set to true if not specified
return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
return a couple (r,s) that is allowed: st(r,s) is true, and maximizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
is optional and set to true if not specified
return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
is optional and set to true if not specified
return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is randomized; in case of tie breaks the returned one is chosen randomly
is optional and set to true if not specified
return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
return an element r that is allowed: st(r) is true, and minimizing f(r) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
is optional and set to true if not specified
return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
return a couple (r,s) that is allowed: st(r,s) is true, and minimizing f(r,s) among the allowed couples this selector is not randomized; in case of tie breaks the first one is returned
is optional and set to true if not specified
starts or resets the stopwatch
starts or resets the stopwatch
Simple NQueen solved using a swap strategy with tabu search