edu.rit.mri
Class PixelSchedule
- java.lang.Object
-
- edu.rit.mri.PixelSchedule
-
public class PixelSchedule extends java.lang.ObjectClass PixelSchedule provides a load balancing schedule object used by class SpinRelaxometryClu for partitioning the pixels of the input spin signal data sets among the workers. The data sets are divided into chunks of a fixed size.
-
-
Constructor Summary
Constructors Constructor and Description PixelSchedule(int chunkSize, java.lang.String[] signalFileName)Construct a new pixel schedule object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PixelChunknext()Get the next chunk of pixels to analyze.
-
-
-
Constructor Detail
-
PixelSchedule
public PixelSchedule(int chunkSize, java.lang.String[] signalFileName)Construct a new pixel schedule object.- Parameters:
chunkSize- Maximum number of pixels in each chunk.signalFileName- Array of spin signal data set file names.
-
-
Method Detail
-
next
public PixelChunk next() throws java.io.IOException
Get the next chunk of pixels to analyze. If there are no more chunks, null is returned.- Returns:
- Chunk, or null.
- Throws:
java.io.IOException- Thrown if an I/O error occurred.
-
-
DMelt 3.0 © DataMelt by jWork.ORG