-
Notifications
You must be signed in to change notification settings - Fork 2
/
quine-calculator-online.html
executable file
·135 lines (127 loc) · 6.85 KB
/
quine-calculator-online.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<!--
QuineCalc project
@author Naik
-->
<html>
<head>
<title>QuineCalc</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Quine Calculator Online. Solver boolean expressions with Quine–McCluskey algorithm. Features: infinity boolean variables, minimize system boolean functions, uncertain values (double click on checkbox).">
<meta name="keywords" content="Quine–McCluskey algorithm, Quine-McCluskey calculator, минимизация методом Квайна-МакКласки, минимизация логических функций онлайн">
<meta name="author" content="Nickolay Savchenko a.k.a. NaikSoftware">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/n-toggle.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet" media="screen">
<script src="js/jquery/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/n-toggle.js"></script>
<script src="js/main.js"></script>
<script src="js/quuine_calc.js"></script>
</head>
<body class="container default_body_style">
<nav class="navbar navbar-static-top" id="navbar" role="navigation">
<div class="container-fluid">
<div class="nav navbar-nav navbar-left">
<div class="navbar-text">
<a href="index.html"><span class="glyphicon glyphicon-chevron-left large-size"></span></a>
<span class="large-size">QuineCalc Online</span>
</div>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-btn navbar-right">
<li>
<img alt="NaikSoftware" src="https://avatars0.githubusercontent.com/u/4218994?v=3&s=48"/>
</li>
</ul>
</div>
</div>
</nav>
<div class="panel panel-default">
<div class="panel-heading"><h4 class="text-center"><span class="glyphicon glyphicon-menu-hamburger"></span> Таблиця істинності</h4></div>
<div class="panel-body" style="text-align: center;">
<div class="btn-group-xs" style="margin-bottom: 1em;">
<!-- Variables counter -->
<span class="text-success" style="margin-right: 1em;">
V:
<a id="btn_minus" class="btn btn-success"><span class="glyphicon glyphicon-minus"></span></a>
<span id="label_num" class="btn disabled"></span>
<a id="btn_plus" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span></a>
</span>
<!-- Functions counter -->
<span class="text-info">
F:
<a id="btn_minus_f" class="btn btn-info"><span class="glyphicon glyphicon-minus"></span></a>
<span id="label_num_f" class="btn disabled"></span>
<a id="btn_plus_f" class="btn btn-info"><span class="glyphicon glyphicon-plus"></span></a>
</span>
</div>
<div class="panel panel-default" style="overflow: auto">
<table class="table table-bordered">
<thead>
<tr id="truth_table_head" class="bg-success">
</tr>
</thead>
<tbody id="truth_table_body">
</tbody>
</table>
</div>
</div>
</div>
<div class="panel panel-success col-lg-12">
<div class="panel-body">
<div class="btn-group-vertical col-lg-4">
<a id="btn_ddnf" class="btn btn-default"><span class="glyphicon glyphicon-pushpin pull-left"></span>ДДНФ</a>
<a id="btn_dknf" class="btn btn-default"><span class="glyphicon glyphicon-pushpin pull-left"></span>ДКНФ</a>
<a id="btn_quine_mac_klask" class="btn btn-default"><span class="glyphicon glyphicon-pushpin pull-left"></span>Метод Куайна - Мак Класка </a>
<hr>
<div class="input-group" style="margin-bottom: 10px">
<span class="input-group-addon">Використовувати LaTeX формат</span>
<span class="input-group-addon">
<input type="checkbox" id="latexMode"/>
</span>
</div>
</div>
<div class="panel panel-default col-lg-offset-4" style="display: inline">
<div id="result_text" style="min-height: 100px; font-size: 14px; padding: 7px; overflow: auto;">
</div>
</div>
</div>
</div>
<div class="bottom text-center text-info" style="margin-bottom: 10px">
<span class="glyphicon glyphicon-copyright-mark"></span>
<span class="text-info">NaikSoftware</span>
</div>
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function () {
try {
w.yaCounter30557997 = new Ya.Metrika({id: 30557997,
webvisor: true,
clickmap: true,
trackLinks: true,
accurateTrackBounce: true});
} catch (e) {
}
});
var n = d.getElementsByTagName("script")[0],
s = d.createElement("script"),
f = function () {
n.parentNode.insertBefore(s, n);
};
s.type = "text/javascript";
s.async = true;
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
if (w.opera == "[object Opera]") {
d.addEventListener("DOMContentLoaded", f, false);
} else {
f();
}
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/30557997" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
</body>
</html>