Uses of Class
topics.branchandbound.util.Node
Packages that use Node
Package
Description
Utility classes shared by branch-and-bound implementations.
Multi-threaded branch-and-bound utilities.
-
Uses of Node in topics.branchandbound.util
Classes in topics.branchandbound.util that implement interfaces with type arguments of type NodeModifier and TypeClassDescriptionclassTo represent the different states of a problem in the graph For each problem, we should extend this class with specific information We also need to compare Nodes because it is the way to compare them in the priority queueFields in topics.branchandbound.util declared as NodeModifier and TypeFieldDescriptionprotected NodeBranchAndBound.bestNodeprotected NodeBranchAndBound.rootNodeFields in topics.branchandbound.util with type parameters of type NodeMethods in topics.branchandbound.util that return NodeModifier and TypeMethodDescriptionHeap.extractBestNode()Retrieves and removes the first element of the priority queueBranchAndBound.getBestNode()Gets the best nodeBranchAndBound.getRootNode()Gets the root nodeMethods in topics.branchandbound.util that return types with arguments of type NodeModifier and TypeMethodDescriptionNode.expand()Heap.extractUsedNodesFrom(Node node) Extracts the nodes from a specific node (e.g., the solution) to the root nodeMethods in topics.branchandbound.util with parameters of type NodeModifier and TypeMethodDescriptionvoidBranchAndBound.branchAndBound(Node rootNode) Manages all the process, from the beginning to the endintbooleanCompares whether two nodes are equal using the ToString methodHeap.extractUsedNodesFrom(Node node) Extracts the nodes from a specific node (e.g., the solution) to the root nodevoidInserts a new node in the priority queue -
Uses of Node in topics.branchandbound.util.threads
Fields in topics.branchandbound.util.threads declared as NodeModifier and TypeFieldDescriptionprotected static NodeBranchAndBoundThreads.bestNodeprotected static NodeBranchAndBoundThreads.rootNodeMethods in topics.branchandbound.util.threads that return NodeModifier and TypeMethodDescriptionHeapThreads.extractBestNode()Retrieves and removes the first element of the priority queueBranchAndBoundThreads.getBestNode()Gets the best nodeBranchAndBoundThreads.getRootNode()Gets the root nodeMethods in topics.branchandbound.util.threads that return types with arguments of type NodeModifier and TypeMethodDescriptionHeapThreads.extractUsedNodesFrom(Node node) Extracts the nodes from a specific node (e.g., the solution) to the root nodeMethods in topics.branchandbound.util.threads with parameters of type NodeModifier and TypeMethodDescriptionvoidBranchAndBoundThreads.branchAndBound(Node rootNode, int numberOfThreads) Manages all the process, from the beginning to the endHeapThreads.extractUsedNodesFrom(Node node) Extracts the nodes from a specific node (e.g., the solution) to the root nodevoidInserts a new node in the priority queue