edu.stanford.math.plex4.graph.metric
public interface GraphMetricFactory
Modifier and Type | Method and Description |
---|---|
AbstractIntMetricSpace |
createMetricSpace(AbstractUndirectedGraph graph)
This function produces a finite metric space on the vertex set of a given graph.
|
AbstractIntMetricSpace createMetricSpace(AbstractUndirectedGraph graph)
graph
- the graph whose vertex set forms the point set of the metric space