|
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 819 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| ApplyExceptionDuringMoveOrderingDoesNotCallUndo | |||
| ) |
Definition at line 806 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::default_policy(), engine, and Aleph::ExplorationPolicy::move_ordering.
| TEST | ( | BranchAndBoundFramework | , |
| ApplyExceptionDuringVisitedDepthFirstDoesNotCallUndo | |||
| ) |
Definition at line 829 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| ArtificialMaximizationPrunesByBound | |||
| ) |
Definition at line 732 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and Aleph::branch_and_bound_search().
| TEST | ( | BranchAndBoundFramework | , |
| ArtificialMinimizationWorksWithBestFirst | |||
| ) |
Definition at line 762 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), engine, and Aleph::ExplorationPolicy::strategy.
| TEST | ( | BranchAndBoundFramework | , |
| AssignmentBestFirstMatchesDepthFirst | |||
| ) |
Definition at line 994 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::search(), and Aleph::ExplorationPolicy::strategy.
| TEST | ( | BranchAndBoundFramework | , |
| AssignmentMinimizationFindsExpectedOptimum | |||
| ) |
Definition at line 968 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), engine, and Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::search().
| TEST | ( | BranchAndBoundFramework | , |
| BoundOrderedDepthFirstAndBestFirstBeatPlainBadOrder | |||
| ) |
Definition at line 779 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::branch_and_bound_search(), and Aleph::Branch_And_Bound< Domain, ObjectivePolicy >::default_policy().
| TEST | ( | BranchAndBoundFramework | , |
| IncrementalBoundProviderUsedForOrdering | |||
| ) |
Definition at line 1084 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), engine, Aleph::ExplorationPolicy::move_ordering, and Aleph::ExplorationPolicy::stop_at_first_solution.
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackBestFirstMatchesDepthFirst | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackCapacityZeroReturnsEmptySolution | |||
| ) |
Definition at line 1066 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::branch_and_bound_search(), and Aleph::Array< T >::size().
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackFractionalBoundFindsOptimal | |||
| ) |
Definition at line 915 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::branch_and_bound_search(), and Aleph::Array< T >::size().
| TEST | ( | BranchAndBoundFramework | , |
| KnapsackFractionalBoundPrunesMoreThanWeakBound | |||
| ) |
Definition at line 950 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::branch_and_bound_search(), and Aleph::Array< T >::size().
| TEST | ( | BranchAndBoundFramework | , |
| MaxDepthOnePreventsCompleteSolution | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| MaxExpansionsOnePreventsCompleteSolution | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| ObjectivePoliciesAndIncumbentConstruct | |||
| ) |
Definition at line 715 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching().
| TEST | ( | BranchAndBoundFramework | , |
| PostApplyExceptionCallsUndo | |||
| ) |
Definition at line 862 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| PostApplyExceptionDuringVisitedDepthFirstCallsUndo | |||
| ) |
Definition at line 881 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and engine.
| TEST | ( | BranchAndBoundFramework | , |
| StopAtFirstSolutionUsesCommonExplorationPolicy | |||
| ) |
| TEST | ( | BranchAndBoundFramework | , |
| VisitedMapSearchKeepsRecordedBoundsOnSuccess | |||
| ) |
Definition at line 749 of file branch_and_bound_test.cc.
References Aleph::blossom_maximum_cardinality_matching(), and engine.