[Frames] Annotation renaming.

8 views
Skip to first unread message

Marko Rodriguez

unread,
May 15, 2012, 6:32:47 PM5/15/12
to gremli...@googlegroups.com
Hi,

The other day Pierre asked me what the terms were for:

A vertex is X to its neighboring vertex.
A vertex is Y to its edges.

I believe I just made something up when I replied. However, the other night, I was doing some light reading of a graph theory textbook and found this terminology:

A vertex is adjacent to its neighboring vertex.
A vertex is incident to its edges.

As such, to reflect this more kosher terminology, Frames had the following two annotations renamed for TinkerPop 2:

@Relation -> @Adjacency ("an adjacency")
@Adjacency -> @Incident ("an incident")

While doing this, I also updated numerous classes in Frames according to a cool Iterable/Iterator technique I learned from Josh.

public Iterator<T> iterator() {
public new Iterator<T> {
// reference parent iterable class' fields
}
}

Take care,
Marko.

http://markorodriguez.com

Matthias Broecheler

unread,
May 15, 2012, 6:55:54 PM5/15/12
to gremli...@googlegroups.com
Oh, I always though the terminology was:

A vertex is adjacent to its neighboring vertex.
A vertex has an edge or is an end point of an edge.
An edge is incident on a vertex.

Never heard of a vertex being incident on an edge. Good to know.
--
Matthias Broecheler, PhD
http://www.matthiasb.com
E-Mail: m...@matthiasb.com
Reply all
Reply to author
Forward
0 new messages