zht-class: Zobrist Hash Table Class

Description Usage Arguments Details Value Examples

Description

Insert, get, find, and delete methods for Zobrist hash table

Usage

1
2
3
4
5
6
7
## S3 replacement method for class 'zht'
x[state, ...] <- value

## S3 method for class 'zht'
x[state, ...]

haskey(x, ...)

Arguments

x

object

state

state object

...

additional argument to be passed to state->key conversion

value

value to be inserted

Details

to be added

Value

Examples

1
2
3
4
5
6
7
z <- zht(5)

z[1:3]
z[1:3] <- 15
haskey(z, 1:3)
z[1:3] <- NULL  # deletion
haskey(z, 1:3)

kota7/zobrist documentation built on May 20, 2019, 1:11 p.m.