|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.branchnbound.ProActiveBranchNBound
public class ProActiveBranchNBound
This class contains all static methods to get Manager for solving the Branch and Bound porblem with a given root task.
The returned Manager is a ProActive Active Object. This object aims to configure and to handle the computation.
Manager
Constructor Summary | |
---|---|
ProActiveBranchNBound()
|
Method Summary | |
---|---|
static Manager |
newBnB(Task root,
Node managerNode,
Node[][] nodes,
java.lang.String queueType)
Create a new activate Manager with the given root task. |
static Manager |
newBnB(Task root,
Node managerNode,
Node[] nodes,
java.lang.String queueType)
Create a new activate Manager with the given root task. |
static Manager |
newBnB(Task root,
VirtualNode[] virtualNodes,
java.lang.String queueType)
Create a new activate Manager with the given root task. |
static Manager |
newBnB(Task root,
VirtualNode virtualNode,
java.lang.String queueType)
Create a new activate Manager with the given root task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProActiveBranchNBound()
Method Detail |
---|
public static Manager newBnB(Task root, Node managerNode, Node[] nodes, java.lang.String queueType) throws ActiveObjectCreationException, NodeException
root
- the root Task.managerNode
- the Node where the Manager will be activate.nodes
- an array of Nodes for distributing the computation.queueType
- the Java class name of the Branch and Bound Queue. This
class must implement the interface TaskQueue.
ActiveObjectCreationException
- a problem occured while activating
the Manager.
NodeException
- a problem with managerNode
.Manager
,
Task
,
TaskQueue
public static Manager newBnB(Task root, VirtualNode virtualNode, java.lang.String queueType) throws ActiveObjectCreationException, NodeException
root
- the root Task.virtualNode
- this contains a set of Nodes for distributing the
computation.queueType
- the Java class name of the Branch and Bound Queue. This
class must implement the interface TaskQueue.
ActiveObjectCreationException
- a problem occured while activating
the Manager.
NodeException
- a problem with the default node.Manager
,
Task
,
TaskQueue
public static Manager newBnB(Task root, Node managerNode, Node[][] nodes, java.lang.String queueType) throws ActiveObjectCreationException, NodeException
root
- the root Task.managerNode
- the Node where the Manager will be activate.nodes
- an array of array of Nodes for distributing the computation
with using hierachic group communication, with node[i][j]
is a sub-group.queueType
- the Java class name of the Branch and Bound Queue. This
class must implement the interface TaskQueue.
ActiveObjectCreationException
- a problem occured while activating
the Manager.
NodeException
- a problem with managerNode
.Manager
,
Task
,
TaskQueue
public static Manager newBnB(Task root, VirtualNode[] virtualNodes, java.lang.String queueType) throws ActiveObjectCreationException, NodeException
Create a new activate Manager with the given root task. Using hierachic ProActive group communication. The Manager is activate in the local default node of the current JVM.
It is strongly recommended to **NOT ACTIVATE** the passed virtual nodes. Because, the framework uses an optimzed way to deploying the computation.
Also, we recomend to you that to use a vitural node by clusters or sites for optimizing communication and active object creation.
root
- the root Task.virtualNodes
- for distributing the computation with using hierachic
group communication, with virtualNodes[i]
is a sub-group.queueType
- e Java class name of the Branch and Bound Queue. This
class must implement the interface TaskQueue.
ActiveObjectCreationException
- a problem occured while activating
the Manager.
NodeException
- a problem with the default node.Manager
,
Task
,
TaskQueue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |