Class RyzerPermanent

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

public class RyzerPermanent extends PermSolver
Implementation of Ryzer's algorithm to calculate the permanent.
  • Constructor Details

    • RyzerPermanent

      public RyzerPermanent(Matrix matrix)
    • RyzerPermanent

      public RyzerPermanent(Matrix matrix, String mode)
    • RyzerPermanent

      public RyzerPermanent(Matrix matrix, 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