mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
checkpoint
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
4722fdfca5
commit
add684d8e9
377 changed files with 204 additions and 62 deletions
|
@ -1,31 +0,0 @@
|
|||
/*++
|
||||
Copyright (c) 2006 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
luby.h
|
||||
|
||||
Abstract:
|
||||
|
||||
<abstract>
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo de Moura (leonardo) 2008-03-04.
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#ifndef _LUBY_H_
|
||||
#define _LUBY_H_
|
||||
|
||||
/**
|
||||
\brief Return the i-th element of the Luby sequence: 1,1,2,1,1,2,4,1,1,2,1,1,2,4,8,...
|
||||
|
||||
get_luby(i) = 2^{i-1} if i = 2^k -1
|
||||
get_luby(i) = get_luby(i - 2^{k-1} + 1) if 2^{k-1} <= i < 2^k - 1
|
||||
*/
|
||||
unsigned get_luby(unsigned i);
|
||||
|
||||
#endif /* _LUBY_H_ */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue