Interface NeatCombination

All Superinterfaces:
CombinationPolicy
All Known Implementing Classes:
ImmutableNeatCombination

@Immutable public interface NeatCombination extends CombinationPolicy
  • Field Details

    • DEFAULT_INHERITANCE_THRESHOLD

      static final double DEFAULT_INHERITANCE_THRESHOLD
      See Also:
    • DEFAULT_REENABLE_GENE_INHERITANCE_THRESHOLD

      static final double DEFAULT_REENABLE_GENE_INHERITANCE_THRESHOLD
      See Also:
  • Method Details

    • inheritanceThresold

      @Default default double inheritanceThresold()
      Matching, excess and disjoint genes may be chosen randomly between the parents. By default the selection is unbiased toward any parent. This threshold can be adjusted towards the better individual or the lesser one.
      Acceptable values are between 0 and 1 (inclusive), and higher values will favor the better individual
      Returns:
    • reenableGeneInheritanceThresold

      @Default default double reenableGeneInheritanceThresold()
      Returns If a gene is disabled in either parent, there is a chance it will get re-enabled if it is enabled in either parent.
      This setting configures that threshold.
      Returns:
      If a gene is disabled in either parent, there is a chance it will get re-enabled if it is enabled in either parent.
      This setting configures that threshold
    • parentComparisonPolicy

      @Default default ParentComparisonPolicy parentComparisonPolicy()
      Returns The policy used to compare parents. Defaults to fitness comparison..
      Returns:
      The policy used to compare parents. Defaults to fitness comparison.
    • check

      @Check default void check()
    • builder

      static NeatCombination.Builder builder()
    • build

      static NeatCombination build()