package edu.neu.ccs.satsolver; public class Output implements OutputI { /* Private members to hold the values * that will be computed for the * resulting maxBias */ private Polynomial pResult; private double mBias; public Output() {}; public Output( double maxBias, Polynomial p) { pResult = p; mBias = maxBias; } /* These are the functions required by * the interface contract of the project * double getMaxBias(); * PolynomialI getPolynomial(); */ public double getMaxBias() { return mBias; } public PolynomialI getPolynomial() { return pResult; } /* These are setter functions for when calculations * are completed and an Output Object needs to be * created to return to the CSU teams */ public void setMaxBias(double value) { this.mBias = value; } public void setPolynomial(Polynomial p) { this.pResult = p; } }