org.simulator.sedml
Class MultTableSEDMLWrapper
java.lang.Object
org.simulator.sedml.MultTableSEDMLWrapper
- All Implemented Interfaces:
- org.jlibsedml.execution.IProcessedSedMLSimulationResults, org.jlibsedml.execution.IRawSedmlSimulationResults
public class MultTableSEDMLWrapper
- extends Object
- implements org.jlibsedml.execution.IRawSedmlSimulationResults
This class adapts the native results to an interface that the
SED-ML processor can use
to post-process results.
This class can be used to access the raw results via the getMultiTable()
method.
All methods accessing data access the underlying MultiTable
object.
Changes to a MultiTable
object will therefore be visible to this class,
i.e., it does not make a separate copy of the data.
- Since:
- 1.1
- Version:
- $Rev: 454 $
- Author:
- Richard Adams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultTableSEDMLWrapper
public MultTableSEDMLWrapper(MultiTable mTable)
- Parameters:
mTable
-
getMultiTable
public MultiTable getMultiTable()
- Gets the underlying
MultiTable
wrapped by this class.
- Returns:
- table
getColumnHeaders
public String[] getColumnHeaders()
- Specified by:
getColumnHeaders
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getData
public double[][] getData()
- Specified by:
getData
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getDataByColumnId
public Double[] getDataByColumnId(String id)
- Specified by:
getDataByColumnId
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getDataByColumnIndex
public Double[] getDataByColumnIndex(int indx)
- Specified by:
getDataByColumnIndex
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getIndexByColumnID
public int getIndexByColumnID(String colID)
- Specified by:
getIndexByColumnID
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getNumColumns
public int getNumColumns()
- Specified by:
getNumColumns
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getNumDataRows
public int getNumDataRows()
- Specified by:
getNumDataRows
in interface org.jlibsedml.execution.IProcessedSedMLSimulationResults
getMappings
public org.jlibsedml.execution.IModel2DataMappings getMappings()
- Specified by:
getMappings
in interface org.jlibsedml.execution.IRawSedmlSimulationResults