Companion

object Companion

Properties

Link copied to clipboard
const val ALL_SOLUTIONS: Int

The limit value denoting "no cap on the number of solutions".

Link copied to clipboard

The default SolveOptions: allLazily, i.e. all solutions, lazily, without a timeout.

Link copied to clipboard
const val MAX_TIMEOUT: Long

The default timeout: no practical limit.

Functions

Link copied to clipboard

SolveOptions for eagerly computing every solution (ALL_SOLUTIONS), without a timeout.

Link copied to clipboard

SolveOptions for eagerly computing every solution, aborting after timeout.

Link copied to clipboard

SolveOptions for lazily computing every solution (ALL_SOLUTIONS), without a timeout.

Link copied to clipboard

SolveOptions for lazily computing every solution, aborting after timeout.

Link copied to clipboard
fun of(lazy: Boolean, timeout: TimeDuration = MAX_TIMEOUT, limit: Int = ALL_SOLUTIONS): SolveOptions

Creates SolveOptions with the given lazy/timeout/limit, and no custom options.

fun <X : Any> of(lazy: Boolean, timeout: TimeDuration = MAX_TIMEOUT, limit: Int = ALL_SOLUTIONS, customOption: Pair<String, X>, vararg customOptions: Pair<String, X>): SolveOptions

Creates SolveOptions with the given lazy/timeout/limit, and one or more customOptions.

Link copied to clipboard

SolveOptions for eagerly computing at most limit solutions, without a timeout.

Link copied to clipboard

SolveOptions for eagerly computing at most limit solutions, aborting after timeout.

Link copied to clipboard

SolveOptions for lazily computing at most limit solutions, without a timeout.

Link copied to clipboard

SolveOptions for lazily computing at most limit solutions, aborting after timeout.