mascoptLib.graphs
Class Vertex

java.lang.Object
  extended bymascoptLib.util.ObservableObject
      extended bymascoptLib.abstractGraph.MascoptObject
          extended bymascoptLib.abstractGraph.AbstractVertex
              extended bymascoptLib.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)

Field Summary
 
Fields inherited from class mascoptLib.util.ObservableObject
stopNotifyValueMechanism
 
Constructor Summary
Vertex()
          Default Node Constructor.
Vertex(double x, double y)
          Constructs a new Node object.
 
Method Summary
 String getDOMTagHierarchy()
          Returns the XML hierarchy tag names.
 String getDOMTagName()
          Returns the XML tag name for this 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vertex

public Vertex()
Default Node Constructor.


Vertex

public Vertex(double x,
              double y)
Constructs a new Node object.

Parameters:
x - the x position
y - the y position
Method Detail

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