mascoptLib.abstractGraph
Interface AbstractVertexSetFactory

All Known Implementing Classes:
VertexSetFactory

public interface AbstractVertexSetFactory

The factory building vertex sets.


Method Summary
 AbstractVertex newAbstractVertex()
          Default vertex constructor.
 AbstractVertex newAbstractVertex(double x, double y)
          Constructs a vertex with coordinates.
 AbstractVertexSet newAbstractVertexSet()
          Default vertex set constructor.
 AbstractVertexSet newAbstractVertexSet(AbstractVertexSet vertexSet)
          Constructs a new vertex set based on a vertex set.
 AbstractVertexSet newAbstractVertexSet(AbstractVertexSet vertexSet, boolean copyElements)
          Constructs a new vertex set based on a vertex set.
 

Method Detail

newAbstractVertexSet

public AbstractVertexSet newAbstractVertexSet()
Default vertex set constructor.


newAbstractVertexSet

public AbstractVertexSet newAbstractVertexSet(AbstractVertexSet vertexSet)
Constructs a new vertex set based on a vertex set.

Parameters:
vertexSet - the vertex set used as base to the vertex set.
Returns:
an abstract vertex set empty.

newAbstractVertexSet

public AbstractVertexSet newAbstractVertexSet(AbstractVertexSet vertexSet,
                                              boolean copyElements)
Constructs a new vertex set based on a vertex set.

Parameters:
vertexSet - the vertex set used as base to the vertex set.
copyElements - if true, then a new set is created independant, otherwise the new set is a subset.
Returns:
an abstract vertex set empty.

newAbstractVertex

public AbstractVertex newAbstractVertex()
Default vertex constructor.


newAbstractVertex

public AbstractVertex newAbstractVertex(double x,
                                        double y)
Constructs a vertex with coordinates.

Parameters:
x - the x coordinate
y - the y coordinate