| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| LPVectorLabel |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on 07.03.2008 | |
| 3 | * | |
| 4 | */ | |
| 5 | package net.sourceforge.combean.interfaces.mathprog.lp.model; | |
| 6 | ||
| 7 | import net.sourceforge.combean.interfaces.mathprog.linalg.VectorOrientation; | |
| 8 | ||
| 9 | ||
| 10 | /** | |
| 11 | * A label for entries of a sparse vector in a linear program. | |
| 12 | * | |
| 13 | * Contains an offset id which specifies the position of the entry in the global | |
| 14 | * linear program (together with the index of the entry (which is interpreted | |
| 15 | * as local index that has to be mapped to a global index in combination with | |
| 16 | * the offset id) and the orientation of the row or column vector where the | |
| 17 | * entry belongs to. | |
| 18 | * | |
| 19 | * @author schickin | |
| 20 | * | |
| 21 | */ | |
| 22 | public interface LPVectorLabel { | |
| 23 | ||
| 24 | /** | |
| 25 | * @return the offset id. | |
| 26 | */ | |
| 27 | public String getOffsetId(); | |
| 28 | ||
| 29 | /** | |
| 30 | * @return the orientation of the row or column vector where the entry | |
| 31 | * belongs to. | |
| 32 | */ | |
| 33 | public VectorOrientation getOrientation(); | |
| 34 | ||
| 35 | } |