Tag
ExternalConfigSize
Arbitrary size type configuration for the External String.
String<TValue, External< ExternalConfigSize< TSize > > >
String<TValue, External< ExternalConfigSize< TSize, TFile[, pageSize[, frames]]> > >
Include Headers
seqan/file.h
Parameters

TSize | Size type the External String will return via Size.
TFile | Type of file the External String will be based on. Types: File
pageSize | A positive integer that specifies the number of values in one page. Default: 2^20 Remarks: This should be a power of 2, to speed up transfer and calculations.
frames | A positive integer that specifies the maximum number of pages that should reside in internal memory. Default: 2 Remarks: To enable prefetching and automatic swap-out, frames should be greater than 1.

Remarks
When using this configuration, the Size type of the External String is the Size type of TFile. Normally this is a 64bit integer. For a smaller size type, use ExternalConfig.
Some data structures store size type values (e.g. suffix arrays in Index). To save memory, you should think of using ExternalConfig.
SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2012/03/14 16:34:52