|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uci.ics.jung.utils.TypedVertexGenerator
Generates vertices according to the edge requirements submitted to the constructor. This implementation respects edge direction (directed, undirected, mixed) as well as edge multiplicity (parallel edges). See the constructor for a list of the vertex types.
| Constructor Summary | |
TypedVertexGenerator(java.util.Collection edge_requirements)
Determines the type of vertices that this generator will create, according to the edge requirements specified in the constructor: undirected, no parallel edges - creates @link{SimpleUndirectedSparseVertex} directed, no parallel edges - creates @link{SimpleDirectedSparseVertex} mixed (directed and undirected), no parallel edges - creates @link{SimpleSparseVertex} undirected, parallel edges allowed - creates @link{UndirectedSparseVertex} directed, parallel edges allowed - creates @link{DirectedSparseVertex} mixed, parallel edges allowed - creates @link{SparseVertex} |
|
| Method Summary | |
Vertex |
create()
Creates a vertex whose type is determined by the requirements specified in the constructor. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TypedVertexGenerator(java.util.Collection edge_requirements)
| Method Detail |
public Vertex create()
create in interface VertexGeneratorVertexGenerator.create()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||