$darkmode
DENOPTIM
|
a vertex in the JUNG Graph. More...
Public Member Functions | |
JVertex (AttachmentPoint ap) | |
Constructor for vertex that represents a given AttachmentPoint . More... | |
JVertex (Vertex v) | |
Constructor for vertex that represents a given Vertex . More... | |
Package Attributes | |
Vertex | dnpVertex |
The reference to the corresponding Vertex or null. More... | |
AttachmentPoint | ap |
The reference to the corresponding AttachmentPoint or null. More... | |
JVertexType | vtype = JVertexType.NONE |
A shortcut to record which type of DENOPTIM object this vertex represents. More... | |
String | label = "NA" |
The string used as label when graphically depicting this vertex. More... | |
String | idStr = "NA" |
The string used as identifier of this JVertex in different instances representing the same graph. More... | |
boolean | displayBBID = false |
Flag requiring to display building block ID. More... | |
boolean | expandable = false |
Flag enabling opening vertex inner view (i.e., expand templates) in graph viewer. More... | |
JEdge | edgeToParent |
Reference to the JEdge linking this vertex to its parent vertex. More... | |
a vertex in the JUNG Graph.
It represents any kind of Vertex
or an AttachmentPoint
.
Definition at line 104 of file GraphViewerPanel.java.
denoptim.gui.GraphViewerPanel.JVertex.JVertex | ( | AttachmentPoint | ap | ) |
Constructor for vertex that represents a given AttachmentPoint
.
Note that the reference to the JEdge linking this JVertex to its parent is set when creating the JEdge GraphViewerPanel#convertDnGraphToGSGraph(DGraph, Template)
ap | the AttachmentPoint . |
Definition at line 158 of file GraphViewerPanel.java.
References denoptim.gui.GraphViewerPanel.JVertexType.AP, denoptim.gui.GraphViewerPanel.JVertex.ap, denoptim.graph.AttachmentPoint.getID(), denoptim.graph.AttachmentPoint.getIndexInOwner(), denoptim.graph.AttachmentPoint.getOwner(), denoptim.graph.Vertex.getVertexId(), denoptim.gui.GraphViewerPanel.JVertex.idStr, denoptim.gui.GraphViewerPanel.JVertex.label, and denoptim.gui.GraphViewerPanel.JVertex.vtype.
denoptim.gui.GraphViewerPanel.JVertex.JVertex | ( | Vertex | v | ) |
Constructor for vertex that represents a given Vertex
.
ap | the Vertex . |
Definition at line 171 of file GraphViewerPanel.java.
References denoptim.gui.GraphViewerPanel.JVertexType.CAP, denoptim.gui.GraphViewerPanel.JVertexType.FRAG, denoptim.graph.Vertex.getBuildingBlockType(), denoptim.graph.Vertex.getVertexId(), denoptim.gui.GraphViewerPanel.JVertex.idStr, denoptim.graph.Vertex.isRCV, denoptim.gui.GraphViewerPanel.JVertex.label, denoptim.gui.GraphViewerPanel.JVertexType.NONE, denoptim.gui.GraphViewerPanel.JVertexType.RCV, denoptim.gui.GraphViewerPanel.JVertexType.SCAF, and denoptim.gui.GraphViewerPanel.JVertex.vtype.
|
package |
The reference to the corresponding AttachmentPoint
or null.
Definition at line 115 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.JVertex.JVertex().
|
package |
Flag requiring to display building block ID.
Definition at line 137 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.VertexLabelTransformer.apply().
|
package |
The reference to the corresponding Vertex
or null.
Definition at line 109 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.VertexLabelTransformer.apply(), and denoptim.gui.GraphVertexMolViewerPanel.NodeClickedListener.propertyChange().
|
package |
Reference to the JEdge
linking this vertex to its parent vertex.
This is non-null only for vertexes that represent APs.
Definition at line 149 of file GraphViewerPanel.java.
|
package |
Flag enabling opening vertex inner view (i.e., expand templates) in graph viewer.
Definition at line 143 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.loadGraphToViewer().
|
package |
The string used as identifier of this JVertex in different instances representing the same graph.
Definition at line 132 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.JVertex.JVertex(), and denoptim.gui.JUNGGraphSnapshot.processVertex().
|
package |
The string used as label when graphically depicting this vertex.
Definition at line 126 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.VertexLabelTransformer.apply(), and denoptim.gui.GraphViewerPanel.JVertex.JVertex().
|
package |
A shortcut to record which type of DENOPTIM object this vertex represents.
Definition at line 121 of file GraphViewerPanel.java.
Referenced by denoptim.gui.GraphViewerPanel.VertexLabelTransformer.apply(), denoptim.gui.GraphViewerPanel.VertexShapePaintTransformer.apply(), denoptim.gui.GraphViewerPanel.VertexFillPaintTransformer.apply(), and denoptim.gui.GraphViewerPanel.JVertex.JVertex().