Package topics.branchandbound.util
package topics.branchandbound.util
Utility classes shared by branch-and-bound implementations.
Provides the priority-queue-based infrastructure (heap and node structures)
and the core best-first search logic used by the branch-and-bound algorithms
in topics.branchandbound.
Classes in This Package
BranchAndBound— best-first B&B driverHeap— min/max heap implementationNode— search-tree node with cost and bound
-
ClassesClassDescriptionMain class to solve problems using the Branch and Bound technique We need to extend it for any specific problemTo save and sort the nodes that are going to be usedTo 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 queue