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