Class AdaPartSampler

java.lang.Object
jline.lib.perm.PermSolver
jline.lib.perm.AdaPartSampler

public class AdaPartSampler extends PermSolver
Sampling method to approximate the permanent using Adaptive Partitioning (AdaPart).
  • Field Details

  • Constructor Details

    • AdaPartSampler

      public AdaPartSampler(Matrix matrix)
    • AdaPartSampler

      public AdaPartSampler(Matrix matrix, int maximumAcceptedSamples, long maximumTime, int maximumSamples, String mode, boolean solve)
  • Method Details

    • compute

      public void compute()
      Description copied from class: PermSolver
      Compute the permanent or approximation for the given matrix. This method must be implemented by all concrete solver classes. The result should be stored in the value field.
      Specified by:
      compute in class PermSolver