Package jline.lib.perm
Class AdaPartSampler
java.lang.Object
jline.lib.perm.PermSolver
jline.lib.perm.AdaPartSampler
Sampling method to approximate the permanent using Adaptive Partitioning (AdaPart).
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionAdaPartSampler(Matrix matrix) AdaPartSampler(Matrix matrix, int maximumAcceptedSamples, long maximumTime, int maximumSamples, String mode, boolean solve) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute()Compute the permanent or approximation for the given matrix.
-
Field Details
-
sampleAccepted
-
sampleTime
-
permStep
-
-
Constructor Details
-
AdaPartSampler
-
AdaPartSampler
-
-
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
-