edu.neu.ccs.satsolver
Interface PolynomialI


public interface PolynomialI

The PolynomialI interface manages a polynomial.

Example: 4.3x^2 is a polynomial where 4.3 is the coefficient constant and the degree is 2.


Method Summary
 double getCoefficient(int degree)
          Return the coefficient constant used in the polynomial for the degree specified.
 

Method Detail

getCoefficient

double getCoefficient(int degree)
Return the coefficient constant used in the polynomial for the degree specified.

The valid request values are 0 <= degree <= 3.

Parameters:
degree - Coefficient constant degree to return
Returns:
Coefficient constant