Interface CandidateAnnealingMove<S extends AnnealingSolution<S>>

Type Parameters:
S - solution type
All Superinterfaces:
AnnealingMove<S>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CandidateAnnealingMove<S extends AnnealingSolution<S>> extends AnnealingMove<S>
An annealing proposal that produces a separate candidate solution. This form is useful when an efficient or reliable in-place undo operation is not available.
  • Method Summary

    Modifier and Type
    Method
    Description
    candidate(S current)
    Produce a non-null candidate without modifying current.
  • Method Details

    • candidate

      S candidate(S current)
      Produce a non-null candidate without modifying current.
      Parameters:
      current - current solution
      Returns:
      proposed candidate solution