public class FBAExample extends Object
-Djava.library.path=/path/to/the/binaries/of/CPLEX/. Note that this project does not
redistribute CPLEX.| Constructor and Description |
|---|
FBAExample(File file) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Simple test function that reads and solves an SBML file in a flux balance constraints
framework.
|
void |
solve(File file) |
public FBAExample(File file) throws org.sbml.jsbml.SBMLException, org.sbml.jsbml.validator.ModelOverdeterminedException, XMLStreamException, IOException
file - can be a file or a directory.org.sbml.jsbml.SBMLException - if the model is invalid or inappropriate for flux balance
analysis.XMLStreamException - if the file cannot be parsed into an SBMLDocument.IOException - if the given path is invalid or cannot be readorg.sbml.jsbml.validator.ModelOverdeterminedException - if the model is over determined through AlgebraicRules.org.sbml.jsbml.SBMLException - if the model is invalid or inappropriate for flux balance
analysis.public void solve(File file) throws org.sbml.jsbml.SBMLException, org.sbml.jsbml.validator.ModelOverdeterminedException, XMLStreamException, IOException
file - can be a file or a directory. In the latter case, the directory will be recursively
queried.org.sbml.jsbml.SBMLException - if the model is invalid or inappropriate for flux balance
analysis.XMLStreamException - if the file cannot be parsed into an SBMLDocument.IOException - if the given path is invalid or cannot be readorg.sbml.jsbml.validator.ModelOverdeterminedException - if the model is over determined through AlgebraicRules.org.sbml.jsbml.SBMLException - if the model is invalid or inappropriate for flux balance
analysis.public static void main(String[] args) throws FileNotFoundException
args - the path to a valid SBML file with fbc version 2.FileNotFoundExceptionCopyright © 2007–2021. All rights reserved.