public class ArraysMath
extends java.lang.Object
| Constructor | Description |
|---|---|
ArraysMath() |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
checkVectorAssignment(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer) |
|
static boolean |
checkVectorMath(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer) |
|
static boolean |
evaluateBounds(java.util.Map<java.lang.String,java.lang.Double> dimensionSizes,
org.sbml.jsbml.ASTNode math,
double size) |
Checks if the math does not evaluate to a negative number or to a value greater or
equal to a given size value.
|
static boolean |
evaluateIndexBounds(org.sbml.jsbml.Model model,
Index index) |
Checks if the index math does not go out of bounds.
|
static boolean |
evaluateIndexBounds(org.sbml.jsbml.Model model,
org.sbml.jsbml.SBase reference,
int arrayDim,
org.sbml.jsbml.ASTNode math,
java.util.Map<java.lang.String,java.lang.Double> dimSizes) |
Checks if adding an
Index object to a parent
SBase object for referencing another SBase object does not
cause out-of-bounds issues. |
static boolean |
evaluateIndexBounds(org.sbml.jsbml.Model model,
org.sbml.jsbml.SBase parent,
java.lang.String refAttribute,
org.sbml.jsbml.ASTNode math,
int arrayDim) |
Checks if adding an
Index object to a parent
SBase object for referencing another SBase object does not
cause out-of-bounds issues. |
static boolean |
evaluateSelectorBounds(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer) |
Checks if the arguments of a selector function does not go out of bounds.
|
static java.util.Map<java.lang.String,java.lang.Double> |
getDimensionSizes(org.sbml.jsbml.Model model,
ArraysSBasePlugin arraysSBasePlugin) |
Maps a dimension id to the size of the dimension object.
|
static java.util.Map<java.lang.String,java.lang.Double> |
getLowerBound(java.util.Map<java.lang.String,java.lang.Double> dimSizes) |
Returns the lower bound index from a collection of Dimension objects.
|
static int |
getSize(org.sbml.jsbml.Model model,
Dimension dimension) |
Gets the size of a Dimension object.
|
static java.util.Map<java.lang.String,java.lang.Double> |
getUpperBound(java.util.Map<java.lang.String,java.lang.Double> dimSizes) |
Returns the upper bound index from a collection of Dimension objects.
|
static java.util.Map<java.lang.Integer,java.lang.Integer> |
getVectorDimensionSizes(org.sbml.jsbml.Model model,
org.sbml.jsbml.ASTNode math) |
Returns a map containing a pair of array depth level and its size.
|
static boolean |
isStaticallyComputable(org.sbml.jsbml.Model model,
org.sbml.jsbml.ASTNode math,
java.lang.String... constantIds) |
Determines whether a
MathContainer object is
statically computable given a list of ids that can appear in the math. |
static boolean |
isStaticallyComputable(org.sbml.jsbml.Model model,
Index index) |
Determines whether a
MathContainer object is statically computable. |
static boolean |
isStaticallyComputable(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer) |
Determines whether a
MathContainer object is statically computable. |
static boolean |
isStaticallyComputable(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer,
java.lang.String... constantIds) |
Determines whether a
MathContainer object is statically computable given
a list of ids that can appear in the math. |
static boolean |
isVectorBalanced(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer) |
|
static boolean |
isVectorOperation(org.sbml.jsbml.ASTNode math) |
public static boolean evaluateBounds(java.util.Map<java.lang.String,java.lang.Double> dimensionSizes,
org.sbml.jsbml.ASTNode math,
double size)
dimensionSizes - math - size - public static boolean evaluateIndexBounds(org.sbml.jsbml.Model model,
Index index)
model - index - public static boolean evaluateIndexBounds(org.sbml.jsbml.Model model,
org.sbml.jsbml.SBase reference,
int arrayDim,
org.sbml.jsbml.ASTNode math,
java.util.Map<java.lang.String,java.lang.Double> dimSizes)
Index object to a parent
SBase object for referencing another SBase object does not
cause out-of-bounds issues.model - reference - arrayDim - math - dimSizes - public static boolean evaluateIndexBounds(org.sbml.jsbml.Model model,
org.sbml.jsbml.SBase parent,
java.lang.String refAttribute,
org.sbml.jsbml.ASTNode math,
int arrayDim)
Index object to a parent
SBase object for referencing another SBase object does not
cause out-of-bounds issues.model - parent - refAttribute - math - arrayDim - public static boolean evaluateSelectorBounds(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer)
model - mathContainer - public static int getSize(org.sbml.jsbml.Model model,
Dimension dimension)
model - dimension - public static java.util.Map<java.lang.String,java.lang.Double> getDimensionSizes(org.sbml.jsbml.Model model,
ArraysSBasePlugin arraysSBasePlugin)
model - arraysSBasePlugin - public static java.util.Map<java.lang.String,java.lang.Double> getLowerBound(java.util.Map<java.lang.String,java.lang.Double> dimSizes)
dimSizes - public static java.util.Map<java.lang.String,java.lang.Double> getUpperBound(java.util.Map<java.lang.String,java.lang.Double> dimSizes)
dimSizes - public static boolean isStaticallyComputable(org.sbml.jsbml.Model model,
Index index)
MathContainer object is statically computable.model - index - public static boolean isStaticallyComputable(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer)
MathContainer object is statically computable.model - mathContainer - public static boolean isStaticallyComputable(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer,
java.lang.String... constantIds)
MathContainer object is statically computable given
a list of ids that can appear in the math.model - mathContainer - constantIds - public static boolean isStaticallyComputable(org.sbml.jsbml.Model model,
org.sbml.jsbml.ASTNode math,
java.lang.String... constantIds)
MathContainer object is
statically computable given a list of ids that can appear in the math.model - math - constantIds - public static boolean isVectorOperation(org.sbml.jsbml.ASTNode math)
math - public static boolean checkVectorMath(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer)
model - mathContainer - public static boolean checkVectorAssignment(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer)
model - mathContainer - public static java.util.Map<java.lang.Integer,java.lang.Integer> getVectorDimensionSizes(org.sbml.jsbml.Model model,
org.sbml.jsbml.ASTNode math)
model - math - public static boolean isVectorBalanced(org.sbml.jsbml.Model model,
org.sbml.jsbml.MathContainer mathContainer)
model - mathContainer - Copyright © 2009–2022. All rights reserved.