Benny Porat
Bar-Ilan University
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by Benny Porat.
foundations of computer science | 2009
Benny Porat; Ely Porat
We present a fully online randomized algorithm for the classical pattern matching problem that uses merely O(log m) space, breaking the O(m) barrier that held for this problem for a long time. Our method can be used as a tool in many practical applications, including monitoring Internet traffic and firewall applications. In our online model we first receive the pattern P of size m and preprocess it. After the preprocessing phase, the characters of the text T of size n arrive one at a time in an online fashion. For each index of the text input we indicate whether the pattern matches the text at that location index or not. Clearly, for index i, an indication can only be given once all characters from index i till index i+m-1 have arrived. Our goal is to provide such answers while using minimal space, and while spending as little time as possible on each character (time and space which are in O(poly(log n)) ).We present an algorithm whereby both false positive and false negative answers are allowed with probability of at most 1/n^3. Thus, overall, the correct answer for all positions is returned with a probability of 1/n^2. The time which our algorithm spends on each input character is bounded by O(log m), and the space complexity is O(log m) words. We also present a solution in the same model for the pattern matching with k mismatches problem. In this problem, a match means allowing up to k symbol mismatches between the pattern and the subtext beginning at index i. We provide an algorithm in which the time spent on each character is bounded by O(k^2*poly(log m)), and the space complexity is O(k^3*poly(log m)) words.
combinatorial pattern matching | 2008
Raphaël Clifford; Klim Efremenko; Benny Porat; Ely Porat
We present a deterministic black box solution for online approximate matching. Given a pattern of length mand a streaming text of length nthat arrives one character at a time, the task is to report the distance between the pattern and a sliding window of the text as soon as the new character arrives. Our solution requires
symposium on theoretical aspects of computer science | 2013
Markus Jalsenius; Benny Porat; Benjamin Sach
O(\Sigma_{j=1}^{\log_2{m}} T(n,2^{j-1})/n)
SIAM Journal on Computing | 2013
Ayelet Butman; Peter Clifford; Raphaël Clifford; Markus Jalsenius; Noa Lewenstein; Benny Porat; Ely Porat; Benjamin Sach
time for each input character, where T(n,m) is the total running time of the best offline algorithm. The types of approximation that are supported include exact matching with wildcards, matching under the Hamming norm, approximating the Hamming norm, k-mismatch and numerical measures such as the L 2 and L 1 norms. For these examples, the resulting online algorithms take O(log2m),
Theoretical Computer Science | 2010
Yair Dombb; Ohad Lipsky; Benny Porat; Ely Porat; Asaf Tsur
O(\sqrt{m\log{m}})
international symposium on algorithms and computation | 2007
Ohad Lipsky; Benny Porat; Elly Porat; B. Riva Shalom; Asaf Tzur
, O(log2m/i¾?2),
string processing and information retrieval | 2007
Yair Dombb; Ohad Lipsky; Benny Porat; Ely Porat; Asaf Tsur
O(\sqrt{k \log k} \log{m})
international symposium on algorithms and computation | 2013
Amihood Amir; Benny Porat
, O(log2m) and
string processing and information retrieval | 2007
Ayelet Butman; Noa Lewenstein; Benny Porat; Ely Porat
O(\sqrt{m\log{m}})
Information & Computation | 2010
Ohad Lipsky; Benny Porat; Ely Porat; B. Riva Shalom; Asaf Tzur
time per character respectively. The space overhead is O(m) which we show is optimal.