public class HUX extends TypeSafeCrossover<BinaryVariable>
This variation operator is type-safe.
Constructor and Description |
---|
HUX()
Constructs a HUX operator with a 100% chance of applying this operator
to each solution.
|
HUX(double probability)
Constructs a HUX operator.
|
Modifier and Type | Method and Description |
---|---|
void |
evolve(BinaryVariable v1,
BinaryVariable v2)
Evolves the specified variables using the HUX operator.
|
java.lang.String |
getName()
Returns the name of this variation operator.
|
evolve, getArity, getProbability, setProbability
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyConfiguration, getConfiguration
public HUX()
public HUX(double probability)
probability
- the probability of applying this operator to each solutionpublic java.lang.String getName()
Variation
public void evolve(BinaryVariable v1, BinaryVariable v2)
evolve
in class TypeSafeCrossover<BinaryVariable>
v1
- the first variablev2
- the second variableCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.