28namespace TestBullseyes
44 static bool test(
const double testDuration);
This class solves assignment problems using the Hungarian/Kuhn-Munkres algorithm.
Definition AssignmentSolver.h:50
IndexPairs32 Assignments
An alias for a vector of index pairs.
Definition AssignmentSolver.h:60
This class implements a generator for random numbers.
Definition RandomGenerator.h:42
This class implements tests for the AssignmentSolver class.
Definition TestAssignmentSolver.h:36
static bool testSolve(const double testDuration)
Test for AssignmentSolver::solve()
static bool validateSolve(const CostMatrix &costMatrix, const Assignments &assignments)
Validates the result of solve() by checking:
static bool createRandomValidCostMatrix(RandomGenerator &randomGenerator, const size_t rows, const size_t columns, const Scalar minimumCost, const Scalar maximumCost, CostMatrix &costMatrix)
Creates a random valid cost matrix with specified dimensions and cost range.
static bool test(const double testDuration)
Tests the AssignmentSolver functions.
float Scalar
Definition of a scalar type.
Definition Math.h:129
The namespace covering the entire Ocean framework.
Definition Accessor.h:15