public class AlgoDiameter extends OperationGroup implements OperationDescFile
Modifier and Type | Class and Description |
---|---|
class |
AlgoDiameter.GetAlgoDiameter |
class |
AlgoDiameter.GetApproxDiameter |
class |
AlgoDiameter.GetMaxApproxComponentDiameter |
class |
AlgoDiameter.GetMaxComponentDiameter |
ALGODIR, CMDSDIR, GROPDIR
Constructor and Description |
---|
AlgoDiameter() |
Modifier and Type | Method and Description |
---|---|
<VertexType,EdgeType> |
approxDiameter(GraphLibrary<VertexType,EdgeType> graph,
Progress progress) |
<VertexType,EdgeType> |
bfs(VertexType node,
GraphLibrary<VertexType,EdgeType> graph) |
<VertexType,EdgeType> |
bfsDistance(VertexType node,
GraphLibrary<VertexType,EdgeType> graph) |
<VertexType,EdgeType> |
bfsDistanceComponents(VertexType node,
GraphLibrary<VertexType,EdgeType> graph,
java.util.ArrayList<VertexType> al) |
<VertexType,EdgeType> |
calculable(GraphLibrary<VertexType,EdgeType> graph) |
<VertexType,EdgeType> |
createAdjMatrix(GraphLibrary<VertexType,EdgeType> graph) |
<VertexType,EdgeType> |
createAdjMatrix(GraphLibrary<VertexType,EdgeType> graph,
java.util.ArrayList<VertexType> al) |
<VertexType,EdgeType> |
diameterBFS(GraphLibrary<VertexType,EdgeType> graph) |
<VertexType,EdgeType> |
floydWarshall(double[] adjMatrix,
GraphLibrary<VertexType,EdgeType> graph,
Progress progress) |
java.lang.String |
getDescriptionFilename()
Returns the filename of the description file containing a help entry for the operation.
|
<VertexType,EdgeType> |
getDiameter(GraphLibrary<VertexType,EdgeType> graph,
double[] m) |
<VertexType,EdgeType> |
getDistanceMatrix(GraphLibrary<VertexType,EdgeType> graph,
Progress progress) |
<VertexType,EdgeType> |
getFloydDiameter(GraphLibrary<VertexType,EdgeType> graph,
Progress progress) |
<VertexType,EdgeType> |
getMaxApproxComponentDiameter(GraphLibrary<VertexType,EdgeType> graph,
Progress progress) |
<VertexType,EdgeType> |
getMaxComponentDiameter(GraphLibrary<VertexType,EdgeType> graph,
Progress progress) |
Operation[] |
getOperations()
Returns instances of all operations of the group.
|
public <VertexType,EdgeType> double[] createAdjMatrix(GraphLibrary<VertexType,EdgeType> graph)
public <VertexType,EdgeType> double[] createAdjMatrix(GraphLibrary<VertexType,EdgeType> graph, java.util.ArrayList<VertexType> al)
public <VertexType,EdgeType> double[] floydWarshall(double[] adjMatrix, GraphLibrary<VertexType,EdgeType> graph, Progress progress)
public <VertexType,EdgeType> double approxDiameter(GraphLibrary<VertexType,EdgeType> graph, Progress progress)
public <VertexType,EdgeType> double getDiameter(GraphLibrary<VertexType,EdgeType> graph, double[] m)
public <VertexType,EdgeType> double getFloydDiameter(GraphLibrary<VertexType,EdgeType> graph, Progress progress)
public <VertexType,EdgeType> double[] getDistanceMatrix(GraphLibrary<VertexType,EdgeType> graph, Progress progress)
public <VertexType,EdgeType> double getMaxComponentDiameter(GraphLibrary<VertexType,EdgeType> graph, Progress progress)
public <VertexType,EdgeType> double getMaxApproxComponentDiameter(GraphLibrary<VertexType,EdgeType> graph, Progress progress)
public <VertexType,EdgeType> java.util.ArrayList<VertexType> bfs(VertexType node, GraphLibrary<VertexType,EdgeType> graph)
public <VertexType,EdgeType> double bfsDistance(VertexType node, GraphLibrary<VertexType,EdgeType> graph)
public <VertexType,EdgeType> double bfsDistanceComponents(VertexType node, GraphLibrary<VertexType,EdgeType> graph, java.util.ArrayList<VertexType> al)
public <VertexType,EdgeType> double diameterBFS(GraphLibrary<VertexType,EdgeType> graph)
public <VertexType,EdgeType> boolean calculable(GraphLibrary<VertexType,EdgeType> graph)
public Operation[] getOperations()
OperationGroup
getOperations
in class OperationGroup
public java.lang.String getDescriptionFilename()
OperationDescFile
getDescriptionFilename
in interface OperationDescFile