[Seqan-dev] Serialization a Pattern class


I am using Seqan to do multiple pattern matching. I have a lot of
substrings (needles) and it takes up to 3 minutes to create the
Pattern class. I am thinking of "serializing" the created Pattern
class to a file (do it once), and load it after for future uses. This
includes saving the data structure of Graph and property maps, etc, to
a file and load them back. Could somebody please suggest me a easy way
to implement this ?

Alex.