|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.graphs.GraphFactory
The factory to produce Graphs.
Constructor Summary | |
GraphFactory()
|
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 chain)
Constructs a copy of a chain. |
mascoptLib.abstractGraph.AbstractEdge |
newAbstractEdge(mascoptLib.abstractGraph.AbstractVertex n0,
mascoptLib.abstractGraph.AbstractVertex n1)
Constructs an edge beetween two nodes. |
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 abstractNodeSet)
Constructs a new edge set which is as sub set of an other edge set and based on a node set. |
mascoptLib.abstractGraph.AbstractEdgeSet |
newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet)
Constructs a new edge set based on a node set. |
mascoptLib.abstractGraph.AbstractGraph |
newAbstractGraph(mascoptLib.abstractGraph.AbstractGraph graph)
Constructs a sub graph of a graph. |
mascoptLib.abstractGraph.AbstractGraph |
newAbstractGraph(mascoptLib.abstractGraph.AbstractVertexSet nodeSet,
mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new abstract Graph based on a node set and an edge set. |
mascoptLib.abstractGraph.AbstractPath |
newAbstractPath(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new chain based on a edge set. |
mascoptLib.abstractGraph.AbstractVertex |
newAbstractVertex()
Constructs a node. |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphFactory()
Method Detail |
public mascoptLib.abstractGraph.AbstractGraph newAbstractGraph(mascoptLib.abstractGraph.AbstractVertexSet nodeSet, mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
newAbstractGraph
in interface AbstractGraphFactory
nodeSet
- the node set of the new graphedgeSet
- the edge set of the new graphpublic mascoptLib.abstractGraph.AbstractGraph newAbstractGraph(mascoptLib.abstractGraph.AbstractGraph graph)
newAbstractGraph
in interface AbstractGraphFactory
graph
- the father graph of the graph to construct.public mascoptLib.abstractGraph.AbstractGraph newAbstractCopyGraph(mascoptLib.abstractGraph.AbstractGraph graph, boolean copyElements)
newAbstractCopyGraph
in interface AbstractGraphFactory
copyElements
- which indicates if the nodes and edges have to be
copied. If not, then only the set are duplicated.graph
- the graph to copy.public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet()
newAbstractVertexSet
in interface AbstractGraphFactory
public mascoptLib.abstractGraph.AbstractVertexSet newAbstractVertexSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet)
newAbstractVertexSet
in interface AbstractGraphFactory
nodeSet
- the node set used as base to the node set.
public mascoptLib.abstractGraph.AbstractVertex newAbstractVertex()
newAbstractVertex
in interface AbstractGraphFactory
public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractVertexSet nodeSet)
newAbstractEdgeSet
in interface AbstractGraphFactory
nodeSet
- the node set used as base to the edge set.
public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
newAbstractEdgeSet
in interface AbstractGraphFactory
edgeSet
- the edge set used as base to the edge set.
public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet es, mascoptLib.abstractGraph.AbstractVertexSet abstractNodeSet)
newAbstractEdgeSet
in interface AbstractGraphFactory
es
- the father edge set.abstractNodeSet
- the base of nodes of the new edge set.
public mascoptLib.abstractGraph.AbstractEdge newAbstractEdge(mascoptLib.abstractGraph.AbstractVertex n0, mascoptLib.abstractGraph.AbstractVertex n1)
newAbstractEdge
in interface AbstractGraphFactory
n0
- the first node.n1
- the second node.
public mascoptLib.abstractGraph.AbstractPath newAbstractPath(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
newAbstractPath
in interface AbstractGraphFactory
edgeSet
- the base of the chain
public mascoptLib.abstractGraph.AbstractPath newAbstractCopyPath(mascoptLib.abstractGraph.AbstractPath chain)
newAbstractCopyPath
in interface AbstractGraphFactory
chain
- the chain to copy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |