Class DistanceMatrix.NeighborDistances

java.lang.Object
ffx.algorithms.optimize.manybody.DistanceMatrix.NeighborDistances
Enclosing class:
DistanceMatrix

public class DistanceMatrix.NeighborDistances extends Object
Store all neighbors of a residue / rotamer pair.
  • Constructor Details

    • NeighborDistances

      public NeighborDistances(int i, int ri)
      Constructor.
      Parameters:
      i - The residue index.
      ri - The rotamer index.
  • Method Details

    • storeDistance

      public void storeDistance(int j, int rj, double distance)
      Store a distance.
      Parameters:
      j - The residue index.
      rj - The rotamer index.
      distance - The distance.
    • getDistance

      public double getDistance(int j, int rj)
      Get a distance.
      Parameters:
      j - The residue index.
      rj - The rotamer index.
      Returns:
      The distance.