[Lemon-devel] Renaming basic classes

Alpár Jüttner alpar at cs.elte.hu
Tue Sep 18 16:38:13 CEST 2007


Hi,

> Graphs:
> Graph, Ugraph, Bigraph

I probably lost the track, but why not Graph and DiGraph? Is there eny
problem with it?

The notation Bigraph seems also problematic, as 'Bidirected graph' is
frequently used in graph theory for something really different.

I miss the directed/undirected version of the bipartite graphs.

> 
> Items:
> Node, Arc, Edge, Anode, Bnode

Peter suggested NodeA, NodeB instead. What is your opinion?
In 3G/UMTS terminology nodeB has a very special meaning. I don't know if
it is a problem.

> Edge end-node query:
> either(), other()

I really don't like this. The word 'either' has a different meaning in
English. Why is this choice better than first()/second() ?

> I got an issue about the Anode is meaningful word and therefore it might be a 
> bad choice. In addition I would like to revise my proposal about other(), 
> either()... I thought it will be refused because I was not sure that these 
> are proper names. The main problem is that they do not denote that it gives 
> back the end node of the edge. Eventually, I think that these are the best 
> names (after anode(), bnode() but these are quite antipathic for you),

I would like to competely get rid of the word anode/bnode (and ugraph,
uedge etc. for the same reason). If it is not possible, and we continue
using the ANode as a class name, then anode() isn't so bad either.

Alpar





More information about the Lemon-devel mailing list