|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Result | |
---|---|
api | |
client | |
computer | |
system | |
tasks |
Uses of Result in api |
---|
Methods in api that return Result | |
---|---|
Result |
TaskInterface.run(Shared shared)
|
abstract Result |
Task.run(Shared shared)
Empty function. |
Result |
Computer.run(Task task)
|
Methods in api with parameters of type Result | |
---|---|
void |
TaskInterface.setInput(Result r)
|
abstract void |
Task.setInput(Result r)
Empty function. |
Uses of Result in client |
---|
Methods in client that return Result | |
---|---|
Result |
Client2Space.compute(Task task,
java.lang.Object input,
Shared shared)
|
Result |
ResultEvent.getResult()
|
Result |
GUI_Client.getResult()
Returns the first result in the result Q |
Result |
Client2Space.take()
|
Methods in client with parameters of type Result | |
---|---|
void |
GUI_Client.finish(Result r)
A method that will add the result into the resultQ. |
Constructors in client with parameters of type Result | |
---|---|
ResultEvent(java.lang.Object source,
Result result)
|
Uses of Result in computer |
---|
Methods in computer that return Result | |
---|---|
Result |
ComputerImpl.run(Task task)
Runs the task and returns its return value |
Uses of Result in system |
---|
Methods in system that return Result | |
---|---|
Result |
Space.compute(Task task,
java.lang.Object input,
Shared shared)
Takes in a task to be handled by the space. |
Result |
Space.take()
Returns a result from the Result Queue. |
Methods in system with parameters of type Result | |
---|---|
void |
Space.enqueueResult(Result result)
If the result is non-null it determines if the Result should be drain to a task in the waiting Queue, or if it should be returned to the client. |
void |
Computer2Space.enqueueResult(Result result)
|
Uses of Result in tasks |
---|
Subclasses of Result in tasks | |
---|---|
class |
EuclideanTspResult
Holds the resulting values from a TSP problem |
class |
SudokuResult
|
Methods in tasks that return Result | |
---|---|
Result |
SudokuTask.run(Shared shared)
Finds the next cell in the grid that has not yet been set and spawns children tasks with the possible values set. |
Result |
EuclideanTspTask.run(Shared shared)
Determines whether the size of the TSP is suitable for a single machine, or if it should be broken up into sub-tasks. |
Result |
EuclideanTspMinTask.run(Shared shared)
Computes the minimum of all of the inputs it is given. |
Methods in tasks with parameters of type Result | |
---|---|
void |
SudokuTask.setInput(Result r)
|
void |
EuclideanTspTask.setInput(Result r)
Does nothing because this Task take no inputs. |
void |
EuclideanTspMinTask.setInput(Result r)
Sets one of the inputs for the the min Task. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |