|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.communicationagent.OSAnalyzerAgent
public class OSAnalyzerAgent
The OSAnalyzerAgent
class implements the OShL
interface.
Thus it is OS-type analyzer. It implements all the methods as specified in the
Optimization Services (OS) Framework, specifically the Optimization Services hook-up
Language (OShL).
The OSAnalyzerAgent
class is a library class that contains methods
to help analyzer agents communicate with Optimization Services (OS) analyzers as specified
by the Optimization Services framework. It hides all the SOAP protocol related technical details
from an optimization user.
OShL
Field Summary | |
---|---|
java.lang.String |
analyzerAddress
analyzerAddress holds the address (uri/url) of the Optimization Services (OS) analyzer. |
Constructor Summary | |
---|---|
OSAnalyzerAgent()
Constructor. |
|
OSAnalyzerAgent(java.lang.String analyzerAddress)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getJobID(java.lang.String osol)
Methods in OShL that are not implemented. |
java.lang.String |
kill(java.lang.String osol)
Methods in OShL that are not implemented. |
java.lang.String |
knock(java.lang.String ospl,
java.lang.String osol)
Methods in OShL that are not implemented. |
static void |
main(java.lang.String[] args)
main for test purposes. |
java.lang.String |
retrieve(java.lang.String osol)
Methods in OShL that are not implemented. |
boolean |
send(java.lang.String osil,
java.lang.String osol)
Methods in OShL that are not implemented. |
java.lang.String |
solve(java.lang.String osil,
java.lang.String osol)
Analyze an optimization problem with options. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String analyzerAddress
Constructor Detail |
---|
public OSAnalyzerAgent()
public OSAnalyzerAgent(java.lang.String analyzerAddress)
analyzerAddress
- holds the address (uri/url) of the Optimization Services (OS) analyzer.Method Detail |
---|
public java.lang.String solve(java.lang.String osil, java.lang.String osol)
solve
in interface OShL
osil
- holds the optimization instance in a string which format follows the
Optimization Services instance Language (OSiL) schema.osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema.
public boolean send(java.lang.String osil, java.lang.String osol)
send
in interface OShL
osil
- holds the optimization instance in a string which format follows the
Optimization Services instance Language (OSiL) schema.osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema. It should contain the jobID information that
is previous obtained from the optimization service.
public java.lang.String getJobID(java.lang.String osol)
getJobID
in interface OShL
osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema.
public java.lang.String retrieve(java.lang.String osol)
retrieve
in interface OShL
osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema. It should contain the jobID information that
is previous obtained from the optimization service.
public java.lang.String kill(java.lang.String osol)
kill
in interface OShL
osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema. It should contain the jobID information that
is previous obtained from the optimization service.
public java.lang.String knock(java.lang.String ospl, java.lang.String osol)
knock
in interface OShL
ospl
- holds the input process information a string which format follows the Optimization
Services process Language (OSpL) schema.osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema.
public static void main(java.lang.String[] args)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |