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

All Superinterfaces:
Invariant, java.io.Serializable

public interface InvariantInt
extends Invariant

The invariants which return an int value must implement this interface.

For more info, see Invariant.

Author:
Vladimir Brankov

Method Summary
 int 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

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

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


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.