public class QuadraticTerm extends Object implements Serializable, Cloneable, Term
Constructor and Description |
---|
QuadraticTerm(double coefficient,
Variable varA,
Variable varB) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
double |
getCoefficient() |
String |
getVarNameA() |
String |
getVarNameB() |
int |
hashCode() |
String |
toString() |
QuadraticTerm |
typedClone() |
public double getCoefficient()
getCoefficient
in interface Term
public String getVarNameA()
public String getVarNameB()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public QuadraticTerm typedClone()
Copyright © 2017. All rights reserved.