[m-rev.] for review: .local_call_tree_full

Julien Fischer jfischer at opturion.com
Thu Feb 29 21:19:08 AEDT 2024



On Thu, 29 Feb 2024, Zoltan Somogyi wrote:

>
> On 2024-02-29 21:06 +11:00 AEDT, "Julien Fischer" <jfischer at opturion.com> wrote:
>>>  % This module defines a data type representing directed graphs. A directed
>>>  % graph of type digraph(T) is logically equivalent to a set of vertices of
>>>  % type T, and a set of edges of type pair(T). The endpoints of each edge
>>> -% must be included in the set of vertices; cycles and loops are allowed.
>>> +% must be included in the set of vertices; cycles are allowed.
>>
>> I would prefer the wording to be explicit about the fact that loops are allowed,
>> since that is not always the case with graphs. Perhaps:
>>
>>     cycles, including loops, are allowed.
>>
>> ?
>
> What's the difference? To me, "cycle" and "loop" are synonyms.

Loops are usually understood to be edges that whose start and end vertex
is the same (i.e. they are cycles, but not all cycles are loops).

Julien.


More information about the reviews mailing list