|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ucsb.cs.jicos.services.Task
edu.ucsb.cs.jicos.services.Compose
edu.ucsb.cs.jicos.services.tasks.MinSolution
public final class MinSolution
| Field Summary |
|---|
| Fields inherited from class edu.ucsb.cs.jicos.services.Task |
|---|
ALL_INPUTS |
| Constructor Summary | |
|---|---|
MinSolution()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(Environment environment)
This method returns the Solution Object among its inputs, whose IntUpperBound has minimal intValue, provided that it is at least as low as the Shared objects intValue. |
boolean |
executeOnServer(Environment environment)
This task executes on the task server. |
| Methods inherited from class edu.ucsb.cs.jicos.services.Task |
|---|
compute, execute, executeIncrementally, getInput, getTaskId, isAtomic, numInputs, numUnsetInputs, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MinSolution()
| Method Detail |
|---|
public java.lang.Object execute(Environment environment)
execute in class Taskenvironment - The environment's Shared Object defines the currently best known
minimal intValue associated with a Solution. It is possible,
though unlikely, that the Task's input Solutions contain a better
one than the TaskServer knows about, as reflected in the
Environment's Shared object's intValue. If this occurs, a side-effect
of the execute method is to update the Environment's Shared object accordingly.
public boolean executeOnServer(Environment environment)
executeOnServer in class Taskenvironment - Session environment (ignored).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||