RideDistributor  0.0.1
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
RLAPSolverJV Class Reference

#include <RLAPSolverJV.hpp>

Inheritance diagram for RLAPSolverJV:
RLAPSolver

Public Member Functions

 RLAPSolverJV (const Tensor< int > &mat)
 
void solve (Tensor< unsigned > &assignments) override
 

Detailed Description

Implementation for solving the rectangular linear assignment problem (more info here). The solver variant used here is called Jonker-Volgenant algorithm.

This implementation is based on hrldcpr/pyLAPJV, which itself is based on a C implementation by Roy Jonker.

Constructor & Destructor Documentation

RLAPSolverJV::RLAPSolverJV ( const Tensor< int > &  mat)

Constructor for RLAPSolverJV.

Parameters
[in]mat2D-Matrix of cars and rides with earned points

Member Function Documentation

void RLAPSolverJV::solve ( Tensor< unsigned > &  assignments)
overridevirtual

Writes the solution of a given linear assignment problem to a given Tensor (n rows, 2 columns)

Note
Since the required inputs for RLAP solvers differ, they are not specified here
Parameters
assignmentsTensor for the RLAP solution (must have the correct size)

Implements RLAPSolver.


The documentation for this class was generated from the following files: