org.omegahat.Simulation.MCMC.Listeners
Class QuantileWriter

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.Listeners.HistogramWriter
        |
        +--org.omegahat.Simulation.MCMC.Listeners.QuantileWriter
All Implemented Interfaces:
MCMCListener, MCMCListenerWriter, ResettableListener

public class QuantileWriter
extends HistogramWriter


Field Summary
protected  double[] quantiles
           
 
Fields inherited from class org.omegahat.Simulation.MCMC.Listeners.HistogramWriter
bins, hists, max, min, out, storeTime
 
Constructor Summary
protected QuantileWriter()
           
  QuantileWriter(java.lang.String filename, boolean append, boolean storeTime, double min, double max, int bins, double[] quantiles)
           
  QuantileWriter(java.lang.String filename, boolean append, double min, double max, int bins, double[] quantiles)
           
  QuantileWriter(java.lang.String filename, double min, double max, int bins, double[] quantiles)
           
 
Method Summary
 void close()
          Write out any cached state and then close the output stream.
 void flush()
          Write out any cached state
 void print(java.lang.String data)
          Write arbitrary text to the output stream.
 void println(java.lang.String data)
          Write arbitrary text to the output stream.
 
Methods inherited from class org.omegahat.Simulation.MCMC.Listeners.HistogramWriter
notify, reset
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

quantiles

protected double[] quantiles
Constructor Detail

QuantileWriter

public QuantileWriter(java.lang.String filename,
                      boolean append,
                      boolean storeTime,
                      double min,
                      double max,
                      int bins,
                      double[] quantiles)
               throws java.io.IOException

QuantileWriter

public QuantileWriter(java.lang.String filename,
                      boolean append,
                      double min,
                      double max,
                      int bins,
                      double[] quantiles)
               throws java.io.IOException

QuantileWriter

public QuantileWriter(java.lang.String filename,
                      double min,
                      double max,
                      int bins,
                      double[] quantiles)
               throws java.io.IOException

QuantileWriter

protected QuantileWriter()
Method Detail

flush

public void flush()
Description copied from interface: MCMCListenerWriter
Write out any cached state
Overrides:
flush in class HistogramWriter

close

public void close()
Description copied from interface: MCMCListenerWriter
Write out any cached state and then close the output stream.
Overrides:
close in class HistogramWriter

println

public void println(java.lang.String data)
Description copied from interface: MCMCListenerWriter
Write arbitrary text to the output stream.
Overrides:
println in class HistogramWriter

print

public void print(java.lang.String data)
Description copied from interface: MCMCListenerWriter
Write arbitrary text to the output stream.
Overrides:
print in class HistogramWriter