Function
Class Function

java.lang.Object
  extended by Function.Function
Direct Known Subclasses:
DirectProdFunction, FiniteAbelianFunction

public abstract class Function
extends java.lang.Object

This abstract class is used for describing functions over G -> C where G is Z_N1 x ... x Z_Nk or alternatively G is a finite Abelian group described by (gj,Nj) j=1,...,k. The SFT class uses a Function object for query access to the investigated function.

Author:
Elizabeth Firman and Ariel Stolerman

Constructor Summary
Function()
          Constructs a Function object over G -> C for the given parameter G.
 
Method Summary
abstract  double calcEuclideanNorm()
          Returns the Euclidean norm of this function over G.
abstract  double calcInfinityNorm()
          Returns the infinity norm of this function over G.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function()
         throws FunctionException
Constructs a Function object over G -> C for the given parameter G.

Throws:
FunctionException
Method Detail

calcInfinityNorm

public abstract double calcInfinityNorm()
Returns the infinity norm of this function over G.

Returns:
The infinity norm of this function over G.

calcEuclideanNorm

public abstract double calcEuclideanNorm()
Returns the Euclidean norm of this function over G.

Returns:
The infinity norm of this function over G.