Package jline.lib.perm
Class RyzerPermanent
java.lang.Object
jline.lib.perm.PermSolver
jline.lib.perm.RyzerPermanent
Implementation of Ryzer's algorithm to calculate the permanent.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRyzerPermanent(Matrix matrix) RyzerPermanent(Matrix matrix, String mode) RyzerPermanent(Matrix matrix, String mode, boolean solve) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute()Compute the permanent or approximation for the given matrix.
-
Constructor Details
-
RyzerPermanent
-
RyzerPermanent
-
RyzerPermanent
-
-
Method Details
-
compute
public void compute()Description copied from class:PermSolverCompute 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:
computein classPermSolver
-