de.aitools.iv.graphdrawing.datastructures.graph
Interface WeightedGraph
- All Superinterfaces:
- java.lang.Cloneable, java.io.Serializable
public interface WeightedGraph
- extends java.io.Serializable, java.lang.Cloneable
clone
java.lang.Object clone()
addNode
int addNode()
containsNode
boolean containsNode(int nodeId)
getNodes
int[] getNodes()
getAdjacentNodes
int[] getAdjacentNodes(int nodeId)
removeNode
void removeNode(int nodeId)
getNodeCount
int getNodeCount()
setEdge
void setEdge(int fromNodeId,
int toNodeId,
double weight)
containsEdge
boolean containsEdge(int fromNodeId,
int toNodeId)
getEdgeWeight
double getEdgeWeight(int fromNodeId,
int toNodeId)
removeEdge
void removeEdge(int fromNodeId,
int toNodeId)
getEdgeCount
int getEdgeCount()
getMass
double getMass()
getMass
double getMass(int[] nodeIds)
compute
java.lang.Object compute(GraphProcedure proc)