|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <memory>#include <stdexcept>#include <string>#include <gtest/gtest.h>#include <Knapsack.H>#include <State_Search.H>Go to the source code of this file.
Classes | |
| struct | ThrowingPostApplyDomain |
| struct | ThrowingPostApplyVisitedDomain |
Functions | |
| TEST (BranchAndBoundFramework, ObjectivePoliciesAndIncumbentConstruct) | |
| TEST (BranchAndBoundFramework, ArtificialMaximizationPrunesByBound) | |
| TEST (BranchAndBoundFramework, VisitedMapSearchKeepsRecordedBoundsOnSuccess) | |
| TEST (BranchAndBoundFramework, ArtificialMinimizationWorksWithBestFirst) | |
| TEST (BranchAndBoundFramework, BoundOrderedDepthFirstAndBestFirstBeatPlainBadOrder) | |
| TEST (BranchAndBoundFramework, ApplyExceptionDuringMoveOrderingDoesNotCallUndo) | |
| TEST (BranchAndBoundFramework, ApplyExceptionDuringDepthFirstExpansionDoesNotCallUndo) | |
| TEST (BranchAndBoundFramework, ApplyExceptionDuringVisitedDepthFirstDoesNotCallUndo) | |
| TEST (BranchAndBoundFramework, PostApplyExceptionCallsUndo) | |
| TEST (BranchAndBoundFramework, PostApplyExceptionDuringVisitedDepthFirstCallsUndo) | |
| TEST (BranchAndBoundFramework, StopAtFirstSolutionUsesCommonExplorationPolicy) | |
| TEST (BranchAndBoundFramework, KnapsackFractionalBoundFindsOptimal) | |
| TEST (BranchAndBoundFramework, KnapsackBestFirstMatchesDepthFirst) | |
| TEST (BranchAndBoundFramework, KnapsackFractionalBoundPrunesMoreThanWeakBound) | |
| TEST (BranchAndBoundFramework, AssignmentMinimizationFindsExpectedOptimum) | |
| TEST (BranchAndBoundFramework, AssignmentBestFirstMatchesDepthFirst) | |
| TEST (BranchAndBoundFramework, MaxDepthOnePreventsCompleteSolution) | |
| TEST (BranchAndBoundFramework, MaxExpansionsOnePreventsCompleteSolution) | |
| TEST (BranchAndBoundFramework, KnapsackCapacityZeroReturnsEmptySolution) | |
| TEST (BranchAndBoundFramework, IncrementalBoundProviderUsedForOrdering) | |
| TEST | ( | BranchAndBoundFramework | , |
| ApplyExceptionDuringDepthFirstExpansionDoesNotCallUndo | |||
| ) |
Definition at line 790 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| ApplyExceptionDuringMoveOrderingDoesNotCallUndo | |||
| ) |
Definition at line 777 of file branch_and_bound_test.cc.
References Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::default_policy(), Aleph::divide_and_conquer_partition_dp(), engine, and Aleph::ExplorationPolicy::move_ordering.
| TEST | ( | BranchAndBoundFramework | , |
| ApplyExceptionDuringVisitedDepthFirstDoesNotCallUndo | |||
| ) |
Definition at line 800 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| ArtificialMaximizationPrunesByBound | |||
| ) |
Definition at line 703 of file branch_and_bound_test.cc.
References Aleph::branch_and_bound_search(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | BranchAndBoundFramework | , |
| ArtificialMinimizationWorksWithBestFirst | |||
| ) |
Definition at line 733 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), engine, and Aleph::ExplorationPolicy::strategy.
| TEST | ( | BranchAndBoundFramework | , |
| AssignmentBestFirstMatchesDepthFirst | |||
| ) |
Definition at line 965 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::search(), and Aleph::ExplorationPolicy::strategy.
| TEST | ( | BranchAndBoundFramework | , |
| AssignmentMinimizationFindsExpectedOptimum | |||
| ) |
Definition at line 939 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), engine, and Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::search().
| TEST | ( | BranchAndBoundFramework | , |
| BoundOrderedDepthFirstAndBestFirstBeatPlainBadOrder | |||
| ) |
Definition at line 750 of file branch_and_bound_test.cc.
References Aleph::branch_and_bound_search(), Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::default_policy(), and Aleph::divide_and_conquer_partition_dp().
| TEST | ( | BranchAndBoundFramework | , |
| IncrementalBoundProviderUsedForOrdering | |||
| ) |
Definition at line 1055 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), engine, Aleph::ExplorationPolicy::move_ordering, and Aleph::ExplorationPolicy::stop_at_first_solution.
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackBestFirstMatchesDepthFirst | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackCapacityZeroReturnsEmptySolution | |||
| ) |
Definition at line 1037 of file branch_and_bound_test.cc.
References Aleph::branch_and_bound_search(), Aleph::divide_and_conquer_partition_dp(), and Aleph::Array< T >::size().
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackFractionalBoundFindsOptimal | |||
| ) |
Definition at line 886 of file branch_and_bound_test.cc.
References Aleph::branch_and_bound_search(), Aleph::divide_and_conquer_partition_dp(), and Aleph::Array< T >::size().
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackFractionalBoundPrunesMoreThanWeakBound | |||
| ) |
Definition at line 921 of file branch_and_bound_test.cc.
References Aleph::branch_and_bound_search(), Aleph::divide_and_conquer_partition_dp(), and Aleph::Array< T >::size().
| TEST | ( | BranchAndBoundFramework | , |
| MaxDepthOnePreventsCompleteSolution | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| MaxExpansionsOnePreventsCompleteSolution | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| ObjectivePoliciesAndIncumbentConstruct | |||
| ) |
Definition at line 686 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp().
| TEST | ( | BranchAndBoundFramework | , |
| PostApplyExceptionCallsUndo | |||
| ) |
Definition at line 833 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| PostApplyExceptionDuringVisitedDepthFirstCallsUndo | |||
| ) |
Definition at line 852 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| StopAtFirstSolutionUsesCommonExplorationPolicy | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| VisitedMapSearchKeepsRecordedBoundsOnSuccess | |||
| ) |
Definition at line 720 of file branch_and_bound_test.cc.
References Aleph::divide_and_conquer_partition_dp(), and engine.