[Lemon-devel] Naming question again

Maurice Diamantini Maurice.Diamantini at ensta.fr
Fri Apr 4 08:39:45 CEST 2008


Le 3 avr. 08 à 15:30, Kovács Péter a écrit :

> Hi,
>
>> But what if there is no separate DigraphToEps?
>>
>> Should we use edgeColor()? Or also use acrColor() as an alias?
>
> I suggest using both names.
>
> However it is a bit misleading since we can use ArcIt and EdgeIt for  
> an
> undirected graph, but they are not the same.
>
> Peter

I agree that it could be two methods with some different behaviors
(or the same behavior in some case).
For sample, edgeColor() could act as two reverse acrColor() with
the same color?
Also addEdge could be added in DiGraphs class for adding two symetrical
addArc?

-- Maurice Diamantini





More information about the Lemon-devel mailing list