Skip to contents

Return automaton metadata

Usage

ac_info(ac)

Arguments

ac

An <ac_automaton> object created by ac_build().

Value

A list of automaton metadata.

Examples

ac <- ac_build(c("hello", "world"))
ac_info(ac)
#> $patterns_len
#> [1] 2
#> 
#> $min_pattern_len
#> [1] 5
#> 
#> $max_pattern_len
#> [1] 5
#> 
#> $match_kind
#> [1] "standard"
#> 
#> $implementation
#> [1] "dfa"
#> 
#> $ascii_case_insensitive
#> [1] FALSE
#> 
#> $memory_usage
#> [1] 960
#>