|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OShL
The OShL
interface declares all the methods as specified in the
Optimization Services (OS) Framework, specifically the Optimization Services hook-up
Language (OShL). These methods are called by an OS agent to invoke any OS-based solvers, anlyzers, scheduler etc..
Any solver, anlyzer or other related OS component that wants to become an OS-type
callable on the distributed system must implement this interface.
Method Summary | |
---|---|
java.lang.String |
getJobID(java.lang.String osol)
Get a unique job id from a service, before calling the service to solve a problem. |
java.lang.String |
kill(java.lang.String osol)
Kill a previously sent/solved optimization job. |
java.lang.String |
knock(java.lang.String osplInput,
java.lang.String osol)
This method is called by one optimization service on another optimization service to provide runtime dynamic process information (push mechanism). |
java.lang.String |
retrieve(java.lang.String osol)
Retrieve results from a previously sent/solved optimization job. |
boolean |
send(java.lang.String osil,
java.lang.String osol)
Send (or asynchronously solve) an optimization problem with options. |
java.lang.String |
solve(java.lang.String osil,
java.lang.String osol)
Solve an optimization problem with options. |
Method Detail |
---|
java.lang.String getJobID(java.lang.String osol)
osol
- holds the optimization option in a string which format follows the
Optimization Services option Language (OSoL) schema.
java.lang.String solve(java.lang.String osil, java.lang.String osol)
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.
boolean send(java.lang.String osil, java.lang.String osol)
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.
java.lang.String retrieve(java.lang.String osol)
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.
java.lang.String kill(java.lang.String osol)
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.
java.lang.String knock(java.lang.String osplInput, java.lang.String osol)
osplInput
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |