params
This object defines the initialization settings for the atom array as well as the solver's mutator (how it alters the atom array during solving).
Example:
{
"params": {
"initializeType": "Random",
"mutatorType": "Random",
"maximize": false
}
}
Fields:
initializeType
: One of[Random|Unique]
:Random
: Initializes all atoms to random states.Unique
: Initializes all atoms to random states without duplicates. The number of states must match the number of atoms.
mutatorType
: One of[Swap|Random|Creep]
:Swap
: Only the order of the atoms can be changed.Random
: Any atom state can be randomly changed to any other.Creep
: Atom states are incremented or decremented only.
maximize
: One of[true|false]
: This defines whether the score for the problem is a maximization or minimization problem.