question about making a temporal Graph with Gelly

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

question about making a temporal Graph with Gelly

otherwise777
​​Hi there,

I'm currently working on making a Temporal Graph with Gelly, a Temporal graph is a graph where edges have 2 extra values namely a beginning and ending time.

I started with this project a couple of weeks ago, since i don't have much experience with Gelly or Flink i wanted to ask you guys if you had some ideas on how to implement this idea into Gelly.

I already tried extending Gelly Edges with a 5tuple instead of a 3tuple, but it seems that Gelly isn't made for that. After that i moved on on adding a 3tuple into the value field of an Edge.

any other ideas? 

Best regards,
Wouter Ligtenberg
​Student at TU Eindhoven​
Reply | Threaded
Open this post in threaded view
|

Re: question about making a temporal Graph with Gelly

Greg Hogan
Hi Wouter,

Packing two or more values into the edge value using a Tuple is a common practice. Does this work well for the algorithms you are writing?

Greg

On Wed, Oct 12, 2016 at 4:29 PM, Wouter Ligtenberg <[hidden email]> wrote:
​​Hi there,

I'm currently working on making a Temporal Graph with Gelly, a Temporal graph is a graph where edges have 2 extra values namely a beginning and ending time.

I started with this project a couple of weeks ago, since i don't have much experience with Gelly or Flink i wanted to ask you guys if you had some ideas on how to implement this idea into Gelly.

I already tried extending Gelly Edges with a 5tuple instead of a 3tuple, but it seems that Gelly isn't made for that. After that i moved on on adding a 3tuple into the value field of an Edge.

any other ideas? 

Best regards,
Wouter Ligtenberg
​Student at TU Eindhoven​

Reply | Threaded
Open this post in threaded view
|

Re: question about making a temporal Graph with Gelly

otherwise777
Hello Greg,

So far i've added a Tuple3 in the value field of an edge and that seems to work. However in the end i want to make a library on top of Gelly that supports temporal graphs all together. For that i want to add a temporal edge class to use in the graph but i didn't succeed in doing that, i made a post about it on stackoverflow: http://stackoverflow.com/questions/40007325/flink-gelly-extending-edge-class-and-using-it-in-dataset

I would also like to extend the Gelly Graph, but i noticed the constructor being private which disables me from doing so.