Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
branch_and_bound_test.cc File Reference
#include <memory>
#include <stdexcept>
#include <string>
#include <gtest/gtest.h>
#include <Knapsack.H>
#include <State_Search.H>
Include dependency graph for branch_and_bound_test.cc:

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)
 

Function Documentation

◆ TEST() [1/20]

TEST ( BranchAndBoundFramework  ,
ApplyExceptionDuringDepthFirstExpansionDoesNotCallUndo   
)

◆ TEST() [2/20]

TEST ( BranchAndBoundFramework  ,
ApplyExceptionDuringMoveOrderingDoesNotCallUndo   
)

◆ TEST() [3/20]

TEST ( BranchAndBoundFramework  ,
ApplyExceptionDuringVisitedDepthFirstDoesNotCallUndo   
)

◆ TEST() [4/20]

TEST ( BranchAndBoundFramework  ,
ArtificialMaximizationPrunesByBound   
)

◆ TEST() [5/20]

TEST ( BranchAndBoundFramework  ,
ArtificialMinimizationWorksWithBestFirst   
)

◆ TEST() [6/20]

TEST ( BranchAndBoundFramework  ,
AssignmentBestFirstMatchesDepthFirst   
)

◆ TEST() [7/20]

TEST ( BranchAndBoundFramework  ,
AssignmentMinimizationFindsExpectedOptimum   
)

◆ TEST() [8/20]

TEST ( BranchAndBoundFramework  ,
BoundOrderedDepthFirstAndBestFirstBeatPlainBadOrder   
)

◆ TEST() [9/20]

TEST ( BranchAndBoundFramework  ,
IncrementalBoundProviderUsedForOrdering   
)

◆ TEST() [10/20]

◆ TEST() [11/20]

TEST ( BranchAndBoundFramework  ,
KnapsackCapacityZeroReturnsEmptySolution   
)

◆ TEST() [12/20]

TEST ( BranchAndBoundFramework  ,
KnapsackFractionalBoundFindsOptimal   
)

◆ TEST() [13/20]

TEST ( BranchAndBoundFramework  ,
KnapsackFractionalBoundPrunesMoreThanWeakBound   
)

◆ TEST() [14/20]

◆ TEST() [15/20]

◆ TEST() [16/20]

TEST ( BranchAndBoundFramework  ,
ObjectivePoliciesAndIncumbentConstruct   
)

◆ TEST() [17/20]

TEST ( BranchAndBoundFramework  ,
PostApplyExceptionCallsUndo   
)

◆ TEST() [18/20]

TEST ( BranchAndBoundFramework  ,
PostApplyExceptionDuringVisitedDepthFirstCallsUndo   
)

◆ TEST() [19/20]

◆ TEST() [20/20]

TEST ( BranchAndBoundFramework  ,
VisitedMapSearchKeepsRecordedBoundsOnSuccess   
)