net.sourceforge.cilib.simulator
Class SynchronizedOutputBuffer
java.lang.Object
net.sourceforge.cilib.simulator.SynchronizedOutputBuffer
public class SynchronizedOutputBuffer
- extends Object
- Author:
- Edwin Peer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronizedOutputBuffer
public SynchronizedOutputBuffer(String file,
int measurements,
int samples)
- Creates a new instance of SynchronizedOutputBuffer.
writeDescription
public void writeDescription(Measurement measurement)
writeMeasuredValue
public void writeMeasuredValue(Object value,
Algorithm algorithm,
Measurement measurement)
write
public void write(String string)
flush
public void flush()
close
public void close()
writeLine
protected void writeLine(String string)
getMeasurementId
protected int getMeasurementId(Measurement measurement)
getSampleId
protected int getSampleId(Algorithm algorithm)
Copyright © 2009 CIRG. All Rights Reserved.