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

All Superinterfaces:
Invariant, java.io.Serializable

public interface InvariantVertex
extends Invariant

The invariants which return a graph vertex as its value must implement this interface.

For more info, see Invariant.

Author:
Vladimir Brankov

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

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

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


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.