|
||||||||||
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.OSaLReader
public class OSaLReader
The
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
m_document |
Constructor Summary | |
---|---|
OSaLReader()
Default constructor. |
|
OSaLReader(boolean validate)
constructor. |
Method Summary | |
---|---|
java.lang.String |
getAnalysisMessage()
Get analysis message. |
AnalysisStatus |
getAnalysisStatus()
Get analysis status |
java.util.GregorianCalendar |
getAnalysisTime()
Get analysis time. |
ConstraintAnalysis |
getConstraintAnalysis()
get analysis of the constraints |
int |
getConstraintNumber()
Get constraint number. |
InstanceAnalysis |
getInstanceAnalysis()
get analysis of the entire instance. |
java.lang.String |
getInstanceName()
Get instance name. |
java.lang.String |
getJobID()
Get job ID. |
LinearConstraintCoefficientAnalysis |
getLinearConstraintCoefficientAnalysis()
get analysis of the linear constraint coefficients. |
NonlinearExpressionAnalysis |
getNonlinearExpressionAnalysis()
get analysis of the entire nonlinear expressions. |
ObjectiveAnalysis |
getObjectiveAnalysis()
get analysis of the objectives |
int |
getObjectiveNumber()
Get objective number. |
OSAnalysis |
getOSAnalysis()
get the standard OSAnalysis, a local interface for storing Optimization Services analysis result. |
java.util.HashMap<java.lang.String,java.lang.String> |
getOtherAnalyses()
Get the hash map of other analyses. |
java.lang.String |
getOtherAnalysisDescriptionByName(java.lang.String name)
Get the String value from the other analysis hash map. |
java.lang.String[] |
getOtherAnalysisDescriptions()
Get the descriptions of all other analyses. |
java.lang.String[] |
getOtherAnalysisNames()
Get the names of all other analyses. |
int |
getOtherAnalysisNumber()
Get the number of other analyses. |
java.lang.String |
getOtherAnalysisValueByName(java.lang.String name)
Get the String value from the other analysis hash map. |
java.lang.String[] |
getOtherAnalysisValues()
Get the values of all other analyses. |
QuadraticCoefficientAnalysis |
getQuadraticCoefficientAnalysis()
get analysis of the entire quadratic coefficients. |
java.lang.String |
getServiceName()
Get service name. |
java.lang.String |
getServiceURI()
Get service URI. |
VariableAnalysis |
getVariableAnalysis()
get analysis of the variables |
int |
getVariableNumber()
Get variable number. |
static void |
main(java.lang.String[] argv)
main for test purposes. |
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 OSaLReader(boolean validate)
validate
- holds whether the reader should be validating against the schema or not.public OSaLReader()
Method Detail |
---|
public OSAnalysis getOSAnalysis() throws java.lang.Exception
java.lang.Exception
- if there are errors getting the OSAnalysis.public AnalysisStatus getAnalysisStatus()
public java.lang.String getServiceURI()
public java.lang.String getServiceName()
public java.lang.String getInstanceName()
public java.lang.String getJobID()
public java.util.GregorianCalendar getAnalysisTime()
public java.lang.String getAnalysisMessage()
public int getVariableNumber()
public int getObjectiveNumber()
public int getConstraintNumber()
public InstanceAnalysis getInstanceAnalysis()
public VariableAnalysis getVariableAnalysis()
public ObjectiveAnalysis getObjectiveAnalysis()
public ConstraintAnalysis getConstraintAnalysis()
public LinearConstraintCoefficientAnalysis getLinearConstraintCoefficientAnalysis()
public QuadraticCoefficientAnalysis getQuadraticCoefficientAnalysis()
public NonlinearExpressionAnalysis getNonlinearExpressionAnalysis()
public java.util.HashMap<java.lang.String,java.lang.String> getOtherAnalyses()
public int getOtherAnalysisNumber()
public java.lang.String getOtherAnalysisValueByName(java.lang.String name)
name
- holds the name of analysis to get.
public java.lang.String getOtherAnalysisDescriptionByName(java.lang.String name)
name
- holds the name of analysis to get.
public java.lang.String[] getOtherAnalysisNames()
public java.lang.String[] getOtherAnalysisValues()
public java.lang.String[] getOtherAnalysisDescriptions()
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 |