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

[Seqan-dev] Using EdgeProperties and VertexProperties

thread -->
date -->
  • From: Mat <matthias.dodt@mdc-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Mon, 07 Feb 2011 16:34:11 +0100
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: [Seqan-dev] Using EdgeProperties and VertexProperties

Hey guys!

I would like to create a .dot file of my graph using the

write(strmWrite, *graph, *vertexPropertyMap,*edgePropertyMap,DotDrawing());

method.

The two maps are defined as follows:

seqan::String<VertexProperty> *vertexPropertyMap = new seqan::String<VertexProperty>();
seqan::String<EdgeProperty> *edgePropertyMap = new seqan::String<EdgeProperty>();

VertexProperty and EdgeProperty are two custom classes...

Now if i use the DotDrawing() method i get the message "cannot convert form VertexProperty to char"...

So i guess i would have to implement my own "_streamPut" method for these classes in seqans "cstream.h", so something like:

inline void _streamPut(::std::FILE * target,
           const EdgeProperty e)
{
SEQAN_CHECKPOINT
    //putc(e.toChar(), target);
}

or is there an easier way to do that?

Thanks!

best,

mat
thread -->
date -->
  • Follow-Ups:
    • Re: [Seqan-dev] Using EdgeProperties and VertexProperties
      • From: "Rausch, Tobias" <Tobias.Rausch@fu-berlin.de>
  • seqan-dev - February 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