Exemplo n.º 1
0
 public OutputFileWriter(ConfigurationManager configManager, Logger logger, String rootDirectory, String mode)
 {
     this.logger           = logger;
     numExamplesInOutFile  = 0;
     this.outputFileFormat = configManager.outputFileFormat;
     this.matlabFileName   = configManager.matlabOutFilePath + configManager.directorySeparator + configManager.matlabOutFileName;
     this.outputFile       = configManager.outputFile;
     this.rootDirectory    = rootDirectory;
     this.mode             = mode;
     this.featuresFormat   = configManager.featuresFormat;
     chunksLen             = RawFeaturesFormatter.ComputeChunksLength(configManager);
     contextBitfieldLength = RawFeaturesFormatter.ComputeBitfieldLengthAndOffset(configManager, out offset);
 }