|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.representationparser.OSgLReader
org.optimizationservices.oscommon.representationparser.OSiLReader
public class OSiLReader
The OSiLReader
class parses an OSiL instance into a DOM tree and
provides a set of "get" methods (e.g. getVariableNames) that can be used to retrieve
different pieces of information of the optimization instance.
org.optimizationservices.ossolver.parser.FMLHandler
,
org.optimizationservices.ossolver.parser.FMLReader
,
XMLReader
,
OSiLReader
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
m_document |
Constructor Summary | |
---|---|
OSiLReader()
constructor. |
|
OSiLReader(boolean validate)
constructor. |
Method Summary | |
---|---|
double |
calculateFunction(int rowIdx,
double[] x)
Calculate the function (nonlinear+quadratic+linear) value in a specified constraint (row) given the current variable values. |
double |
calculateFunction(int rowIdx,
double[] x,
boolean functionEvaluated)
Calculate the function (nonlinear+quadratic+linear) value in a specified constraint (row) given the current variable values. |
double[] |
calculateLinearConstraintFunctions(double[] x)
Calculate the all the linear constraint function values given the current variable values. |
double |
calculateLinearFunction(int rowIdx,
double[] x)
Calculate the linear function value in a specified constraint (row) given the current variable values. |
double |
calculateLinearObjectiveFunction(int rowIdx,
double[] x)
Calculate the linear objective function value given the current variable values. |
double |
calculateNonlinearDerivative(int rowIdx,
double[] x,
int varIndex,
boolean functionEvaluated)
Calculate the nonlinear function derivative in a specified constraint (row) given the current variable values w.r.t one variable. |
it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap |
calculateNonlinearDerivatives(int rowIdx,
double[] x,
boolean functionEvaluated)
Calculate the nonlinear function derivatives in a specified constraint (row) given the current variable values w.r.t all variables. |
double |
calculateNonlinearFunction(int rowIdx,
double[] x)
Calculate the nonlinear function value in a specified constraint (row) given the current variable values. |
double |
calculateNonlinearFunction(int rowIdx,
double[] x,
boolean functionEvaluated)
Calculate the nonlinear function value in a specified constraint (row) given the current variable values. |
java.lang.String |
calculateNonlinearFunction(int rowIdx,
java.lang.String[] x,
boolean functionEvaluated)
Calculate the nonlinear function value in a specified constraint (row) given the current variable values. |
it.unimi.dsi.fastutil.objects.Object2DoubleOpenHashMap |
calculateNonlinearHessianMatrix(int rowIdx,
double[] x,
boolean derivativeEvaluated)
Calculate the nonlinear Hessian in a specified constraint (row) given the current variable values w.r.t all variables. |
double[] |
calculateQuadraticConstraintFunctions(double[] x)
Calculate all quadratic constraint function values given the current variable values. |
double |
calculateQuadraticFunction(int rowIdx,
double[] x)
Calculate the quadratic function value in a specified constraint (row) given the current variable values. |
double |
calculateQuadraticObjectiveFunction(int rowIdx,
double[] x)
Calculate the quadratic objective function value given the current variable values. |
double[] |
getConstraintConstants()
Get the values of all constraint constants in the OSiL instance. |
double[] |
getConstraintLowerBounds()
Get the values of all constraint lower bounds (or left hand sides) in the OSiL instance. |
java.lang.String[] |
getConstraintNames()
Get the values of all constraint names in the OSiL instance. |
int |
getConstraintNumber()
Get the number of constraints. |
char[] |
getConstraintTypes()
Get constraint types. |
double[] |
getConstraintUpperBounds()
Get the values of all constraint upper bounds (or right hand sides) in the OSiL instance. |
static java.lang.String |
getDelimiter()
|
double[][] |
getDenseLinearConstraintCoefficientMatrix()
Construct and get the nonsparse A matrix from the linearConstraintCoefficients. |
double[][] |
getDenseObjectiveCoefficients()
Get the nonzero coefficient values of the first objective function in the OSiL instance. |
int |
getExpressionTreeSize(int rowIdx)
Get the expression tree size, i.e. |
double[] |
getFirstDenseObjectiveCoefficientValues()
Get the nonzero coefficient values of the first objective function in the OSiL instance. |
int |
getFirstObjectiveCoefficientNumber()
Get the number of nonzero coefficient values of the first objective function in the OSiL instance. |
double |
getFirstObjectiveConstant()
Get the constant of the first objective function in the OSiL instance. |
java.lang.String |
getFirstObjectiveMaxOrMin()
Get the maxOrMin (direction or sense) of the first objective function in the OSiL instance. |
java.lang.String |
getFirstObjectiveName()
Get the name of the first objective function in the OSiL instance. |
int[] |
getFirstObjectiveNonzeroCoefficientIndexes()
Get the nonzero coefficient indexes of the first objective function in the OSiL instance. |
double[] |
getFirstObjectiveNonzeroCoefficientValues()
Get the nonzero coefficient values of the first objective function in the OSiL instance. |
double |
getFirstObjectiveWeight()
Get the weight of the first objective function in the OSiL instance. |
java.util.HashSet |
getIdentifiers(int rowIdx)
Get a set of names of identifiers that exist in the nonlinear function of the specified constraint (row). |
java.util.Vector |
getInfix(int rowIdx)
Express the function in the specified constraint (row) in an infix vecotr of operator symbols. |
java.lang.String |
getInstanceDescription()
Get the value of <description> element in the OSiL instance. |
java.lang.String |
getInstanceName()
Get the value of <name> element in the OSiL instance. |
java.lang.String |
getInstanceSource()
Get the value of <source> element in the OSiL instance. |
int[][] |
getJacobianNonzeroIndexes()
Get row (constraint) and col (var) indexes of nonzero elements of the constraint gradients (Jacobian Matrix). |
double |
getLinearConstraintCoefficient(int rowIdx,
int colIdx)
Get the linear Constraint coefficient given row and column numbers. |
boolean |
getLinearConstraintCoefficientMajor()
Gets whether the coefMatrix (AMatrix) holding linear program data is stored by column. |
int[] |
getLinearConstraintCoefficientMatrixNonzeroIndexes()
Get the the values of the vector element rowIdx or colIdx in coefMatrix. |
double[] |
getLinearConstraintCoefficientMatrixNonzeroValues()
Get the values of the vector element value in coefMatrix, which contains nonzero elements. |
int[] |
getLinearConstraintCoefficientMatrixStartIndexes()
Get the values of the elements <start> in coefMatrix, which points to the start of a column (row) of nonzero elements in linearConstraintCoefficients. |
int |
getLinearConstraintCoefficientNumber()
Get the number of specified values (usually nonzero) in the linear coefficient matrix. |
java.util.HashSet |
getLogicAndRelationalSymbols(int rowIdx)
|
java.lang.String |
getLogicError()
Get logic error messages (one a line) the OSiLReader finds in the OSiL instance. |
java.util.HashSet |
getNetworkArcs(int rowIdx)
Get a set of network arcs that are referred in the expression tree of the specified constraint (row), each set member is of the form: arcName:propertyName, that is arcName and property name delimited :. |
java.util.HashSet |
getNetworkNodes(int rowIdx)
Get a set of network nodes that are referred in the expression tree of the specified constraint (row), each set member is of the form: nodeName:propertyName, that is nodeName and property name delimited :. |
static java.lang.String |
getNlNodeInfo()
|
double |
getNonlinearDerivative(int rowIdx,
int varIndex)
Get the nonlinear function derivative in a specified constraint (row) given the current variable values w.r.t. |
it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap |
getNonlinearDerivatives(int rowIdx)
Get the nonlinear function derivatives in a specified constraint (row) given the current variable values w.r.t. |
OSExpressionTree |
getNonlinearExpression(int rowIdx)
Get the nonlinear expression of a certain constraint (row). |
it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap |
getNonlinearExpressions()
Process <nl> elements in the OSiL instance, which are the nolinear extensions to the linear program data and construct nolinear expression trees |
int |
getNonlinearExpressionTreeNumber()
Get the number of nonlinear expressions. |
it.unimi.dsi.fastutil.objects.Object2DoubleOpenHashMap |
getNonlinearHessianMatrix(int rowIdx)
Get the nonlinear Hessian in a specified constraint (row) given the current variable values w.r.t all variables. |
double |
getNonlinearHessianValue(int rowIdx,
int i,
int j)
Get the nonlinear Hessian in a specified constraint (row) given the current variable values w.r.t Xi and Xj. |
java.util.Vector |
getNonlinearInfix(int rowIdx)
Express the nonlinear function in the specified constraint (row) in an infix vector of operator symbols If the row idx is negative, it returns that from an objective function. |
java.util.Vector |
getNonlinearPostfix(int rowIdx)
Express the nonlinear function in the specified constraint (row) in a postfix vector of operator symbols. |
java.util.Vector |
getNonlinearPrefix(int rowIdx)
Express the nonlinear function in the specified row in a prefix vector of operator symbols If the row idx is negative, it returns that from an objective function. |
java.util.HashSet |
getNonlinearQuadraticTerms(int rowIdx)
Get a set of quadratic terms that exist in the expression tree of the specified constraint (row), each set member is of the form: i,j,coef, that is the first variable index, the second variable index and the coefficient value, delimited by comma. |
OSnLNode |
getNonlinearRootNode(int rowIdx)
Get the nonlinear function's root node (of OSnLNode type). |
it.unimi.dsi.fastutil.ints.IntOpenHashSet |
getNonlinearVariableIndices(int rowIdx)
Get an integer set of indices of the variables that exist in the nonlinear part of the function in a specified constraint (row). |
int |
getNumberOfComplementsOperator(int rowIdx)
Get the number of the complements operator in the expression tree of the specified constraint (row). |
int |
getNumberOfProbabilityFunctions(int rowIdx)
Get the number of probability functions in the nonlinear function of the specified constraint (row). |
int |
getNumberOfProbOperator(int rowIdx)
Get the number of the probability operator (usually in chance constraint) in the expression tree of the specified constraint (row). |
int |
getNumberOfStatisticFunctions(int rowIdx)
Get the number of statistic functions in the nonlinear function of the specified constraint (row). |
java.util.HashSet |
getNumberValues(int rowIdx)
Get a set of number values that exist in the nonlinear function of the specified constraint (row). |
int[] |
getObjectiveCoefficientNumbers()
Get the numbers of nonzero coefficient values of all the objective functions in the OSiL instance. |
SparseVector[] |
getObjectiveCoefficients()
Get objective coefficients. |
double[] |
getObjectiveConstants()
Get a double array of all the objective function constants in the OSiL instance. |
java.lang.String[] |
getObjectiveMaxOrMins()
Get a string array of all the objective function maxOrMins (directions or senses) in the OSiL instance. |
java.lang.String[] |
getObjectiveNames()
Get a string array of all the objective function names in the OSiL instance. |
int[][] |
getObjectiveNonzeroCoefficientIndexes()
Get the nonzero coefficient indexes of all the objective functions in the OSiL instance. |
double[][] |
getObjectiveNonzeroCoefficientValues()
Get the nonzero coefficient values of all the objective functions in the OSiL instance. |
int |
getObjectiveNumber()
Get the number of objective functions. |
double[] |
getObjectiveWeights()
Get a double array of all the objective function weights in the OSiL instance. |
OSInstance |
getOSInstance()
get the OSInstance, a standard optimization problem/data api. |
java.util.Vector |
getPostfix(int rowIdx)
Express the function in the specified constraint (row) in a postfix vecotr of operator symbols. |
java.util.Vector |
getPrefix(int rowIdx)
Express the function in the specified constraint (row) in a prefix vector of operator symbols.. |
int |
getQuadraticTermNumber()
Get the number of specified qTerms (usually nonzero) in the quadratic coefficients. |
QuadraticTerms |
getQuadraticTerms()
Get all the quadratic terms in quadratic coefficients. |
java.util.HashSet |
getSimulationNames(int rowIdx)
Get a set of names of the simulations that exist in the expression tree of the specified constraint (row). |
int |
getTrigonometricFunctionNumbers(int rowIdx)
Get the number of trigonometric functions in the nonlinear function of the specified row. |
java.util.HashSet |
getUserFunctionNames(int rowIdx)
Get a set of names of the user defined functions that exist in the expression tree of the specified constraint (row). |
java.lang.String[] |
getVariableInitialStringValues()
Get the values of all variable initial string values in the OSiL instance. |
double[] |
getVariableInitialValues()
Get the values of all variable initial double values in the OSiL instance. |
double[] |
getVariableLowerBounds()
Get the values of all variable lower bounds in the OSiL instance. |
java.lang.String[] |
getVariableNames()
Get the values of all variable names in the OSiL instance. |
int |
getVariableNumber()
Get the the number of variables. |
char[] |
getVariableTypes()
Get the types of all the variables, (e.g. |
double[] |
getVariableUpperBounds()
Get the values of all variable upper bounds in the OSiL instance. |
org.w3c.dom.Element |
getXMLDataElement()
Get the xmlData element. |
java.lang.String |
getXMLDataString()
Get the xmlData in a string. |
java.util.HashSet |
getXPath(int rowIdx)
Get a set of XPaths that exist in the expression tree of the specified constraint (row), each set member is of the form: uri:path, that is uri and path delimited by :. |
it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap |
linearizeNonlinearFunction(int rowIdx)
Linearize the the expression tree of a specified constraint (row) so that it doesn't contain linear terms. |
static void |
main(java.lang.String[] argv)
main for test purposes. |
boolean |
quadratizeNonlinearFunction(int rowIdx)
Quadratize the current expression tree, or make all the quadratic terms written in the form of a quadratic node with its children being the quadratic terms. |
int |
simplifyNonlinearFunction(int rowIdx)
Simplify the nonlinear part of the function in a specified constraint (row). |
Methods inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
getDocument, getRootElement, isValidate, readFile, readString, setDocument, setRootElement, setValidate, writeToFile, writeToSring, writeToStandardOutput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSiLReader(boolean validate)
validate
- holds whether the reader should be validating against the schema or not.public OSiLReader()
Method Detail |
---|
public OSInstance getOSInstance() throws java.lang.Exception
java.lang.Exception
- if there are errors getting the OSInstnace.public java.lang.String getLogicError()
public java.lang.String getInstanceName()
public java.lang.String getInstanceSource()
public java.lang.String getInstanceDescription()
public int getVariableNumber()
public int getObjectiveNumber()
public int getConstraintNumber()
public int getLinearConstraintCoefficientNumber()
public int getQuadraticTermNumber()
public int getNonlinearExpressionTreeNumber()
public java.lang.String[] getVariableNames()
public double[] getVariableInitialValues()
public java.lang.String[] getVariableInitialStringValues()
public char[] getVariableTypes()
public double[] getVariableLowerBounds()
public double[] getVariableUpperBounds()
public java.lang.String getFirstObjectiveName()
public java.lang.String[] getObjectiveNames()
public java.lang.String getFirstObjectiveMaxOrMin()
public java.lang.String[] getObjectiveMaxOrMins()
public double getFirstObjectiveConstant()
public double[] getObjectiveConstants()
public double getFirstObjectiveWeight()
public double[] getObjectiveWeights()
public double[] getFirstDenseObjectiveCoefficientValues()
public double[][] getDenseObjectiveCoefficients()
public int getFirstObjectiveCoefficientNumber()
public int[] getObjectiveCoefficientNumbers()
public double[] getFirstObjectiveNonzeroCoefficientValues()
public double[][] getObjectiveNonzeroCoefficientValues()
public int[] getFirstObjectiveNonzeroCoefficientIndexes()
public int[][] getObjectiveNonzeroCoefficientIndexes()
public SparseVector[] getObjectiveCoefficients() throws java.lang.Exception
java.lang.Exception
SparseVector
public java.lang.String[] getConstraintNames()
public double[] getConstraintLowerBounds()
public double[] getConstraintUpperBounds()
public double[] getConstraintConstants()
public char[] getConstraintTypes() throws java.lang.Exception
java.lang.Exception
- if the elements in constraints are logically inconsistent.public double getLinearConstraintCoefficient(int rowIdx, int colIdx)
rowIdx
- holds the row number to which the linear function belongs.colIdx
- holds the column number or the variable index.
public int[] getLinearConstraintCoefficientMatrixStartIndexes()
public double[] getLinearConstraintCoefficientMatrixNonzeroValues()
public int[] getLinearConstraintCoefficientMatrixNonzeroIndexes()
public boolean getLinearConstraintCoefficientMajor()
public double[][] getDenseLinearConstraintCoefficientMatrix()
public QuadraticTerms getQuadraticTerms()
QuadraticTerms
public double calculateLinearObjectiveFunction(int rowIdx, double[] x)
rowIdx
- holds the row number to which the linear function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.
public double calculateQuadraticObjectiveFunction(int rowIdx, double[] x)
rowIdx
- holds the row number to which the quadratic function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.
public double calculateLinearFunction(int rowIdx, double[] x)
rowIdx
- holds the row number to which the linear function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.
public double calculateQuadraticFunction(int rowIdx, double[] x)
rowIdx
- holds the row number to which the quadratic function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.
public double[] calculateLinearConstraintFunctions(double[] x)
x
- holds the values of the variables in a double array.
public double[] calculateQuadraticConstraintFunctions(double[] x)
x
- holds the values of the variables in a double array.
public static java.lang.String getNlNodeInfo()
public static java.lang.String getDelimiter()
public it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap getNonlinearExpressions()
public OSExpressionTree getNonlinearExpression(int rowIdx)
rowIdx
- holds the row number to which the nonlinear expression belongs. if negative, it is an objective function.
public OSnLNode getNonlinearRootNode(int rowIdx)
rowIdx
- holds the row number to which the nonlinear function belongs. if negative, it is an objective function.
getNonlinearExpression(int)
public double calculateNonlinearFunction(int rowIdx, double[] x)
rowIdx
- holds the row number to which the nonlinear function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.
public double calculateFunction(int rowIdx, double[] x)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.
public double calculateNonlinearFunction(int rowIdx, double[] x, boolean functionEvaluated)
rowIdx
- holds the row number to which the nonlinear function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.functionEvaluated
- holds whether the function has been evaluated.
public double calculateFunction(int rowIdx, double[] x, boolean functionEvaluated)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.x
- holds the values of the variables in a double array.functionEvaluated
- holds whether the function has been evaluated.
public java.lang.String calculateNonlinearFunction(int rowIdx, java.lang.String[] x, boolean functionEvaluated)
rowIdx
- holds the row number to which the nonlinear function belongs. if negative, it is an objective function.x
- holds the values of the variables in a string array.functionEvaluated
- holds whether the function has been evaluated.
public it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap calculateNonlinearDerivatives(int rowIdx, double[] x, boolean functionEvaluated)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.x
- holds the values of the variables in a double array.functionEvaluated
- holds whether the function has been evaluated.
public it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap getNonlinearDerivatives(int rowIdx)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.
public double calculateNonlinearDerivative(int rowIdx, double[] x, int varIndex, boolean functionEvaluated)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.x
- holds the values of the variables in a double array.varIndex
- holds the variable index on which to take the derivative.functionEvaluated
- holds whether the function has been evaluated.
public double getNonlinearDerivative(int rowIdx, int varIndex)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.varIndex
- holds the variable index on which to take the derivative.
public it.unimi.dsi.fastutil.objects.Object2DoubleOpenHashMap calculateNonlinearHessianMatrix(int rowIdx, double[] x, boolean derivativeEvaluated)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.x
- holds the values of the variables in a double array.derivativeEvaluated
- holds whether the function derivatives have been evaluated.
public it.unimi.dsi.fastutil.objects.Object2DoubleOpenHashMap getNonlinearHessianMatrix(int rowIdx)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.
public double getNonlinearHessianValue(int rowIdx, int i, int j)
rowIdx
- holds the row number to which the nonlinear function belongs. If negative, it's an objective function.i
- holds the first variable index of the second order partial derivative.j
- holds the second variable index of the second order partial derivative.
public java.util.Vector getNonlinearPostfix(int rowIdx)
rowIdx
- holds the row number to which the nonlinear function belongs. if negative, it is an objective function.
public java.util.Vector getNonlinearPrefix(int rowIdx)
rowIdx
- holds the row idx to which the nonlinear function belongs. if negative, it is an objective function.
public java.util.Vector getNonlinearInfix(int rowIdx)
rowIdx
- holds the row idx to which the nonlinear function belongs. if negative, it is an objective function.
public java.util.Vector getPostfix(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.Vector getPrefix(int rowIdx)
rowIdx
- holds the row idx to which the function belongs. if negative, it is an objective function.
public java.util.Vector getInfix(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int simplifyNonlinearFunction(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public it.unimi.dsi.fastutil.ints.Int2DoubleOpenHashMap linearizeNonlinearFunction(int rowIdx)
Linearize the the expression tree of a specified constraint (row) so that it doesn't contain linear terms. The expression tree of the node will become smaller if there are linear terms. If the node is fully linear, the node becomes null. If the node is not linear at all, it will remain the same and the returned hash map has a size zero.
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public boolean quadratizeNonlinearFunction(int rowIdx)
Quadratize the current expression tree, or make all the quadratic terms written in the form of a quadratic node with its children being the quadratic terms.
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public it.unimi.dsi.fastutil.ints.IntOpenHashSet getNonlinearVariableIndices(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int[][] getJacobianNonzeroIndexes()
Get row (constraint) and col (var) indexes of nonzero elements of the constraint gradients (Jacobian Matrix). This is usually needed before a nonlinear optimization starts. A variable index will be counted once everytime the variable appears in a separate row (or constraint).
It is not appropriate to use this method if there is a variable that takes as its index an integer-valued variable.
public int getExpressionTreeSize(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int getTrigonometricFunctionNumbers(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int getNumberOfStatisticFunctions(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int getNumberOfProbabilityFunctions(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getNumberValues(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getIdentifiers(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getLogicAndRelationalSymbols(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getNonlinearQuadraticTerms(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getSimulationNames(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getUserFunctionNames(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getXPath(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getNetworkNodes(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public java.util.HashSet getNetworkArcs(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int getNumberOfComplementsOperator(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public int getNumberOfProbOperator(int rowIdx)
rowIdx
- holds the row number to which the function belongs. if negative, it is an objective function.
public org.w3c.dom.Element getXMLDataElement()
public java.lang.String getXMLDataString()
public static void main(java.lang.String[] argv)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |