-
Notifications
You must be signed in to change notification settings - Fork 0
/
bloomFilter.html
42 lines (42 loc) · 1.47 KB
/
bloomFilter.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
<html>
<head>
<meta charset="utf-8">
<title>Bloom Filter</title>
<!-- <link rel="stylesheet" href="../lib/mocha/mocha.css" /> -->
<link rel="stylesheet" href="./style.css">
<script src="./jquery.js"></script>
<script src="./underscore.js"></script>
<script src="./bloomFilterHelper.js"></script>
<script src="./bloomFilter.js"></script>
<script src="./main.js"></script>
</head>
<body>
<header class="title">Bloom Filter</header>
<form class="storage">
<header>Internal Storage</header>
<p class="storage_rendering"></p>
<div class="k">k: <input type="number" name="k" placeholder = 3 /><button>Enter</button></div>
<div class="m">m: <input type="number" name="m" placeholder = 18 /><button>Enter</button></div>
</form>
<div class="add-query">
<form class="add">
<header>Add</header>
Enter String: <input type="text" name="item" placeholder="some string" />
<button>Enter</button>
<p class="add_message"></p>
</form>
<form class="query">
<header>Query</header>
Enter String: <input type="text" name="item" placeholder="some string" />
<button>Enter</button>
<p>Is the element in the set?</p>
<p class="query_message">Nothing to query</p>
</form>
</div>
<form class="false_positive">
<header>False Positive Rate</header>
<button>Calculate</button>
<p>%</p>
</form>
</body>
</html>