|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The factory building Graphs.
Method Summary | |
mascoptLib.abstractGraph.AbstractGraph |
newAbstractCopyGraph(mascoptLib.abstractGraph.AbstractGraph graph,
boolean copyElements)
Constructs a copy of a graph. |
mascoptLib.abstractGraph.AbstractPath |
newAbstractCopyPath(mascoptLib.abstractGraph.AbstractPath path)
Constructs a copy of a path. |
mascoptLib.abstractGraph.AbstractEdge |
newAbstractEdge(mascoptLib.abstractGraph.AbstractVertex x,
mascoptLib.abstractGraph.AbstractVertex y)
Constructs an edge beetween two vertices. |
mascoptLib.abstractGraph.AbstractEdgeSet |
newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new edge set which is a sub set of an other edge set. |
mascoptLib.abstractGraph.AbstractEdgeSet |
newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet es,
mascoptLib.abstractGraph.AbstractVertexSet abstractVertexSet)
Constructs a new edge set which is as sub set of an other edge set and based on a vertex set. |
mascoptLib.abstractGraph.AbstractEdgeSet |
newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractVertexSet vertexSet)
Constructs a new edge set based on a vertex set. |
mascoptLib.abstractGraph.AbstractGraph |
newAbstractGraph(mascoptLib.abstractGraph.AbstractGraph graph)
Constructs a sub graph of a graph. |
mascoptLib.abstractGraph.AbstractGraph |
newAbstractGraph(mascoptLib.abstractGraph.AbstractVertexSet vertexSet,
mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new abstract Graph based on a vertex set and an edge set. |
mascoptLib.abstractGraph.AbstractPath |
newAbstractPath(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new path based on a edge set. |
mascoptLib.abstractGraph.AbstractVertex |
newAbstractVertex()
Constructs a vertex. |
mascoptLib.abstractGraph.AbstractVertexSet |
newAbstractVertexSet()
Default vertex set constructor. |
mascoptLib.abstractGraph.AbstractVertexSet |
newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet vertexSet)
Constructs a new vertex set based on a vertex set. |
Method Detail |
public mascoptLib.abstractGraph.AbstractGraph newAbstractGraph(mascoptLib.abstractGraph.AbstractVertexSet vertexSet, mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
vertexSet
- the vertex set of the new graphedgeSet
- the edge set of the new graphpublic mascoptLib.abstractGraph.AbstractGraph newAbstractGraph(mascoptLib.abstractGraph.AbstractGraph graph)
graph
- the father graph of the graph to construct.public mascoptLib.abstractGraph.AbstractGraph newAbstractCopyGraph(mascoptLib.abstractGraph.AbstractGraph graph, boolean copyElements)
copyElements
- which indicates if the vertices and edges have to be
copied. If not, then only the set are duplicated.graph
- the graph to copy.public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet()
public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet vertexSet)
vertexSet
- the vertex set used as base to the vertex set.
public mascoptLib.abstractGraph.AbstractVertex newAbstractVertex()
public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractVertexSet vertexSet)
vertexSet
- the vertex set used as base to the edge set.
public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
edgeSet
- the edge set used as base to the edge set.
public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet es, mascoptLib.abstractGraph.AbstractVertexSet abstractVertexSet)
es
- the father edge set.abstractVertexSet
- the base of vertices of the new edge set.
public mascoptLib.abstractGraph.AbstractEdge newAbstractEdge(mascoptLib.abstractGraph.AbstractVertex x, mascoptLib.abstractGraph.AbstractVertex y)
x
- the first vertex.y
- the second vertex.
public mascoptLib.abstractGraph.AbstractPath newAbstractPath(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
edgeSet
- the base of the path
public mascoptLib.abstractGraph.AbstractPath newAbstractCopyPath(mascoptLib.abstractGraph.AbstractPath path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |