mirror of
https://github.com/mrfluffy-dev/lpr.git
synced 2026-01-17 10:20:33 +00:00
Lets gooooo
This commit is contained in:
25
BusinessLogic/ModelSolver.cs
Normal file
25
BusinessLogic/ModelSolver.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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("=========================================================================================================");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user