An interface that specified virtual methods to be implemented by agents.
More...
#include "OShL.h"
|
| OShL () |
| Default constructor. More...
|
|
virtual | ~OShL ()=0 |
| Class destructor. More...
|
|
virtual std::string | solve (std::string osil, std::string osol)=0 |
| submit an instance with its options for a synchronous solution More...
|
|
virtual std::string | getJobID (std::string osol)=0 |
| get a jobID for use in the send method More...
|
|
virtual bool | send (std::string osil, std::string osol)=0 |
| submit an instance with its options for an asynchronous solution More...
|
|
virtual std::string | kill (std::string osol)=0 |
| kill an instance that is running More...
|
|
virtual std::string | retrieve (std::string osol)=0 |
| retrieve an instance result that ran in asynchronous mode More...
|
|
virtual std::string | knock (std::string ospl, std::string osol)=0 |
| knock to get information on the current status of a job More...
|
|
An interface that specified virtual methods to be implemented by agents.
This is a virtual class that lists all of the methods a client (or scheduler/solver) should implement
Definition at line 32 of file OShL.h.
virtual std::string OShL::solve |
( |
std::string |
osil, |
|
|
std::string |
osol |
|
) |
| |
|
pure virtual |
submit an instance with its options for a synchronous solution
- Parameters
-
osil | is the string with the instance in OSiL format |
osol | is the string with the options in OSoL format |
- Returns
- a string which is the result in OSrL format.
Implemented in OSSolverAgent.
virtual std::string OShL::getJobID |
( |
std::string |
osol | ) |
|
|
pure virtual |
get a jobID for use in the send method
- Parameters
-
osol | is the string with the options in OSoL format |
- Returns
- a string which is the jobID
Implemented in OSSolverAgent.
virtual bool OShL::send |
( |
std::string |
osil, |
|
|
std::string |
osol |
|
) |
| |
|
pure virtual |
submit an instance with its options for an asynchronous solution
- Parameters
-
osil | is the string with the instance in OSiL format |
osol | is the string with the options in OSoL format |
- Returns
- a bool which is true if the job is successfully submitted
Implemented in OSSolverAgent.
virtual std::string OShL::kill |
( |
std::string |
osol | ) |
|
|
pure virtual |
kill an instance that is running
- Parameters
-
osol | is the string with the options in OSoL format |
- Returns
- a string which is in OSpL format
Implemented in OSSolverAgent.
virtual std::string OShL::retrieve |
( |
std::string |
osol | ) |
|
|
pure virtual |
retrieve an instance result that ran in asynchronous mode
- Parameters
-
osol | is the string with the options in OSoL format |
- Returns
- a string which is in the result of the optimization is OSrL fomrat
Implemented in OSSolverAgent.
virtual std::string OShL::knock |
( |
std::string |
ospl, |
|
|
std::string |
osol |
|
) |
| |
|
pure virtual |
knock to get information on the current status of a job
- Parameters
-
ospl | is the string with the process information in OSpL format |
osol | is the string with the options in OSoL format |
- Returns
- a string which is the knock result in OSpL format.
Implemented in OSSolverAgent.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/OS-2.9.3/src/OSAgent/OShL.h