Class KOpt

java.lang.Object
com.sparsity.sparksee.algorithms.KOpt
All Implemented Interfaces:
Closeable, AutoCloseable

public class KOpt extends Object implements Closeable
KOpt class.

Implements the 2-Opt and 3-Opt algorithms

Author:
Sparsity Technologies http://www.sparsity-technologies.com
  • Method Details

    • isClosed

      public boolean isClosed()
      Gets if KOpt instance has been closed or not.

      Returns:
      TRUE if the KOpt instance has been closed, FALSE otherwise.
      See Also:
    • close

      public void close()
      Closes the KOpt instance.

      It must be called to ensure the integrity of all data.

      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable