mascoptLib.graphs
Class Vertex
java.lang.Object
mascoptLib.util.ObservableObject
mascoptLib.abstractGraph.MascoptObject
mascoptLib.abstractGraph.AbstractVertex
mascoptLib.graphs.Vertex
- All Implemented Interfaces:
- Cloneable, MascoptObjectInterface, MascoptWritableInterface, Observer
- public class Vertex
- extends AbstractVertex
A Node object is the most basic elements which can be built. A
Node provides information about its neighbors, its degree, the edges or
arcs exiting or entering it. It derives from MascoptObject.
- Author:
- Jean-Francois Lalande (Jean-Francois.Lalande@sophia.inria.fr)
Constructor Summary |
Vertex()
Default Node Constructor. |
Vertex(double x,
double y)
Constructs a new Node object. |
Methods inherited from class mascoptLib.abstractGraph.AbstractVertex |
getConnected, getDegree, getDegree, getEdgesTo, getEdgesTo, getIncidentEdges, getIncidentEdges, getIncoming, getIncoming, getInDegree, getInDegree, getNeighbours, getNeighbours, getOutDegree, getOutDegree, getOutgoing, getOutgoing, getX, getY, order, setX, setY, toString |
Methods inherited from class mascoptLib.abstractGraph.MascoptObject |
copyValues, countAllObjects, deleteValue, deleteValue, existValue, existValue, free, getDoubleValue, getDoubleValue, getDouValue, getDouValue, getId, getIntegerValue, getIntegerValue, getIntValue, getIntValue, getName, getValue, getValue, getValueContexts, getValueDataType, getValueDataType, getValueEntries, notifyOnValueChange, removeAllValues, setDoubleValue, setDoubleValue, setDouValue, setDouValue, setIntegerValue, setIntegerValue, setIntValue, setIntValue, setName, setValue, setValue, setValue, setValue, setValue, setValue, toDOMTree, toDOMTreeAsRef, update |
Methods inherited from class mascoptLib.util.ObservableObject |
addAddObserver, addRemoveObserver, addValueObserver, countAddObservers, countRemoveObservers, countValueObservers, deleteAddObserver, deleteAddObserver, deleteRemoveObserver, deleteRemoveObserver, deleteValueObserver, deleteValueObserver |
Vertex
public Vertex()
- Default Node Constructor.
Vertex
public Vertex(double x,
double y)
- Constructs a new
Node
object.
- Parameters:
x
- the x positiony
- the y position
getDOMTagHierarchy
public String getDOMTagHierarchy()
- Returns the XML hierarchy tag names.
- Specified by:
getDOMTagHierarchy
in interface MascoptWritableInterface
- Specified by:
getDOMTagHierarchy
in class MascoptObject
- Returns:
- a string TAG1/TAG2/TAG3/TAG4...
getDOMTagName
public String getDOMTagName()
- Returns the XML tag name for this object.
- Specified by:
getDOMTagName
in interface MascoptWritableInterface
- Specified by:
getDOMTagName
in class MascoptObject
- Returns:
- a string TAG