[Lemon-user] Using SmartArcSet and development code
Goldberg, Noam
ngoldber at telcordia.com
Wed May 6 01:15:56 CEST 2009
Thank you for your help.
The following might be another silly question (perhaps it could become useful later for the documentation).
Trying to read ArcSets from an LGF file by following the documentation of DigraphReader:
"An application of these functions is multipass reading, which is important if two @arcs sections must be read from the file. In this case the first phase would read the node set and one of the arc sets, while the second phase would read the second arc set into an ArcSet class (SmartArcSet or ListArcSet). The previously read label node map should be passed to the useNodes() functions. "
How do you obtain the label node map ?
The nodeMapNames of LgfContents provides a vector of strings but is not a Lemon Map (so it did not compile because it did not have the Value method)
const std::vector<std::string>& nodeMapNames ( int i ) const [inline]
Thank you in advance,
Noam
________________________________________
From: lemon-user-bounces at lemon.cs.elte.hu [lemon-user-bounces at lemon.cs.elte.hu] On Behalf Of Alpár Jüttner [alpar at cs.elte.hu]
Sent: Tuesday, May 05, 2009 1:03 PM
To: noam goldberg
Cc: lemon-user at lemon.cs.elte.hu
Subject: Re: [Lemon-user] Using SmartArcSet and development code
Hi,
> The Lemon 1.0.3 and 1.0.4 do not include the ArcSet classes
> (SmartArcSet and LinkArcSet).
That's right.
> Is there a stable release including these classes (e.g., 1.1)?
We are very close to release 1.1 (basically the doc needs some cleanup,
nothing else).
> Also there are not much of instruction to download the development
> versions.
Hmm... You are right again.
Hopefully there will be a volunteer who puts together a wiki page about
the basics of Mercurial.
> When I try:
> svn checkout http://lemon.cs.elte.hu/hg/lemon-1.1
>
> I get the error 'svn: PROPFIND of '/hg/lemon-1.1':200 Script output
> follows (http://lemon.cs.elte.hu)'
>
It's because we use the Mercurial SCM system instead of svn. Thus you
should try this:
$ hg clone http://lemon.cs.elte.hu/hg/lemon-1.1
for the release branch or
$ hg clone http://lemon.cs.elte.hu/hg/lemon-main
for the main branch (i.e. for the "trunk" using the svn terminology).
You can find more about the usage of Mercurial on its site
(http://selenic.com/mercurial) .
Alternatively, type the repository address into your browser and you
will find download links (in bz2, zip and gz formats) there.
Regards,
Alpar
_______________________________________________
Lemon-user mailing list
Lemon-user at lemon.cs.elte.hu
http://lemon.cs.elte.hu/mailman/listinfo/lemon-user
More information about the Lemon-user
mailing list