|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.fba.RxnNameExprFormatV1
public final class RxnNameExprFormatV1
This class is used to format linear combinations of reaction names.
Constructor Summary | |
---|---|
RxnNameExprFormatV1(Fluxome fluxome)
Constructs a new reaction name expression format using the provided fluxome. |
|
RxnNameExprFormatV1(Fluxome fluxome,
double coeffCutoff)
Constructs a new reaction name expression format using the provided fluxome. |
Method Summary | |
---|---|
java.lang.String |
format(LinearComb<java.lang.String> rxnNameExpr)
Returns a formatted string representation of the provided linear combination of reaction names. |
Fluxome |
getFluxome()
Returns the fluxome used to verify reaction names. |
LinearCombFormatV1<java.lang.String> |
getLinerCombFormat()
Returns the format used for linear combination. |
RxnNameVerifier |
getRxnNameChecker()
Returns the reaction name verifier. |
LinearComb<java.lang.String> |
parse(java.lang.String rxnNameExpr)
Parses the provided string and returns its corresponding linear combination of reaction names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface sbrt.shell.text.Formatter |
---|
format |
Constructor Detail |
---|
public RxnNameExprFormatV1(Fluxome fluxome)
fluxome
- public RxnNameExprFormatV1(Fluxome fluxome, double coeffCutoff)
fluxome
- coeffCutoff
- the smallest value that the absolute value of a coefficient
can attain.LinearComb.getZeroCutoff()
Method Detail |
---|
public Fluxome getFluxome()
getFluxome
in interface RxnNameExprFormat<LinearComb<java.lang.String>,java.lang.String>
public RxnNameVerifier getRxnNameChecker()
public LinearCombFormatV1<java.lang.String> getLinerCombFormat()
public java.lang.String format(LinearComb<java.lang.String> rxnNameExpr)
rxnNameExpr
- the linear combination to be formatted.
public LinearComb<java.lang.String> parse(java.lang.String rxnNameExpr)
parse
in interface Parser<LinearComb<java.lang.String>>
rxnNameExpr
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |