|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.communicationagent.OSSimulationAgent
public class OSSimulationAgent
The OSSimulationAgent
class implements all the OScL
interface.
Thus it is OS-type solver. It implements all the methods as specified in the
Optimization Services (OS) Framework, specifically the Optimization Services call
Language (OScL).
The OSSimulationAgent
class is a library class that contains methods
to help simulation agents communicate with Optimization Services (OS) simulations as specified
by the Optimization Services framework. It hides all the SOAP protocol related technical details
from an optimization user.
OScL
Field Summary | |
---|---|
java.lang.String |
simulationAddress
simulationAddress holds the address (uri/url) of the Optimization Services (OS) simulation. |
Constructor Summary | |
---|---|
OSSimulationAgent()
Constructor. |
|
OSSimulationAgent(java.lang.String simulationAddress)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
call(java.lang.String osslInput,
java.lang.String osol)
Call a simulation service whose input is given by a string following the Optimization Services simulation Language (OSsL) schema and returns the analysis in a string that follows the Optimization Services simulation Language (OSsL) schema, since OSsL specifies both simulation service input and output. |
static void |
main(java.lang.String[] args)
main for test purposes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String simulationAddress
Constructor Detail |
---|
public OSSimulationAgent()
public OSSimulationAgent(java.lang.String simulationAddress)
simulationAddress
- holds the address (uri/url) of the Optimization Services (OS) simulation.Method Detail |
---|
public java.lang.String call(java.lang.String osslInput, java.lang.String osol)
call
in interface OScL
OSsL
- holds the simulation input in a string which format follows the
Optimization Services simulation Language (OSsL) 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 |