* @param reader Reader connected to the source data structure and
* positioned to start reading
*/
public Dataset(BinaryReader reader) throws IOException {
// Read the detection data set headers.
version = new Version(reader.readInt32(), reader.readInt32(),
reader.readInt32(), reader.readInt32());
// Throw exception if the data file does not have the correct
// version in formation.
if (version.major != DetectionConstants.FormatVersion.major