|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Equation
This is the interface all classes that support equations need to implement.
| Method Summary | |
|---|---|
double |
getCoefficient(Variable v)
Gets the coefficient of the variable specified in the parameter. |
double |
getRightHandSide()
The right hand side of this equation, when all variables are on the left. |
List<Variable> |
getVariables()
Returns a list of all the variables used in this equation. |
| Method Detail |
|---|
double getCoefficient(Variable v)
v - the variable to get the coefficient ofdouble getRightHandSide()
List<Variable> getVariables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||