de.aitools.aq.graph
Interface Graph

All Known Implementing Classes:
UndirectedGraph

public interface Graph

Version:
$Id: Graph.java,v 1.1 2011/02/15 10:09:19 hoppe Exp $
Author:
tim.gollub@uni-weimar.de

Method Summary
 Vector getAdjacentNodes(int nodeId)
           
 int getEdgeCount()
           
 double getEdgeWeight(int fromNodeId, int toNodeId)
           
 double getMass()
           
 double getMass(int[] nodeIds)
           
 int getNodeCount()
           
 void setEdge(int fromNodeId, int toNodeId, double weight)
           
 

Method Detail

getAdjacentNodes

Vector getAdjacentNodes(int nodeId)

getNodeCount

int getNodeCount()

setEdge

void setEdge(int fromNodeId,
             int toNodeId,
             double weight)

getEdgeWeight

double getEdgeWeight(int fromNodeId,
                     int toNodeId)

getEdgeCount

int getEdgeCount()

getMass

double getMass()

getMass

double getMass(int[] nodeIds)