net.walend.measured
Interface PathMeter

All Superinterfaces:
CEPathMeter
All Known Implementing Classes:
SimplePathMeter

Deprecated. Use CEPathMeter.

public interface PathMeter
extends CEPathMeter

PathMeters measure the cost to enter and leave nodes and cross edges. These are most often used by other algorithms to find the cost of travelling a specific CEPath. Write one of these and feed it to the algorithm with the path or directed graph.

For GEDigraphs and GEPaths, the costToCross method will receive the GENERICEDGE object.

If a method receives an argument that it can not evaluate, throw an IllegalArgumentException. If your PathMeter really only works with doubles and converting to an int makes no sense, throw an UnsupportedOperationException where the method returns an int. Else, describe what rounding rules you are using.

Author:
David Walend dfw1@cornell.edu

Field Summary
 
Fields inherited from interface net.walend.measured.CEPathMeter
GENERICEDGE
 
Methods inherited from interface net.walend.measured.CEPathMeter
costToCross, intCostToCross, negativeWeightEdges
 



Copyright (c) 2001, 2002, David Walend