[Seqan-dev] Sparse property map


Hi,

If I want to store a property for every vertex in a suffix array I can do something like this:

    String< double > property;
    const double v = 1.3;
    resizeVertexMap( index, property );
    assignProperty( property, value( top_down_it( index ) ), v );
const double prop_value = getProperty( property, value( top_down_it( index ) ) );

Here the properties are stored in a seqan::String. What if I only want to store properties for a very few of the vertices in a very large index? Is there some sparse storage I can use instead of String?

Thanks,
John.