TypeVertex
- The type of values stored in the vertices. Must be a Comparable type.TypeEdge
- The type of values stored in the edges. Must be a Comparable type.public class GraphVIZSimpleUndirectedValuated<TypeVertex extends java.lang.Comparable<TypeVertex>,TypeEdge extends java.lang.Comparable<TypeEdge>> extends GraphSimpleUndirectedValuated<TypeVertex,TypeEdge> implements GraphVIZSimpleValuated<TypeVertex,TypeEdge>
Constructor and Description |
---|
GraphVIZSimpleUndirectedValuated(TypeEdge defaultValue,
Convertor<TypeVertex> vertexConvertor,
Convertor<TypeEdge> edgeConvertor)
Create a new VIZ compatible graph.
|
Modifier and Type | Method and Description |
---|---|
VIZ |
getVIZ()
Get the VIZ methods container.
|
clear, getDefaultValue, getEdges, getVertices, importFrom
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEdges
getDefaultValue, getVertices
clear, importFrom
public GraphVIZSimpleUndirectedValuated(TypeEdge defaultValue, Convertor<TypeVertex> vertexConvertor, Convertor<TypeEdge> edgeConvertor)
defaultValue
- The default value used for new edges.vertexConvertor
- An instance of Convertor able to convert TypeVertex type.edgeConvertor
- An instance of Convertor able to convert TypeEdge type.public final VIZ getVIZ()
GraphVIZ
getVIZ
in interface GraphVIZ<TypeVertex extends java.lang.Comparable<TypeVertex>>