mirror of
https://github.com/mrfluffy-dev/lpr.git
synced 2026-01-17 02:10:33 +00:00
26 lines
657 B
C#
26 lines
657 B
C#
using BusinessLogic.Algorithms;
|
|
using Common;
|
|
using DataAccess;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BusinessLogic
|
|
{
|
|
public class ModelSolver
|
|
{
|
|
public static void Solve(Model model, Algorithm algorithm)
|
|
{
|
|
algorithm.PutModelInCanonicalForm(model);
|
|
|
|
algorithm.Solve(model);
|
|
|
|
Console.Clear();
|
|
Console.WriteLine("Here is the solution:");
|
|
Console.WriteLine("=========================================================================================================");
|
|
}
|
|
}
|
|
}
|