net.sourceforge.combean.mathprog.lp.model
Class LPVectorLabelImpl
java.lang.Object
net.sourceforge.combean.mathprog.lp.model.LPVectorLabelImpl
- All Implemented Interfaces:
- LPVectorLabel
public class LPVectorLabelImpl
- extends Object
- implements LPVectorLabel
LPVectorLabelImpl
public LPVectorLabelImpl(String offsetId,
VectorOrientation orientation)
- Parameters:
offsetId
- orientation
-
getOffsetId
public String getOffsetId()
- Specified by:
getOffsetId
in interface LPVectorLabel
- Returns:
- the offset id.
getOrientation
public VectorOrientation getOrientation()
- Specified by:
getOrientation
in interface LPVectorLabel
- Returns:
- the orientation of the row or column vector where the entry
belongs to.
toString
public String toString()
- Overrides:
toString
in class Object