diff --git a/karnaugh-map/CS-kmap/.vs/KarnaughMap/DesignTimeBuild/.dtbcache.v2 b/karnaugh-map/CS-kmap/.vs/KarnaughMap/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..ab5d8dd Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/KarnaughMap/DesignTimeBuild/.dtbcache.v2 differ diff --git a/karnaugh-map/CS-kmap/.vs/KarnaughMap/FileContentIndex/1e76fbd5-3f54-43c4-8beb-780bf49bc129.vsidx b/karnaugh-map/CS-kmap/.vs/KarnaughMap/FileContentIndex/1e76fbd5-3f54-43c4-8beb-780bf49bc129.vsidx new file mode 100644 index 0000000..5d56baf Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/KarnaughMap/FileContentIndex/1e76fbd5-3f54-43c4-8beb-780bf49bc129.vsidx differ diff --git a/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/.futdcache.v2 b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/.futdcache.v2 new file mode 100644 index 0000000..53d9ec7 Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/.futdcache.v2 differ diff --git a/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/.suo b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/.suo new file mode 100644 index 0000000..476ec2b Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/.suo differ diff --git a/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/DocumentLayout.backup.json b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..7c765bd --- /dev/null +++ b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/DocumentLayout.backup.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{0F8F1431-618F-4C41-BDAF-1FA509805E7C}|KarnaughMap.csproj|r:\\prg\\kmap-solver\\karnaugh-map\\cs-kmap\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0F8F1431-618F-4C41-BDAF-1FA509805E7C}|KarnaughMap.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\Program.cs", + "RelativeDocumentMoniker": "Program.cs", + "ToolTip": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\Program.cs", + "RelativeToolTip": "Program.cs", + "ViewState": "AgIAANQAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-10-01T09:21:12.658Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/DocumentLayout.json b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/DocumentLayout.json new file mode 100644 index 0000000..3b87291 --- /dev/null +++ b/karnaugh-map/CS-kmap/.vs/KarnaughMap/v17/DocumentLayout.json @@ -0,0 +1,37 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{0F8F1431-618F-4C41-BDAF-1FA509805E7C}|KarnaughMap.csproj|r:\\prg\\kmap-solver\\karnaugh-map\\cs-kmap\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{0F8F1431-618F-4C41-BDAF-1FA509805E7C}|KarnaughMap.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\Program.cs", + "RelativeDocumentMoniker": "Program.cs", + "ToolTip": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\Program.cs", + "RelativeToolTip": "Program.cs", + "ViewState": "AgIAAJ4AAAAAAAAAAAAAAOAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-10-01T09:21:12.658Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.metadata.v9.bin b/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.metadata.v9.bin new file mode 100644 index 0000000..89e1014 Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.metadata.v9.bin differ diff --git a/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.projects.v9.bin b/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.projects.v9.bin new file mode 100644 index 0000000..b3a1fa0 Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.projects.v9.bin differ diff --git a/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.strings.v9.bin b/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.strings.v9.bin new file mode 100644 index 0000000..109325b Binary files /dev/null and b/karnaugh-map/CS-kmap/.vs/ProjectEvaluation/karnaughmap.strings.v9.bin differ diff --git a/karnaugh-map/KarnaughMap/KarnaughMap.csproj b/karnaugh-map/CS-kmap/KarnaughMap.csproj similarity index 80% rename from karnaugh-map/KarnaughMap/KarnaughMap.csproj rename to karnaugh-map/CS-kmap/KarnaughMap.csproj index f02677b..91b464a 100644 --- a/karnaugh-map/KarnaughMap/KarnaughMap.csproj +++ b/karnaugh-map/CS-kmap/KarnaughMap.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net8.0 enable enable diff --git a/karnaugh-map/KarnaughMap.sln b/karnaugh-map/CS-kmap/KarnaughMap.sln similarity index 92% rename from karnaugh-map/KarnaughMap.sln rename to karnaugh-map/CS-kmap/KarnaughMap.sln index 979d5e0..ee5bec8 100644 --- a/karnaugh-map/KarnaughMap.sln +++ b/karnaugh-map/CS-kmap/KarnaughMap.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.7.34018.315 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KarnaughMap", "KarnaughMap\KarnaughMap.csproj", "{0F8F1431-618F-4C41-BDAF-1FA509805E7C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KarnaughMap", "KarnaughMap.csproj", "{0F8F1431-618F-4C41-BDAF-1FA509805E7C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/karnaugh-map/CS-kmap/Program.cs b/karnaugh-map/CS-kmap/Program.cs new file mode 100644 index 0000000..5d1582f --- /dev/null +++ b/karnaugh-map/CS-kmap/Program.cs @@ -0,0 +1,227 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +class Program +{ + // funkce vraci znak s negaci nad pismenem + static string Overbar(string s) + { + return s switch + { + "A" => "Ā", // a s negaci + "B" => "B̄", // b s negaci + "C" => "C̄", // c s negaci + "D" => "D̄", // d s negaci + _ => s // jinak vrati puvodni znak + }; + } + + static void Main() + { + do + { + string[,] map = new string[4, 4]; // prazdna 4x4 karnaugh mapa + + // inicializace vsech bunek na "N" (nezadano) + for (int r = 0; r < 4; r++) + for (int c = 0; c < 4; c++) + map[r, c] = "N"; + + // zadavani hodnot pro kazdou bunku + for (int r = 0; r < 4; r++) + { + for (int c = 0; c < 4; c++) + { + Console.Clear(); + map[r, c] = "K"; // oznaci aktualni bunku + PrintMap(map, true); // vykresli mapu s instrukcemi + Console.Write($"Zadej hodnotu pro ({r},{c}) [0 = záporná, 1 = kladná, X = nevadí]: "); + string input = Console.ReadLine()!.Trim().ToUpper(); + if (input != "0" && input != "1" && input != "X") input = "0"; // default na 0 + map[r, c] = input; + } + } + + Console.Clear(); + Console.WriteLine("Karnaughova mapa:"); + PrintMap(map, false); // vykresli hotovou mapu + + Console.WriteLine("\nZjednodušený výraz:"); + string result = CalculateExpression(map); // spocita zjednoduseny bool vyraz + Console.WriteLine(result); + + Console.WriteLine("\nPokračovat? (Y/N nebo Escape)"); //tohle je jen kontrola jestli bylo zmacknuty N nebo Y aby se program vypl + ConsoleKeyInfo keyInfo = Console.ReadKey(true); + if (keyInfo.Key == ConsoleKey.N || keyInfo.Key == ConsoleKey.Escape) + break; + } while (true); + } + + static void PrintMap(string[,] map, bool showInstructions) //funguje jako legenda pro pochopeni programu a vypisuje se nonstop + { + string[] rowLabels = { "(ĀB̄)", "(ĀB)", "(AB)", "(A B̄)" }; + string[] colLabels = { "(C̄D̄)", "(C̄D)", "(CD)", "(C D̄)" }; + Console.Write(" "); + foreach (var col in colLabels) + Console.Write(col.PadRight(6)); + Console.WriteLine(); + + for (int r = 0; r < 4; r++) + { + Console.Write(rowLabels[r].PadRight(8)); + for (int c = 0; c < 4; c++) + Console.Write(map[r, c].PadRight(6)); + Console.WriteLine(); + } + + if (showInstructions) + { + Console.WriteLine(); + Console.WriteLine("Legenda:"); + Console.WriteLine("0 = záporná hodnota (FALSE)"); + Console.WriteLine("1 = kladná hodnota (TRUE)"); + Console.WriteLine("X = nevadí (Don't Care) - může být 0 nebo 1"); + Console.WriteLine("K = aktuální vybraná buňka"); + Console.WriteLine("N = zatím nezadáno (není specifikováno)"); + Console.WriteLine(); + } + } + + // hlavni funkce na vypocet zjednoduseneho vyrazu + static string CalculateExpression(string[,] map) + { + // prevod mapy na cisla: 1 = TRUE, 0 = FALSE, -1 = X (dont care) + int[,] binMap = new int[4, 4]; + for (int r = 0; r < 4; r++) + for (int c = 0; c < 4; c++) + binMap[r, c] = map[r, c] == "1" ? 1 : map[r, c] == "X" ? -1 : 0; + + var terms = new List(); // sem se budou pridavat vysledne cleny + + // gray kod pro radky a sloupce + // zakladni matematicky princip: sousedici bunky se lisí jen v jednom bitu + string[] rowGray = { "00", "01", "11", "10" }; + string[] colGray = { "00", "01", "11", "10" }; + + bool[,] used = new bool[4, 4]; // zaznam, ktere bunky uz byly pokryty + + // funkce kontroluje, jestli blok bunek je validni pro sjednoceni + bool CheckGroup(int rStart, int cStart, int height, int width) + { + bool hasOne = false; // musi byt alespon jedna 1 + for (int dr = 0; dr < height; dr++) + { + for (int dc = 0; dc < width; dc++) + { + int rr = (rStart + dr) % 4; // wraparound mapy po radcich + int cc = (cStart + dc) % 4; // wraparound mapy po sloupcich + if (binMap[rr, cc] == 0) return false; // pokud je 0, blok nelze pouzit + if (binMap[rr, cc] == 1) hasOne = true; // aspon jedna 1 + } + } + return hasOne; + } + + // oznaci bunky v bloku jako pouzite + void MarkUsed(int rStart, int cStart, int height, int width) + { + for (int dr = 0; dr < height; dr++) // projdi vsechny radky bloku + for (int dc = 0; dc < width; dc++) // projdi vsechny sloupce bloku + { + int rr = (rStart + dr) % 4; // vypocitej index radku s wraparoundem po 4 + int cc = (cStart + dc) % 4; // vypocitej index sloupce s wraparoundem po 4 + used[rr, cc] = true; // oznac bunku jako pouzitou, aby se dalsi bloky na ni nepripocitavaly + } + } + + // prevede blok bunek na minimalizovany logicky clan (A,B,C,D s negacemi) + string GroupToTerm(int rStart, int cStart, int height, int width) + { + var rowsBits = new List(); // sem ulozime gray kody radku pro blok + var colsBits = new List(); // sem ulozime gray kody sloupcu pro blok + for (int dr = 0; dr < height; dr++) + rowsBits.Add(rowGray[(rStart + dr) % 4]); // pridej gray kod radku s wraparoundem + for (int dc = 0; dc < width; dc++) + colsBits.Add(colGray[(cStart + dc) % 4]); // pridej gray kod sloupce s wraparoundem + + string term = ""; // inicializace vysledneho logickeho clenu + + // A je urceno prvnim bitem radku + bool A_const = true; // predpokladame, ze hodnota A je konstantni v bloku + char A_val = rowsBits[0][0]; // vezmeme prvni hodnotu A z prvniho radku + foreach (var rb in rowsBits) + if (rb[0] != A_val) A_const = false; // pokud se nektery radek lisi, A neni konstantni + if (A_const) term += A_val == '0' ? Overbar("A") : "A"; // pridame A nebo A negaci do termu + + // B je urceno druhem bitem radku + bool B_const = true; // predpokladame, ze B je konstantni + char B_val = rowsBits[0][1]; // vezmeme hodnotu B z prvniho radku + foreach (var rb in rowsBits) + if (rb[1] != B_val) B_const = false; // pokud se nektery radek lisi, B vynechame + if (B_const) term += B_val == '0' ? Overbar("B") : "B"; // pridame B nebo B negaci + + // C je urceno prvnim bitem sloupce + bool C_const = true; // predpokladame konstantni C + char C_val = colsBits[0][0]; // vezmeme hodnotu C z prvniho sloupce + foreach (var cb in colsBits) + if (cb[0] != C_val) C_const = false; // pokud se nektery sloupec lisi, C vynechame + if (C_const) term += C_val == '0' ? Overbar("C") : "C"; // pridame C nebo C negaci + + // D je urceno druhem bitem sloupce + bool D_const = true; // predpokladame konstantni D + char D_val = colsBits[0][1]; // vezmeme hodnotu D z prvniho sloupce + foreach (var cb in colsBits) + if (cb[1] != D_val) D_const = false; // pokud se nektery sloupec lisi, D vynechame + if (D_const) term += D_val == '0' ? Overbar("D") : "D"; // pridame D nebo D negaci + + if (term == "") // pokud zadna promenna neni konstantni v bloku + term = "1"; // pak clan je jen logicka 1 (pravda) + + return term; // vrat minimalizovany logicky clan + } + + // vsechny mozne velikosti bloku, od nejvetsi po nejmensi pro maximalni minimalizaci + var blockSizes = new List<(int h, int w)> +{ + (4, 4), (4, 2), (2, 4), (4, 1), (1, 4), (2, 2), (2, 1), (1, 2), (1,1) +}; + + // projdi vsechny bloky a vytvor minimalizovane cleny + foreach (var (h, w) in blockSizes) // pro kazdou velikost bloku + { + for (int r0 = 0; r0 < 4; r0++) // pro kazdy radek jako start bloku + { + for (int c0 = 0; c0 < 4; c0++) // pro kazdy sloupec jako start bloku + { + if (CheckGroup(r0, c0, h, w)) // pokud je blok validni (obsahuje jen 1 a X a alespon jednu 1) + { + string term = GroupToTerm(r0, c0, h, w); // preved blok na minimalizovany clan + bool coversNew = false; // kontrola, jestli blok kryje nove bunky + + // zjisti, jestli blok obsahuje alespon jednu novou bunku + for (int dr = 0; dr < h; dr++) + for (int dc = 0; dc < w; dc++) + { + int rr = (r0 + dr) % 4; // wraparound radku + int cc = (c0 + dc) % 4; // wraparound sloupcu + if (!used[rr, cc]) coversNew = true; // pokud je bunky nove nepouzita, nastav true + } + + // pokud kryje nove bunky a term jeste neni pridany, pridej ho + if (coversNew && !terms.Contains(term)) + { + terms.Add(term); // pridej clan do vysledneho seznamu + MarkUsed(r0, c0, h, w); // oznac bunky jako pouzite + } + } + } + } + } + + if (terms.Count == 0) // pokud se nenasel zadny validni blok + return "0"; // vrat logickou nulu + return string.Join(" + ", terms); // jinak spoj vsechny cleny logickym OR + + } +} diff --git a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.deps.json b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.deps.json similarity index 100% rename from karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.deps.json rename to karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.deps.json diff --git a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.dll b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.dll similarity index 90% rename from karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.dll rename to karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.dll index 19d6bc9..003e286 100644 Binary files a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.dll and b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.dll differ diff --git a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.exe b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.exe similarity index 99% rename from karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.exe rename to karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.exe index 7e052a7..daa5fc1 100644 Binary files a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.exe and b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.exe differ diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.pdb b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.pdb similarity index 94% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.pdb rename to karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.pdb index 88348de..42fadbd 100644 Binary files a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.pdb and b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.pdb differ diff --git a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json b/karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json similarity index 100% rename from karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json rename to karnaugh-map/CS-kmap/bin/Debug/net7.0/KarnaughMap.runtimeconfig.json diff --git a/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.deps.json b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.deps.json new file mode 100644 index 0000000..4a6ed5f --- /dev/null +++ b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": { + "KarnaughMap/1.0.0": { + "runtime": { + "KarnaughMap.dll": {} + } + } + } + }, + "libraries": { + "KarnaughMap/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.dll b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.dll new file mode 100644 index 0000000..7b6221c Binary files /dev/null and b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.dll differ diff --git a/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.exe b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.exe new file mode 100644 index 0000000..c722a4d Binary files /dev/null and b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.exe differ diff --git a/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.pdb b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.pdb new file mode 100644 index 0000000..d3bb8a9 Binary files /dev/null and b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.pdb differ diff --git a/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.runtimeconfig.json b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.runtimeconfig.json new file mode 100644 index 0000000..becfaea --- /dev/null +++ b/karnaugh-map/CS-kmap/bin/Debug/net8.0/KarnaughMap.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/karnaugh-map/CS-kmap/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs similarity index 100% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.AssemblyInfo.cs b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.AssemblyInfo.cs similarity index 94% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.AssemblyInfo.cs rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.AssemblyInfo.cs index 03cc209..8b54137 100644 --- a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.AssemblyInfo.cs +++ b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("KarnaughMap")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+07856709b5ec8302157b41b72353a5a9f2c3d9a6")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+74c6a872546677f322ac3b2a7973154fe3543dc1")] [assembly: System.Reflection.AssemblyProductAttribute("KarnaughMap")] [assembly: System.Reflection.AssemblyTitleAttribute("KarnaughMap")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.AssemblyInfoInputs.cache b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.AssemblyInfoInputs.cache new file mode 100644 index 0000000..fd7e434 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +9599c76307378650c19ce67e92e1f34d0b326c9372c6a069ee2d4ce4246edccc diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig similarity index 89% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig index da30fa2..a8fec12 100644 --- a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig +++ b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig @@ -8,7 +8,7 @@ build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = KarnaughMap -build_property.ProjectDir = R:\PRG\Kmap-solver\karnaugh-map\KarnaughMap\ +build_property.ProjectDir = R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = build_property.EffectiveAnalysisLevelStyle = 7.0 diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.GlobalUsings.g.cs b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.GlobalUsings.g.cs similarity index 100% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.GlobalUsings.g.cs rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.GlobalUsings.g.cs diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.assets.cache b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.assets.cache similarity index 72% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.assets.cache rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.assets.cache index 2e1398c..7b78d15 100644 Binary files a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.assets.cache and b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.assets.cache differ diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.BuildWithSkipAnalyzers b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.BuildWithSkipAnalyzers similarity index 100% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.BuildWithSkipAnalyzers rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.BuildWithSkipAnalyzers diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache similarity index 100% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.CoreCompileInputs.cache diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt similarity index 66% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt index 6b9e224..229d509 100644 --- a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt +++ b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.csproj.FileListAbsolute.txt @@ -26,3 +26,17 @@ R:\PRG\Kmap-solver\karnaugh-map\KarnaughMap\obj\Debug\net7.0\refint\KarnaughMap. R:\PRG\Kmap-solver\karnaugh-map\KarnaughMap\obj\Debug\net7.0\KarnaughMap.pdb R:\PRG\Kmap-solver\karnaugh-map\KarnaughMap\obj\Debug\net7.0\KarnaughMap.genruntimeconfig.cache R:\PRG\Kmap-solver\karnaugh-map\KarnaughMap\obj\Debug\net7.0\ref\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net7.0\KarnaughMap.exe +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net7.0\KarnaughMap.deps.json +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net7.0\KarnaughMap.runtimeconfig.json +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net7.0\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net7.0\KarnaughMap.pdb +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.AssemblyInfoInputs.cache +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.AssemblyInfo.cs +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.csproj.CoreCompileInputs.cache +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\refint\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.pdb +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\KarnaughMap.genruntimeconfig.cache +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net7.0\ref\KarnaughMap.dll diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.dll b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.dll similarity index 90% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.dll rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.dll index 19d6bc9..003e286 100644 Binary files a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.dll and b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.dll differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache new file mode 100644 index 0000000..f289c57 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache @@ -0,0 +1 @@ +cc107c347ba09d34d62fca1a102d12d3c486d63954f2d27ad63149bff1c44ab6 diff --git a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.pdb b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.pdb similarity index 94% rename from karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.pdb rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.pdb index 88348de..42fadbd 100644 Binary files a/karnaugh-map/KarnaughMap/bin/Debug/net7.0/KarnaughMap.pdb and b/karnaugh-map/CS-kmap/obj/Debug/net7.0/KarnaughMap.pdb differ diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/apphost.exe b/karnaugh-map/CS-kmap/obj/Debug/net7.0/apphost.exe similarity index 99% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/apphost.exe rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/apphost.exe index 7e052a7..daa5fc1 100644 Binary files a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/apphost.exe and b/karnaugh-map/CS-kmap/obj/Debug/net7.0/apphost.exe differ diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/refint/KarnaughMap.dll b/karnaugh-map/CS-kmap/obj/Debug/net7.0/ref/KarnaughMap.dll similarity index 93% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/refint/KarnaughMap.dll rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/ref/KarnaughMap.dll index 02eac1c..4c95325 100644 Binary files a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/refint/KarnaughMap.dll and b/karnaugh-map/CS-kmap/obj/Debug/net7.0/ref/KarnaughMap.dll differ diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/ref/KarnaughMap.dll b/karnaugh-map/CS-kmap/obj/Debug/net7.0/refint/KarnaughMap.dll similarity index 93% rename from karnaugh-map/KarnaughMap/obj/Debug/net7.0/ref/KarnaughMap.dll rename to karnaugh-map/CS-kmap/obj/Debug/net7.0/refint/KarnaughMap.dll index 02eac1c..4c95325 100644 Binary files a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/ref/KarnaughMap.dll and b/karnaugh-map/CS-kmap/obj/Debug/net7.0/refint/KarnaughMap.dll differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/karnaugh-map/CS-kmap/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.AssemblyInfo.cs b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.AssemblyInfo.cs new file mode 100644 index 0000000..8b54137 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Tento kód byl generován nástrojem. +// Verze modulu runtime:4.0.30319.42000 +// +// Změny tohoto souboru mohou způsobit nesprávné chování a budou ztraceny, +// dojde-li k novému generování kódu. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("KarnaughMap")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+74c6a872546677f322ac3b2a7973154fe3543dc1")] +[assembly: System.Reflection.AssemblyProductAttribute("KarnaughMap")] +[assembly: System.Reflection.AssemblyTitleAttribute("KarnaughMap")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Vygenerované třídou WriteCodeFragment nástroje MSBuild + diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.AssemblyInfoInputs.cache b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.AssemblyInfoInputs.cache new file mode 100644 index 0000000..fd7e434 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +9599c76307378650c19ce67e92e1f34d0b326c9372c6a069ee2d4ce4246edccc diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..dc18785 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,15 @@ +is_global = true +build_property.TargetFramework = net8.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = KarnaughMap +build_property.ProjectDir = R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 8.0 +build_property.EnableCodeStyleSeverity = diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.GlobalUsings.g.cs b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.assets.cache b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.assets.cache new file mode 100644 index 0000000..58c729f Binary files /dev/null and b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.assets.cache differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.BuildWithSkipAnalyzers b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.CoreCompileInputs.cache b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..bf95452 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +ef64d6ebddacddb47aed6d0562ee0d227ee03f9f15d57a531a0e4d71e501c616 diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.FileListAbsolute.txt b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..ffbd04f --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net8.0\KarnaughMap.exe +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net8.0\KarnaughMap.deps.json +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net8.0\KarnaughMap.runtimeconfig.json +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net8.0\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\bin\Debug\net8.0\KarnaughMap.pdb +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.GeneratedMSBuildEditorConfig.editorconfig +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.AssemblyInfoInputs.cache +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.AssemblyInfo.cs +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.csproj.CoreCompileInputs.cache +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\refint\KarnaughMap.dll +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.pdb +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\KarnaughMap.genruntimeconfig.cache +R:\PRG\Kmap-solver\karnaugh-map\CS-kmap\obj\Debug\net8.0\ref\KarnaughMap.dll diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.dll b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.dll new file mode 100644 index 0000000..7b6221c Binary files /dev/null and b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.dll differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.genruntimeconfig.cache b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.genruntimeconfig.cache new file mode 100644 index 0000000..5a2e9ac --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.genruntimeconfig.cache @@ -0,0 +1 @@ +4d13c624999dec0078d2e7a15afec2931e74a16e2cccfd04182c08efbb58f2cd diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.pdb b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.pdb new file mode 100644 index 0000000..d3bb8a9 Binary files /dev/null and b/karnaugh-map/CS-kmap/obj/Debug/net8.0/KarnaughMap.pdb differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/apphost.exe b/karnaugh-map/CS-kmap/obj/Debug/net8.0/apphost.exe new file mode 100644 index 0000000..c722a4d Binary files /dev/null and b/karnaugh-map/CS-kmap/obj/Debug/net8.0/apphost.exe differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/ref/KarnaughMap.dll b/karnaugh-map/CS-kmap/obj/Debug/net8.0/ref/KarnaughMap.dll new file mode 100644 index 0000000..99d87cc Binary files /dev/null and b/karnaugh-map/CS-kmap/obj/Debug/net8.0/ref/KarnaughMap.dll differ diff --git a/karnaugh-map/CS-kmap/obj/Debug/net8.0/refint/KarnaughMap.dll b/karnaugh-map/CS-kmap/obj/Debug/net8.0/refint/KarnaughMap.dll new file mode 100644 index 0000000..99d87cc Binary files /dev/null and b/karnaugh-map/CS-kmap/obj/Debug/net8.0/refint/KarnaughMap.dll differ diff --git a/karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.dgspec.json b/karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.dgspec.json similarity index 63% rename from karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.dgspec.json rename to karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.dgspec.json index 5f88059..f04d3ec 100644 --- a/karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.dgspec.json +++ b/karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.dgspec.json @@ -1,17 +1,17 @@ { "format": 1, "restore": { - "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj": {} + "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj": {} }, "projects": { - "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj": { + "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj", + "projectUniqueName": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj", "projectName": "KarnaughMap", - "projectPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj", + "projectPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj", "packagesPath": "C:\\Users\\dominik.zatko\\.nuget\\packages\\", - "outputPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\obj\\", + "outputPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -22,7 +22,7 @@ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ - "net7.0" + "net8.0" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, @@ -30,8 +30,8 @@ "https://api.nuget.org/v3/index.json": {} }, "frameworks": { - "net7.0": { - "targetAlias": "net7.0", + "net8.0": { + "targetAlias": "net8.0", "projectReferences": {} } }, @@ -48,8 +48,8 @@ "SdkAnalysisLevel": "9.0.100" }, "frameworks": { - "net7.0": { - "targetAlias": "net7.0", + "net8.0": { + "targetAlias": "net8.0", "imports": [ "net461", "net462", @@ -61,30 +61,12 @@ ], "assetTargetFallback": true, "warn": true, - "downloadDependencies": [ - { - "name": "Microsoft.AspNetCore.App.Ref", - "version": "[7.0.20, 7.0.20]" - }, - { - "name": "Microsoft.NETCore.App.Host.win-x64", - "version": "[7.0.20, 7.0.20]" - }, - { - "name": "Microsoft.NETCore.App.Ref", - "version": "[7.0.20, 7.0.20]" - }, - { - "name": "Microsoft.WindowsDesktop.App.Ref", - "version": "[7.0.20, 7.0.20]" - } - ], "frameworkReferences": { "Microsoft.NETCore.App": { "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json" } } } diff --git a/karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.g.props b/karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.g.props similarity index 100% rename from karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.g.props rename to karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.g.props diff --git a/karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.g.targets b/karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.g.targets similarity index 100% rename from karnaugh-map/KarnaughMap/obj/KarnaughMap.csproj.nuget.g.targets rename to karnaugh-map/CS-kmap/obj/KarnaughMap.csproj.nuget.g.targets diff --git a/karnaugh-map/KarnaughMap/obj/project.assets.json b/karnaugh-map/CS-kmap/obj/project.assets.json similarity index 68% rename from karnaugh-map/KarnaughMap/obj/project.assets.json rename to karnaugh-map/CS-kmap/obj/project.assets.json index ece5225..f4abbad 100644 --- a/karnaugh-map/KarnaughMap/obj/project.assets.json +++ b/karnaugh-map/CS-kmap/obj/project.assets.json @@ -1,11 +1,11 @@ { "version": 3, "targets": { - "net7.0": {} + "net8.0": {} }, "libraries": {}, "projectFileDependencyGroups": { - "net7.0": [] + "net8.0": [] }, "packageFolders": { "C:\\Users\\dominik.zatko\\.nuget\\packages\\": {}, @@ -14,11 +14,11 @@ "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj", + "projectUniqueName": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj", "projectName": "KarnaughMap", - "projectPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj", + "projectPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj", "packagesPath": "C:\\Users\\dominik.zatko\\.nuget\\packages\\", - "outputPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\obj\\", + "outputPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\obj\\", "projectStyle": "PackageReference", "fallbackFolders": [ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" @@ -29,7 +29,7 @@ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" ], "originalTargetFrameworks": [ - "net7.0" + "net8.0" ], "sources": { "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, @@ -37,8 +37,8 @@ "https://api.nuget.org/v3/index.json": {} }, "frameworks": { - "net7.0": { - "targetAlias": "net7.0", + "net8.0": { + "targetAlias": "net8.0", "projectReferences": {} } }, @@ -55,8 +55,8 @@ "SdkAnalysisLevel": "9.0.100" }, "frameworks": { - "net7.0": { - "targetAlias": "net7.0", + "net8.0": { + "targetAlias": "net8.0", "imports": [ "net461", "net462", @@ -68,30 +68,12 @@ ], "assetTargetFallback": true, "warn": true, - "downloadDependencies": [ - { - "name": "Microsoft.AspNetCore.App.Ref", - "version": "[7.0.20, 7.0.20]" - }, - { - "name": "Microsoft.NETCore.App.Host.win-x64", - "version": "[7.0.20, 7.0.20]" - }, - { - "name": "Microsoft.NETCore.App.Ref", - "version": "[7.0.20, 7.0.20]" - }, - { - "name": "Microsoft.WindowsDesktop.App.Ref", - "version": "[7.0.20, 7.0.20]" - } - ], "frameworkReferences": { "Microsoft.NETCore.App": { "privateAssets": "all" } }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102\\RuntimeIdentifierGraph.json" + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json" } } } diff --git a/karnaugh-map/CS-kmap/obj/project.nuget.cache b/karnaugh-map/CS-kmap/obj/project.nuget.cache new file mode 100644 index 0000000..46b74f5 --- /dev/null +++ b/karnaugh-map/CS-kmap/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "auKYocqSBWE=", + "success": true, + "projectFilePath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\CS-kmap\\KarnaughMap.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/karnaugh-map/KarnaughMap/Program.cs b/karnaugh-map/KarnaughMap/Program.cs deleted file mode 100644 index baa8d5f..0000000 --- a/karnaugh-map/KarnaughMap/Program.cs +++ /dev/null @@ -1,213 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -class Program -{ - static string Overbar(string s) - { - return s switch - { - "A" => "Ā", - "B" => "B̄", - "C" => "C̄", - "D" => "D̄", - _ => s - }; - } - - static void Main() - { - do - { - string[,] map = new string[4, 4]; - // Inicializace na N (not specified yet) - for (int r = 0; r < 4; r++) - for (int c = 0; c < 4; c++) - map[r, c] = "N"; - - // Input for Karnaugh map cells - for (int r = 0; r < 4; r++) - { - for (int c = 0; c < 4; c++) - { - Console.Clear(); - map[r, c] = "K"; // Mark current cell - PrintMap(map, true); - Console.Write($"Zadej hodnotu pro ({r},{c}) [0 = záporná, 1 = kladná, X = nevadí]: "); - string input = Console.ReadLine()!.Trim().ToUpper(); - if (input != "0" && input != "1" && input != "X") input = "0"; - map[r, c] = input; - } - } - - Console.Clear(); - Console.WriteLine("Karnaughova mapa:"); - PrintMap(map, false); - - Console.WriteLine("\nZjednodušený výraz:"); - string result = CalculateExpression(map); - Console.WriteLine(result); - - // Prompt to restart or exit - Console.WriteLine("\nPokračovat? (Y/N nebo Escape)"); - ConsoleKeyInfo keyInfo = Console.ReadKey(true); - if (keyInfo.Key == ConsoleKey.N || keyInfo.Key == ConsoleKey.Escape) - break; - } while (true); - } - - static void PrintMap(string[,] map, bool showInstructions) - { - string[] rowLabels = { "(ĀB̄)", "(ĀB)", "(AB)", "(A B̄)" }; - string[] colLabels = { "(C̄D̄)", "(C̄D)", "(CD)", "(C D̄)" }; - Console.Write(" "); - foreach (var col in colLabels) - Console.Write(col.PadRight(6)); - Console.WriteLine(); - - for (int r = 0; r < 4; r++) - { - Console.Write(rowLabels[r].PadRight(8)); - for (int c = 0; c < 4; c++) - Console.Write(map[r, c].PadRight(6)); - Console.WriteLine(); - } - - if (showInstructions) - { - Console.WriteLine(); - Console.WriteLine("Legenda:"); - Console.WriteLine("0 = záporná hodnota (FALSE)"); - Console.WriteLine("1 = kladná hodnota (TRUE)"); - Console.WriteLine("X = nevadí (Don't Care) - může být 0 nebo 1"); - Console.WriteLine("K = aktuální vybraná buňka"); - Console.WriteLine("N = zatím nezadáno (není specifikováno)"); - Console.WriteLine(); - } - } - - static string CalculateExpression(string[,] map) - { - int[,] binMap = new int[4, 4]; - for (int r = 0; r < 4; r++) - for (int c = 0; c < 4; c++) - binMap[r, c] = map[r, c] == "1" ? 1 : map[r, c] == "X" ? -1 : 0; - - var terms = new List(); - string[] rowGray = { "00", "01", "11", "10" }; - string[] colGray = { "00", "01", "11", "10" }; - - bool[,] used = new bool[4, 4]; - - // Check if all cells in the group are 1 or X and group contains at least one 1 - bool CheckGroup(int rStart, int cStart, int height, int width) - { - bool hasOne = false; - for (int dr = 0; dr < height; dr++) - { - for (int dc = 0; dc < width; dc++) - { - int rr = (rStart + dr) % 4; - int cc = (cStart + dc) % 4; - if (binMap[rr, cc] == 0) return false; - if (binMap[rr, cc] == 1) hasOne = true; - } - } - return hasOne; - } - - void MarkUsed(int rStart, int cStart, int height, int width) - { - for (int dr = 0; dr < height; dr++) - for (int dc = 0; dc < width; dc++) - { - int rr = (rStart + dr) % 4; - int cc = (cStart + dc) % 4; - used[rr, cc] = true; - } - } - - string GroupToTerm(int rStart, int cStart, int height, int width) - { - var rowsBits = new List(); - var colsBits = new List(); - for (int dr = 0; dr < height; dr++) - rowsBits.Add(rowGray[(rStart + dr) % 4]); - for (int dc = 0; dc < width; dc++) - colsBits.Add(colGray[(cStart + dc) % 4]); - - string term = ""; - - bool A_const = true; - char A_val = rowsBits[0][0]; - foreach (var rb in rowsBits) - if (rb[0] != A_val) A_const = false; - if (A_const) term += A_val == '0' ? Overbar("A") : "A"; - - bool B_const = true; - char B_val = rowsBits[0][1]; - foreach (var rb in rowsBits) - if (rb[1] != B_val) B_const = false; - if (B_const) term += B_val == '0' ? Overbar("B") : "B"; - - bool C_const = true; - char C_val = colsBits[0][0]; - foreach (var cb in colsBits) - if (cb[0] != C_val) C_const = false; - if (C_const) term += C_val == '0' ? Overbar("C") : "C"; - - bool D_const = true; - char D_val = colsBits[0][1]; - foreach (var cb in colsBits) - if (cb[1] != D_val) D_const = false; - if (D_const) term += D_val == '0' ? Overbar("D") : "D"; - - if (term == "") - term = "1"; - - return term; - } - - var blockSizes = new List<(int h, int w)> - { - (4, 4), - (4, 2), (2, 4), - (4, 1), (1, 4), - (2, 2), - (2, 1), (1, 2), - (1,1) - }; - - foreach (var (h, w) in blockSizes) - { - for (int r0 = 0; r0 < 4; r0++) - { - for (int c0 = 0; c0 < 4; c0++) - { - if (CheckGroup(r0, c0, h, w)) - { - string term = GroupToTerm(r0, c0, h, w); - bool coversNew = false; - for (int dr = 0; dr < h; dr++) - for (int dc = 0; dc < w; dc++) - { - int rr = (r0 + dr) % 4; - int cc = (c0 + dc) % 4; - if (!used[rr, cc]) coversNew = true; - } - if (coversNew && !terms.Contains(term)) - { - terms.Add(term); - MarkUsed(r0, c0, h, w); - } - } - } - } - } - - if (terms.Count == 0) - return "0"; - return string.Join(" + ", terms); - } -} diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.AssemblyInfoInputs.cache b/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.AssemblyInfoInputs.cache deleted file mode 100644 index d2748ae..0000000 --- a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -acf4d6ab7f5a9eca47c3b5e49038729dce8aa4cf8e9babca7665c5253206aa17 diff --git a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache b/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache deleted file mode 100644 index 2b4a1bf..0000000 --- a/karnaugh-map/KarnaughMap/obj/Debug/net7.0/KarnaughMap.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -f5b855a9d8d33e53f3fed43638b47caa1fab5e430ec5c22b9e38a2477148878e diff --git a/karnaugh-map/KarnaughMap/obj/project.nuget.cache b/karnaugh-map/KarnaughMap/obj/project.nuget.cache deleted file mode 100644 index 1246e9b..0000000 --- a/karnaugh-map/KarnaughMap/obj/project.nuget.cache +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "RMfOFENSJSY=", - "success": true, - "projectFilePath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\KarnaughMap\\KarnaughMap.csproj", - "expectedPackageFiles": [ - "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\7.0.20\\microsoft.windowsdesktop.app.ref.7.0.20.nupkg.sha512", - "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.netcore.app.ref\\7.0.20\\microsoft.netcore.app.ref.7.0.20.nupkg.sha512", - "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\7.0.20\\microsoft.aspnetcore.app.ref.7.0.20.nupkg.sha512", - "C:\\Users\\dominik.zatko\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\7.0.20\\microsoft.netcore.app.host.win-x64.7.0.20.nupkg.sha512" - ], - "logs": [] -} \ No newline at end of file diff --git a/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.metadata.v9.bin b/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.metadata.v9.bin new file mode 100644 index 0000000..8933770 Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.metadata.v9.bin differ diff --git a/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.projects.v9.bin b/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.projects.v9.bin new file mode 100644 index 0000000..9693163 Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.projects.v9.bin differ diff --git a/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.strings.v9.bin b/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.strings.v9.bin new file mode 100644 index 0000000..8b5206f Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/ProjectEvaluation/wpf-kmap.strings.v9.bin differ diff --git a/karnaugh-map/WPF-kmap/.vs/WPF-kmap/DesignTimeBuild/.dtbcache.v2 b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..5d06d41 Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/DesignTimeBuild/.dtbcache.v2 differ diff --git a/karnaugh-map/WPF-kmap/.vs/WPF-kmap/FileContentIndex/f6e3dd18-1110-4b62-acab-d8b0eda98de4.vsidx b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/FileContentIndex/f6e3dd18-1110-4b62-acab-d8b0eda98de4.vsidx new file mode 100644 index 0000000..15d60e0 Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/FileContentIndex/f6e3dd18-1110-4b62-acab-d8b0eda98de4.vsidx differ diff --git a/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/.futdcache.v2 b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/.futdcache.v2 new file mode 100644 index 0000000..69a0ccf Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/.futdcache.v2 differ diff --git a/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/.suo b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/.suo new file mode 100644 index 0000000..bd62efd Binary files /dev/null and b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/.suo differ diff --git a/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/DocumentLayout.backup.json b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..53919bf --- /dev/null +++ b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/DocumentLayout.backup.json @@ -0,0 +1,53 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|r:\\prg\\kmap-solver\\karnaugh-map\\wpf-kmap\\wpf-kmap\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", + "RelativeMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|solutionrelative:wpf-kmap\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" + }, + { + "AbsoluteMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|r:\\prg\\kmap-solver\\karnaugh-map\\wpf-kmap\\wpf-kmap\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|solutionrelative:wpf-kmap\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "MainWindow.xaml", + "DocumentMoniker": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml", + "RelativeDocumentMoniker": "WPF-kmap\\MainWindow.xaml", + "ToolTip": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml", + "RelativeToolTip": "WPF-kmap\\MainWindow.xaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2025-10-01T09:16:10.616Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "MainWindow.xaml.cs", + "DocumentMoniker": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml.cs", + "RelativeDocumentMoniker": "WPF-kmap\\MainWindow.xaml.cs", + "ToolTip": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml.cs", + "RelativeToolTip": "WPF-kmap\\MainWindow.xaml.cs", + "ViewState": "AgIAAAwAAAAAAAAAAAAuwDUAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-10-01T09:16:10.161Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/DocumentLayout.json b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/DocumentLayout.json new file mode 100644 index 0000000..53919bf --- /dev/null +++ b/karnaugh-map/WPF-kmap/.vs/WPF-kmap/v17/DocumentLayout.json @@ -0,0 +1,53 @@ +{ + "Version": 1, + "WorkspaceRootPath": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|r:\\prg\\kmap-solver\\karnaugh-map\\wpf-kmap\\wpf-kmap\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", + "RelativeMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|solutionrelative:wpf-kmap\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" + }, + { + "AbsoluteMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|r:\\prg\\kmap-solver\\karnaugh-map\\wpf-kmap\\wpf-kmap\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}|WPF-kmap\\WPF-kmap.csproj|solutionrelative:wpf-kmap\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "MainWindow.xaml", + "DocumentMoniker": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml", + "RelativeDocumentMoniker": "WPF-kmap\\MainWindow.xaml", + "ToolTip": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml", + "RelativeToolTip": "WPF-kmap\\MainWindow.xaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2025-10-01T09:16:10.616Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "MainWindow.xaml.cs", + "DocumentMoniker": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml.cs", + "RelativeDocumentMoniker": "WPF-kmap\\MainWindow.xaml.cs", + "ToolTip": "R:\\PRG\\Kmap-solver\\karnaugh-map\\WPF-kmap\\WPF-kmap\\MainWindow.xaml.cs", + "RelativeToolTip": "WPF-kmap\\MainWindow.xaml.cs", + "ViewState": "AgIAAAwAAAAAAAAAAAAuwDUAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-10-01T09:16:10.161Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/karnaugh-map/WPF-kmap/WPF-kmap.sln b/karnaugh-map/WPF-kmap/WPF-kmap.sln new file mode 100644 index 0000000..7910f71 --- /dev/null +++ b/karnaugh-map/WPF-kmap/WPF-kmap.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35707.178 d17.12 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF-kmap", "WPF-kmap\WPF-kmap.csproj", "{1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1806E4A3-B7C7-4CA9-BB99-590F86FF5FC5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/karnaugh-map/WPF-kmap/WPF-kmap/App.xaml b/karnaugh-map/WPF-kmap/WPF-kmap/App.xaml new file mode 100644 index 0000000..b42cd5b --- /dev/null +++ b/karnaugh-map/WPF-kmap/WPF-kmap/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/karnaugh-map/WPF-kmap/WPF-kmap/App.xaml.cs b/karnaugh-map/WPF-kmap/WPF-kmap/App.xaml.cs new file mode 100644 index 0000000..b836ceb --- /dev/null +++ b/karnaugh-map/WPF-kmap/WPF-kmap/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WPF_kmap +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/karnaugh-map/WPF-kmap/WPF-kmap/AssemblyInfo.cs b/karnaugh-map/WPF-kmap/WPF-kmap/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/karnaugh-map/WPF-kmap/WPF-kmap/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/karnaugh-map/WPF-kmap/WPF-kmap/MainWindow.xaml b/karnaugh-map/WPF-kmap/WPF-kmap/MainWindow.xaml new file mode 100644 index 0000000..c58b3f9 --- /dev/null +++ b/karnaugh-map/WPF-kmap/WPF-kmap/MainWindow.xaml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + +