annas.graph
Interface WeightedInterface

All Known Implementing Classes:
DefaultWeight

public interface WeightedInterface

Represents a weight function

Author:
Sam Wilson

Field Summary
static java.lang.Double DEFAULT_ARC_WEIGHT
          Default weight of an arc
 
Method Summary
 java.lang.Double evaluate()
          Used to evaluate the weight function
 

Field Detail

DEFAULT_ARC_WEIGHT

static final java.lang.Double DEFAULT_ARC_WEIGHT
Default weight of an arc

Method Detail

evaluate

java.lang.Double evaluate()
Used to evaluate the weight function

Returns:
the result from evaluating the weight function