JUNG Tutorial 3: Storing Node & Edge Data in a Hash Table


Welcome to the third JUNG Tutorial developed by Game2Learn, a member of UNC-Charlotte’s Games + Learning Laboratory. This time we will address the issue of Storing our edge and node data in a hash-table then using that table to access our specific data. There are two advantages of this approach, the first is decoupling, a software engineering term used to describe reducing the interconnection of two portions of a program. If two components are highly coupled that means they depend on each other, if they have low coupling it means that they are more like individual items and can stand alone. In object oriented programming, the goal is generally to have low coupling when possible in order to make our programs more modular.

In this tutorial by storing our data in a hash table, we can decouple our data from both our graph and our visual representation, the visualizationViewer. The second benefit is, you as a programmer, can have quicker access to your data because hash-table look ups have an O(1), read as Big O of 1. In addition the process of decoupling our data from the other components makes sense when we have some feature of our application which only needs to interact with the data of some node, and not the graph topology, like changing the color of one of our nodes in our example program here. As you will see in this tutorial, some component of our program does not require the entire graph in order to change the color field of our nodeData object, it just needs to access our hash-table which stores all of the data specific to each node.

Click here to download the Node & Edge Hash-Table Demo associated with this tutorial.


JUNG Tutorial 2: Vertices with Shapes and Images


Welcome to the second JUNG Tutorial developed by Game2Learn, a member of UNC-Charlotte’s Games + Learning Laboratory. This time we will address the issue of Rendering Icons on Top of Shapes as a vertex in JUNG. So the problem is, you want to have a beautiful shaped vertices, but in addition you want to load some type of image as well inside, next to, or on top of that shape.

The desired goal can be seen below, we have square vertices with colors, we have icons, a O an X and a Game2Learn logo, and we want to print both. The solution we present here, in this tutorial, is to change the vertex render-er, which allows us to achieve the desired results of submitting both a vertexShapeTransformer and a vertexIconTransformer, and have both drawn, which is not possible with the default vertex renderer.

Check here to download the MultiVertexRenderer and associated demo.

Game2Learn Lab in UNC-Charlotte Magazine

Katelyn Doran and Acey Boyce were featured in the Third Quarter 2011 UNC-Charlotte Magazine in regards to their work they do with Citizen Schools. You can read the full article on the web here, and congratulations and nice work to the two of those members of our laboratory. Keep up the good work and great job representing the work we do in the Games + Learning Laboratory!

EDM 2011 Day Three

Well it is the final day of EDM 2011 and so check here for my final report this year. I will hopefully be visiting the VAST conference during VisWeek in October so stay tuned for more reports then, regarding that conference. We hope that you have enjoyed and happy researching.

EDM 2011 Day Two

The latest updates from the 2nd day of EDM 2011 in Eindhoven Netherlands.

EDM 2011 Day One

The Educational Data Mining Conference 2011, in Eindhoven Netherlands has begun on July 6th. You can check the link here for a report on my experiences.

AIED 2011 Day Four

Day Four, the final day, of AIED 2011 Conference. Despite the ash cloud, and the earthquake which I am certain made it difficult to put on a conference, the organizers did an outstanding job. I had a wonderful time at AIED 2011, saw a number of interesting and exciting works, and got to meet a number researchers in the field. I am really glad I was able to participate in this conference this year and the long travel was worth every minute, not only was the conference interesting, fun and helpful, New Zealand was magnificent.

AIED 2011 Day Three

Day Three of AIED 2011 Conference. Interesting talks about AIED and the mainstream as well as serious games.

AIED 2011 Day Two

Here are my latest adventures in New Zealand and my updates regarding AIED 2011 Day Two, enjoy.

AIED 2011 Day One

I, Matt Johnson, am at the AIED 2011 conference in Auckland New Zealand. I will be making daily posts about my experiences there on my own personal blog, but seeing how it is so relevant to the work we do in our lab, will provide links here, rather than posting the same blog entry twice in two different locations. So far, even after only one day, it has been an amazing experience and I am very happy that I’ve been able to attend. Without further adieu, my report on day one of AIED 2011.

AIED 2011 Conference Day One.

After AIED, I will be attending the EDM 2011 Conference in Eindhoven Holland, and will continue my postings on the interesting and exciting research being presented there as well. I hope you enjoy.

Go to Top