org.optimizationservices.oscommon.communicationagent
Class OSAgentService
java.lang.Object
  
org.optimizationservices.oscommon.communicationagent.OSAgentService
public class OSAgentService
- extends java.lang.Object
 
The OSAgentService class is sample agent implementation that uses convenient
 methods provided from the OSSolverAgent library
 to invoke the sampleLPSolver, an Optimization Services (OS) type solver provided in the
 org.optimizationservices.ossolver.solver package.
 
- Since:
 
  - OS 1.0
 
- Version:
 
  - 1.0, 03/14/2004
 
- Author:
 
  - Robert Fourer, Jun Ma, Kipp Martin
 
- See Also:
 edu.northwestern.impact.communication.OSSolverAgent
 
| 
Method Summary | 
 java.lang.String | 
call(java.lang.String flowName,
     java.lang.String input)
 
            | 
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 | 
 
OSAgentService
public OSAgentService()
- Constructor.
 
call
public java.lang.String call(java.lang.String flowName,
                             java.lang.String input)
- Parameters:
 flowName - holds the flow of launching the Optimization Serives Process. For now either "simple" or "complex".input - holds the initial input for the flow.
- Returns:
 - the result after excuting the whole Optimization Services flow process.
 
 
main
public static void main(java.lang.String[] args)
- main for test purposes.
 
- Parameters:
 argv - command line arguments.