|
|||||||||
| 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.applications.branchandbound.BranchAndBound
public class BranchAndBound
| Field Summary |
|---|
| Fields inherited from class edu.ucsb.cs.jicos.services.Task |
|---|
ALL_INPUTS |
| Constructor Summary | |
|---|---|
BranchAndBound(Solution solution)
Used to construct a BranchAndBound task that corresponds to the search subtree represented by the Solution passed to it as its argument. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(Environment environment)
The method that searches the search tree. |
Solution |
getSolution()
|
void |
setSolution(Solution solution)
|
| Methods inherited from class edu.ucsb.cs.jicos.services.Task |
|---|
compute, execute, executeIncrementally, executeOnServer, 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 BranchAndBound(Solution solution)
solution - A partial solution to the problem. It represents a search
subtree. Initially, this would be the "starting" solution.| Method Detail |
|---|
public java.lang.Object execute(Environment environment)
execute in class Taskenvironment - Contains the the problem input & the shared object. The latter
holds the cost of the best solution found so far.
public Solution getSolution()
public void setSolution(Solution solution)
solution - The solution to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||