scg.ac.ni.pmf.newgraph.invariants
Interface InvariantDouble

All Superinterfaces:
Invariant, java.io.Serializable

public interface InvariantDouble
extends Invariant

The invariants which return a double value must implement this interface.

For more info, see Invariant.

Author:
Vladimir Brankov

Method Summary
 double calculate(GraphData data)
          Calculates the value of the invariant.
 
Methods inherited from interface scg.ac.ni.pmf.newgraph.invariants.Invariant
getDescription, getName
 

Method Detail

calculate

double calculate(GraphData data)
Calculates the value of the invariant.

Parameters:
data - The graph data.
Returns:
The value.


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.