Class LambdaReader

java.lang.Object
java.io.Reader
java.io.BufferedReader
ffx.algorithms.thermodynamics.LambdaReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class LambdaReader extends BufferedReader
Read in the current value of Lambda, its velocity and the number of counts.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • LambdaReader

      public LambdaReader(Reader reader)
      Constructor.
      Parameters:
      reader - The Reader to use.
  • Method Details

    • getHistogramIndex

      public int getHistogramIndex()
      Get the index of the histogram associated with this lambda file.
      Returns:
      Associated histogram index.
    • readLambdaFile

      public void readLambdaFile(boolean resetEnergyCount)
      Read the Lambda restart file.
      Parameters:
      resetEnergyCount - Flag to indicate if the energy count should be read in.