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

#include <RLAPSolver.hpp>

Inheritance diagram for RLAPSolver:
RLAPSolverHungarian RLAPSolverJV

Public Member Functions

virtual void solve (Tensor< unsigned > &assignments)=0
 

Detailed Description

This is an abstract representation of a rectangular linear assignment problem solver.

Note
Additional input needed by specific implementations should be in the constructor.

Member Function Documentation

virtual void RLAPSolver::solve ( Tensor< unsigned > &  assignments)
pure virtual

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)

Implemented in RLAPSolverJV, and RLAPSolverHungarian.


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