cz.cuni.amis.pogamut.episodic.visualizer
Class VisualizationRenderer.ObjectVertex

Package class diagram package VisualizationRenderer.ObjectVertex
java.lang.Object
  extended by cz.cuni.amis.pogamut.episodic.visualizer.VisualizationRenderer.ObjectVertex
Enclosing class:
VisualizationRenderer

public class VisualizationRenderer.ObjectVertex
extends Object

Class holding information about vertex representing an object node. These vertices need to be removed from graphs before creation of a tree layout and then returned back. This class hold all necessary information needed to return the vertex back to its graph(s). Additional information about vertex such as color, label, etc. were not deleted.


Field Summary
 HashSet<Integer> graphs
          Graphs the vertex belongs to.
 int id
          ID of vertex representing object node.
 HashMap<Integer,Integer> slots
          ID of slot vertices this vertex is connected to.
 
Constructor Summary
VisualizationRenderer.ObjectVertex(int _id)
          Instantiate the class by providing the ID of a new vertex.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public int id
ID of vertex representing object node.


graphs

public HashSet<Integer> graphs
Graphs the vertex belongs to. Because one object node can belong to several chronobags, its vertex representation has same ID for all chronobag visualization and thus it has to be added to all these graphs under the same one ID.


slots

public HashMap<Integer,Integer> slots
ID of slot vertices this vertex is connected to. Indexed by ID of an edge.

Constructor Detail

VisualizationRenderer.ObjectVertex

public VisualizationRenderer.ObjectVertex(int _id)
Instantiate the class by providing the ID of a new vertex.

Parameters:
_id - Unique ID of the vertex representing the object.


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.