Package ffx.algorithms.optimize.manybody
Class DistanceRegion
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.algorithms.optimize.manybody.DistanceRegion
Compute the minimum distance between each pair of residues for all rotamer permutations.
-
Field Summary
Modifier and TypeFieldDescriptionprotected AlgorithmListener
AlgorithmListener who should receive updates as the optimization runs. -
Constructor Summary
ConstructorDescriptionDistanceRegion
(int nt, int nResidues, Crystal crystal, int[][][] lists, IntegerSchedule schedule) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(DistanceMatrix dM, MolecularAssembly molecularAssembly, Residue[] allResiduesArray, AlgorithmListener algorithmListener, DistanceMatrix.NeighborDistances[][] distanceMatrix) void
run()
Execute parallel code.Methods inherited from class edu.rit.pj.ParallelRegion
barrier, barrier, critical, critical, criticalNonexclusive, criticalNonexclusive, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, finish, start
Methods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
Field Details
-
algorithmListener
AlgorithmListener who should receive updates as the optimization runs.
-
-
Constructor Details
-
DistanceRegion
public DistanceRegion(int nt, int nResidues, Crystal crystal, int[][][] lists, IntegerSchedule schedule)
-
-
Method Details
-
init
public void init(DistanceMatrix dM, MolecularAssembly molecularAssembly, Residue[] allResiduesArray, AlgorithmListener algorithmListener, DistanceMatrix.NeighborDistances[][] distanceMatrix) -
run
public void run()Description copied from class:ParallelRegion
Execute parallel code. All threads of the parallel team call therun()
method concurrently.The
run()
method must be implemented in a subclass.- Specified by:
run
in classParallelRegion
-