SearcharxivSearch

arXiv subjects

Piotr Beling

Publications and source records attributed to Piotr Beling.

5 recordsLinked to original sources

PHast -- Perfect Hashing made fast

Perfect hash functions give unique "names" to arbitrary keys requiring only a few bits per key. This is an essential building block in applications like static hash tables, databases, or bioinformatics. This paper introduces the PHast approach that combines the fastest available queries, very fast construction, and good space consumption (below 2 bits per key). PHast improves bucket-placement which first hashes each key k to a bucket, and then looks for the bucket seed s such that a placement function maps pairs (s,k) in a collision-free way. PHast can use small-range hash functions with linear mapping, fixed-width encoding of seeds, and parallel construction. This is achieved using small overlapping slices of allowed values and bumping to handle unsuccessful seed assignment. A variant we called PHast+ uses additive placement, which enables bit-parallel seed searching, speeding up the construction by an order of magnitude.

cs.DS

A Complexity of double dummy bridge

This paper presents an analysis of complexity of double dummy bridge. Values of both, a state-space (search-space) complexity and a game tree complexity have been estimated. ----- Oszacowanie złożoności problemu rozgrywki w otwarte karty w brydżu Artykuł zawiera analiz{\ke} złożoności problemu rozgrywki w otwarte karty w brydżu, przy użyciu miar zaproponowanych przez Louisa Victora Allisa. Oszacowane s{\ka} w nim złożoności przestrzeni stanów i drzewa wspomnianej gry.

cs.GT

C++11 -- idea r-wartości i przenoszenia

This paper presents a review of some new futures introduced to C++ language by ISO/IEC 14882:2011 standard (known as C++11). It describes the ideas of r-values and move constructors. ---- Niniejszy artykuł jest jednym z serii artykułów w których zawarto przegl{\ka}d nowych elementów j{\ke}zyka C++ wprowadzonych przez standard ISO/IEC 14882:2011, znany pod nazw{\ka} C++11. W artykule przedstawiono nowe możliwości zwi{\ka}zane z przekazywaniem parametrów i pisaniem konstruktorów. Zawarto w nim dokładne omówienie idei r-wartości i przenoszenia obiektów.

cs.PL

C++11 - określanie typów

This paper presents a review of some new futures introduced to C++ language by ISO/IEC 14882:2011 standard (known as C++11). It describes new language elements which allow to easier expressed of types of variables: auto and decltype keywords, new function declaration syntax, and tools which are included in type_traits header. ----- Niniejszy artykuł jest jednym z serii artykułów w których zawarto przegl{\ka}d nowych elementów j{\ke}zyka C++ wprowadzonych przez standard ISO/IEC 14882:2011, znany pod nazw{\ka} C++11. W artykule przedstawiono nowe możliwości zwi{\ka}zane ze wskazywaniem typów zmiennych. Opisano słowa kluczowe auto i decltype, now{\ka} składnie deklarowania funkcji/metod oraz narz{\ke}dzia zawarte w pliku nagłówkowym .

cs.PL

Counting common substrings effectively

This article presents effective (dynamic) algorithm for solving a problem of counting the number of substrings of given string which are also substrings of second string. Presented algorithm can be used for example for quick calculation of strings similarity measure using generalized $n$-gram method (Niewiadomski measure), which are shown. Correctness and complexity analyses are included. ----- W artykule przedstawiono efektywny (dynamiczny) algorytm wyznaczający miarę podobieństwa wyrazów za pomocą uogólnionej metody $n$-gramów (miary Niewiadomskiego). Uzasadniono także poprawność działania algorytmu i oszacowano jego złożoność obliczeniową.

cs.DS