#include <OSSolverAgent.h>
Inheritance diagram for OSSolverAgent:


Public Member Functions | |
| OSSolverAgent (string solverURI) | |
| Default constructor. | |
| ~OSSolverAgent () | |
| Class destructor. | |
| string | solve (string osil, string osol) |
| implement the solve() method which is a virtual function in OShL, this is synchronous | |
| string | getJobID (string osol) |
| implement the getJobID() method which is a virtual function in OShL | |
| bool | send (string osil, string osol) |
| implement the send() method which is a virtual function in OShL | |
| string | kill (string osol) |
| implement the kill() method which is a virtual function in OShL | |
| string | retrieve (string osol) |
| implement the retrieve() method which is a virtual function in OShL | |
| string | knock (string ospl, string osol) |
| implement the knock() method which is a virtual function in OShL | |
| string | fileUpload (string osilFileName, string osil) |
| implement the fileUpload() method which is a virtual function in OShL | |
Private Attributes | |
| string | solverAddress |
| solverAddress is the URI for the solver | |
| unsigned short | solverPortNumber |
| solverPortNumber is the port number for the sovler | |
| string | postURI |
| postURI is the path to the solver that follows the first / in the solverAddress | |
The following key methods are invoked:
Definition at line 42 of file OSSolverAgent.h.
| OSSolverAgent::OSSolverAgent | ( | string | solverURI | ) |
Default constructor.
| solverURI | is the location of remote solver or scheduler |
| OSSolverAgent::~OSSolverAgent | ( | ) |
Class destructor.
| string OSSolverAgent::solve | ( | string | osil, | |
| string | osol | |||
| ) |
| string OSSolverAgent::getJobID | ( | string | osol | ) |
implement the getJobID() method which is a virtual function in OShL
| osol | is the string with the options in OSoL format |
| bool OSSolverAgent::send | ( | string | osil, | |
| string | osol | |||
| ) |
| string OSSolverAgent::kill | ( | string | osol | ) |
| string OSSolverAgent::retrieve | ( | string | osol | ) |
implement the retrieve() method which is a virtual function in OShL
| osol | is the string with the options in OSoL format |
| string OSSolverAgent::knock | ( | string | ospl, | |
| string | osol | |||
| ) |
| string OSSolverAgent::fileUpload | ( | string | osilFileName, | |
| string | osil | |||
| ) |
implement the fileUpload() method which is a virtual function in OShL
| osilFileName | is the name of the file with the OSiL instance to be written on the server | |
| osil | is a string with the OSiL problem instance |
string OSSolverAgent::solverAddress [private] |
unsigned short OSSolverAgent::solverPortNumber [private] |
string OSSolverAgent::postURI [private] |
postURI is the path to the solver that follows the first / in the solverAddress
Definition at line 141 of file OSSolverAgent.h.
1.4.7