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

All Superinterfaces:
Invariant, java.io.Serializable

public interface InvariantString
extends Invariant

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

For more info, see Invariant.

Author:
Vladimir Brankov

Method Summary
 java.lang.String 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

java.lang.String calculate(GraphData data)
Calculates the value of the invariant.

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


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.