|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.graphs.VertexSetFactory
The factory to produce Vertex Sets.
Constructor Summary | |
VertexSetFactory()
|
Method Summary | |
mascoptLib.abstractGraph.AbstractVertex |
newAbstractVertex()
Default node constructor. |
mascoptLib.abstractGraph.AbstractVertex |
newAbstractVertex(double x,
double y)
Constructs a node with coordinates. |
mascoptLib.abstractGraph.AbstractVertexSet |
newAbstractVertexSet()
Default node set constructor. |
mascoptLib.abstractGraph.AbstractVertexSet |
newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet)
Constructs a new node set based on a node set. |
mascoptLib.abstractGraph.AbstractVertexSet |
newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet,
boolean copyElements)
Constructs a new node set based on a node set. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VertexSetFactory()
Method Detail |
public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet()
newAbstractVertexSet
in interface AbstractVertexSetFactory
public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet)
NodeSet
is a subset of nodeSet
.
newAbstractVertexSet
in interface AbstractVertexSetFactory
nodeSet
- the node set used as base to the node set.
public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet, boolean copyElements)
copyElements
is true, the newly constructed NodeSet
is independant of nodeSet
but an isomorphism exists between the two sets. Otherwise it is a subset.
newAbstractVertexSet
in interface AbstractVertexSetFactory
nodeSet
- the node set used as base to the node set.copyElements
- a boolean indicating the behaviour of this copy constructor.
public mascoptLib.abstractGraph.AbstractVertex newAbstractVertex()
newAbstractVertex
in interface AbstractVertexSetFactory
public mascoptLib.abstractGraph.AbstractVertex newAbstractVertex(double x, double y)
newAbstractVertex
in interface AbstractVertexSetFactory
x
- the x positiony
- the y position
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |