edu.harvard.econcs.jopt.solver.mip
Class Term

java.lang.Object
  extended by edu.harvard.econcs.jopt.solver.mip.Term
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Term
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Constructor Summary
Term(Variable var, double coefficient)
           
 
Method Summary
 double getCoefficient()
           
 java.lang.String getVarName()
           
 java.lang.String toString()
           
 Term typedClone()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Term

public Term(Variable var,
            double coefficient)
Method Detail

getCoefficient

public double getCoefficient()
Returns:
Returns the coefficient.

getVarName

public java.lang.String getVarName()
Returns:
Returns the varIndex.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

typedClone

public Term typedClone()