[Lemon-devel] Renaming basic classes
Balazs Dezso
deba at inf.elte.hu
Mon Sep 3 21:00:16 CEST 2007
Hi Developers
The idea of renaming the main graph classes and items is quite urgent
question. The UEdge and BpUGraph names are involved and on some points the
naming conventions are not complete.
After some discussions, we suggest the next rename mappings:
Graph => Digraph
UGraph => Graph
BpUGraph => Bigraph
Edge => Arc
UEdge => Edge
uEdge...() => edge...()
aNode...() => anode...()
bNode...() => bnode...()
The source() and target() functions could be changed in the undirected graphs
to first() and second(), or anode() and bnode(). This second variant is very
close to the Bigraph interface, but there is not concrete meaning of the
order of the nodes.
In my point of view the graph structures are quite stable but some solutions
should be revised. The extenders make the compile errors and warnings
unreadable but we do not have better solution. The handling of anodes and
bnodes also should be revised.
Please comment this suggestions, if you agree with this proposals or if you
have some improvements or other opinion.
Best regards, Balazs
More information about the Lemon-devel
mailing list