|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectmascoptLib.graphs.DiGraphFactory
The factory to produce digraphs.
| Constructor Summary | |
DiGraphFactory()
|
|
| Method Summary | |
AbstractGraph |
newAbstractCopyGraph(AbstractGraph graph,
boolean copyElements)
Constructs a copy of a graph. |
AbstractPath |
newAbstractCopyPath(AbstractPath chain)
Constructs a copy of a chain. |
AbstractEdge |
newAbstractEdge(AbstractVertex n0,
AbstractVertex n1)
Constructs an edge beetween two nodes. |
AbstractEdgeSet |
newAbstractEdgeSet(AbstractEdgeSet edgeSet)
Constructs a new edge set which is a sub set of an other edge set. |
AbstractEdgeSet |
newAbstractEdgeSet(AbstractEdgeSet es,
AbstractVertexSet abstractNodeSet)
Constructs a new edge set which is as sub set of an other edge set and based on a node set. |
AbstractEdgeSet |
newAbstractEdgeSet(AbstractVertexSet nodeSet)
Constructs a new edge set based on a node set. |
AbstractGraph |
newAbstractGraph(AbstractGraph graph)
Constructs a sub graph of a graph. |
AbstractGraph |
newAbstractGraph(AbstractVertexSet nodeSet,
AbstractEdgeSet edgeSet)
Constructs a new abstract Graph based on a node set and an edge set. |
AbstractPath |
newAbstractPath(AbstractEdgeSet edgeSet)
Constructs a new chain based on a edge set. |
AbstractVertex |
newAbstractVertex()
Constructs a node. |
AbstractVertexSet |
newAbstractVertexSet()
Default node set constructor. |
AbstractVertexSet |
newAbstractVertexSet(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 DiGraphFactory()
| Method Detail |
public AbstractGraph newAbstractGraph(AbstractVertexSet nodeSet,
AbstractEdgeSet edgeSet)
newAbstractGraph in interface AbstractGraphFactorynodeSet - the node set of the new graphedgeSet - the edge set of the new graphpublic AbstractGraph newAbstractGraph(AbstractGraph graph)
newAbstractGraph in interface AbstractGraphFactorygraph - the father graph of the graph to construct.
public AbstractGraph newAbstractCopyGraph(AbstractGraph graph,
boolean copyElements)
newAbstractCopyGraph in interface AbstractGraphFactorycopyElements - 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 AbstractVertexSet newAbstractVertexSet()
newAbstractVertexSet in interface AbstractGraphFactorypublic AbstractVertexSet newAbstractVertexSet(AbstractVertexSet nodeSet)
newAbstractVertexSet in interface AbstractGraphFactorynodeSet - the node set used as base to the node set.
public AbstractVertex newAbstractVertex()
newAbstractVertex in interface AbstractGraphFactorypublic AbstractEdgeSet newAbstractEdgeSet(AbstractVertexSet nodeSet)
newAbstractEdgeSet in interface AbstractGraphFactorynodeSet - the node set used as base to the edge set.
public AbstractEdgeSet newAbstractEdgeSet(AbstractEdgeSet edgeSet)
newAbstractEdgeSet in interface AbstractGraphFactoryedgeSet - the edge set used as base to the edge set.
public AbstractEdgeSet newAbstractEdgeSet(AbstractEdgeSet es,
AbstractVertexSet abstractNodeSet)
newAbstractEdgeSet in interface AbstractGraphFactoryes - the father edge set.abstractNodeSet - the base of nodes of the new edge set.
public AbstractEdge newAbstractEdge(AbstractVertex n0,
AbstractVertex n1)
newAbstractEdge in interface AbstractGraphFactoryn0 - the first node.n1 - the second node.
public AbstractPath newAbstractPath(AbstractEdgeSet edgeSet)
newAbstractPath in interface AbstractGraphFactoryedgeSet - the base of the chain
public AbstractPath newAbstractCopyPath(AbstractPath chain)
newAbstractCopyPath in interface AbstractGraphFactorychain - the chain to copy.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||