[Lemon-user] Suggestions for the documentation

Attila Bernáth bernath.athos at gmail.com
Thu Jan 31 10:09:30 CET 2013


Hi All,

I am missing some things from the documentation. Even further, my memories
say that they were mentioned earlier.

For example, I was trying to make lemon and cplex together, but cmake did
not find cplex. This is probably not a problem for someone who knows how
cmake works, but ut was a problem for me.
So Alpar told me to write
cmake -D CPLEX_ROOT_DIR=/opt/ilog/cplex124/cplex/ ..

Another thing: when writing a graph we wanted the nodes labeled with our
own labels (and use the same labels for identifying the edges, too).

@nodes
label
node1
b
@edges
      label   cost
node1     b   0   12

etc. This is simply solved by adding a special nodemap writing rule to the
writer: it's speciality is that the nodemap is called "label".

    graphWriter(filterEdges(g, treeFilter), outputFile)
      .nodeMap("label",nodeL)
      .skipNodes()
      .run();

(you can even skip writing the nodes section, as here: we only write a
spanning tree of graph g, and we don't want to repeat the node labels).

Is this (latter) mentioned somewhere in the documentation? (I seemed to
remember something like this and tried - and it worked.)

Can we add these to the documentation?

Attila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lemon.cs.elte.hu/pipermail/lemon-user/attachments/20130131/a54fdf78/attachment.html>


More information about the Lemon-user mailing list