18 lines
404 B
C#
18 lines
404 B
C#
![]() |
namespace Obi
|
|||
|
{
|
|||
|
public class ComputeBackend : IObiBackend
|
|||
|
{
|
|||
|
#region Solver
|
|||
|
public ISolverImpl CreateSolver(ObiSolver solver, int capacity)
|
|||
|
{
|
|||
|
return new ComputeSolverImpl(solver);
|
|||
|
}
|
|||
|
public void DestroySolver(ISolverImpl solver)
|
|||
|
{
|
|||
|
if (solver != null)
|
|||
|
solver.Destroy();
|
|||
|
}
|
|||
|
#endregion
|
|||
|
}
|
|||
|
}
|