|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.graphs.VertexSetFactory
SubSet description : ;
Constructor Summary | |
VertexSetFactory()
|
Method Summary | |
AbstractVertex |
newAbstractVertex()
Default node constructor. |
AbstractVertex |
newAbstractVertex(double x,
double y)
Constructs a node with coordinates. |
AbstractVertexSet |
newAbstractVertexSet()
Default node set constructor. |
AbstractVertexSet |
newAbstractVertexSet(AbstractVertexSet nodeSet)
Constructs a new node set based on a node set. |
AbstractVertexSet |
newAbstractVertexSet(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 AbstractVertexSet newAbstractVertexSet()
newAbstractVertexSet
in interface AbstractVertexSetFactory
public AbstractVertexSet newAbstractVertexSet(AbstractVertexSet nodeSet)
NodeSet
is a subset of nodeSet
.
newAbstractVertexSet
in interface AbstractVertexSetFactory
nodeSet
- the node set used as base to the node set.
public AbstractVertexSet newAbstractVertexSet(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 AbstractVertex newAbstractVertex()
newAbstractVertex
in interface AbstractVertexSetFactory
public 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 |