Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.phoenixst.plexus
Interface Weight  view Weight download Weight.java


public interface Weight

A weight function, which may be applied to Graph.Edges.

Since:
1.0
Version:
$Revision: 1.3 $

Method Summary
 double getWeight(Graph.Edge edge)
          Gets the weight of the specified edge.
 void setWeight(Graph.Edge edge, double weight)
          Sets the weight of the specified edge (optional operation).
 

Method Detail

getWeight

public double getWeight(Graph.Edge edge)
Gets the weight of the specified edge.


setWeight

public void setWeight(Graph.Edge edge,
                      double weight)
Sets the weight of the specified edge (optional operation).