se.chalmers.cs.gf.dialogutil
Class OAAClient
java.lang.Object
se.chalmers.cs.gf.dialogutil.OAAClient
public class OAAClient
- extends java.lang.Object
An simple OAA agent which does not have any solvables, but which can
call other agents.
Constructor Summary |
OAAClient(java.lang.String agentName,
java.lang.String[] libcomargs)
|
Method Summary |
java.util.List<com.sri.oaa2.icl.IclTerm> |
solve(com.sri.oaa2.icl.IclTerm goal)
Send a task to the agent community. |
java.util.List<com.sri.oaa2.icl.IclTerm> |
solve(com.sri.oaa2.icl.IclTerm goal,
java.util.List<com.sri.oaa2.icl.IclTerm> params)
Send a task to the agent community. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAAClient
public OAAClient(java.lang.String agentName,
java.lang.String[] libcomargs)
throws java.io.IOException
- Throws:
java.io.IOException
solve
public java.util.List<com.sri.oaa2.icl.IclTerm> solve(com.sri.oaa2.icl.IclTerm goal,
java.util.List<com.sri.oaa2.icl.IclTerm> params)
- Send a task to the agent community.
- Parameters:
goal
- The taskparams
- Parameters
- Returns:
- A possibly empty list of solutions.
solve
public java.util.List<com.sri.oaa2.icl.IclTerm> solve(com.sri.oaa2.icl.IclTerm goal)
- Send a task to the agent community. Same as solve(goal, empty list).