net.sourceforge.combean.interfaces.mathprog.lp.model
Interface LPModelComponent

Package class diagram package LPModelComponent
All Superinterfaces:
AbstractMatrix
All Known Subinterfaces:
LPModelColumns, LPModelMatrix, LPModelRows
All Known Implementing Classes:
AbstractLPModelComponent, AbstractSimpleIndexLPConstrainedRows, AbstractSimpleIndexLPConstrainedRowsWithVars, AbstractSimpleIndexLPModelComponent, ConcatenatedLPModelColumns, ConcatenatedLPModelRows, GraphAsLPModelColumns, MatrixAsLPModelMatrix, MatrixToRoundAsLP

public interface LPModelComponent
extends AbstractMatrix

The base class for a (matrix-like) component of a linear programming model. Entries in a model component have both a local row and column index and an offset id for their row and column. These offset ids are used for constructing a mapping of pairs (local index, offset id) -> global index within the complete linear program.


Method Summary
 Iterator getColumnOffsetIds()
          Get an iterator through all column offset ids used by the component.
 VectorOrientation getOrientation()
          Get the orientation how the component shall be inserted into the global model (either row-by-row or column-by-column).
 Iterator getRowOffsetIds()
          Get an iterator through all row offset ids used by the component.
 
Methods inherited from interface net.sourceforge.combean.interfaces.mathprog.linalg.AbstractMatrix
getNumColumns, getNumRows
 

Method Detail

getRowOffsetIds

Iterator getRowOffsetIds()
Get an iterator through all row offset ids used by the component.

Returns:
an iterator through all row offset ids used by the component.

getColumnOffsetIds

Iterator getColumnOffsetIds()
Get an iterator through all column offset ids used by the component.

Returns:
an iterator through all column offset ids used by the component.

getOrientation

VectorOrientation getOrientation()
Get the orientation how the component shall be inserted into the global model (either row-by-row or column-by-column).

Returns:
the orientation for inserting the component into the global model