FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

[Seqan-dev] Sparse property map

<-- thread -->
<-- date -->
  • From: John Reid <j.reid@mail.cryst.bbk.ac.uk>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Fri, 15 Jul 2011 09:18:07 +0100
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: [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.



<-- thread -->
<-- date -->
  • Follow-Ups:
    • Re: [Seqan-dev] Sparse property map
      • From: Manuel Holtgrewe <manuel.holtgrewe@fu-berlin.de>
  • seqan-dev - July 2011 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the seqan-dev mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal