urv.emulator.topology.graph
Class GraphEvent
java.lang.Object
urv.emulator.topology.graph.GraphEvent
public class GraphEvent
- extends java.lang.Object
This class contains information about events that will generate a graph
from a Pajek dynamic file
- Author:
- Marcel Arrufat Arias
Constructor Summary |
GraphEvent(java.lang.String type,
java.lang.String srcNode)
|
GraphEvent(java.lang.String type,
java.lang.String src,
java.lang.String dst)
|
GraphEvent(java.lang.String type,
java.lang.String srcNode,
java.lang.String dstNode,
java.lang.String weight)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ADD_VERTEX
public static java.lang.String ADD_VERTEX
ADD_EDGE
public static java.lang.String ADD_EDGE
HIDE_EDGE
public static java.lang.String HIDE_EDGE
SHOW_EDGE
public static java.lang.String SHOW_EDGE
GraphEvent
public GraphEvent(java.lang.String type,
java.lang.String srcNode)
- Parameters:
type
- srcNode
-
GraphEvent
public GraphEvent(java.lang.String type,
java.lang.String src,
java.lang.String dst)
GraphEvent
public GraphEvent(java.lang.String type,
java.lang.String srcNode,
java.lang.String dstNode,
java.lang.String weight)
- Parameters:
type
- srcNode
- dstNode
- weight
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDstNode
public java.lang.String getDstNode()
- Returns:
- Returns the dstNode.
getSrcNode
public java.lang.String getSrcNode()
- Returns:
- Returns the srcNode.
getType
public java.lang.String getType()
- Returns:
- Returns the type.
getWeight
public java.lang.String getWeight()
- Returns:
- Returns the weight.