38 lines
846 B
YAML
38 lines
846 B
YAML
|
|
# Config incial
|
||
|
|
max_attepms: 150000
|
||
|
|
namespace: TSN
|
||
|
|
file_name_out: C:\Users\USER\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5\Shared Projects\SimPHash\Src\EnumReg\Table.mqh
|
||
|
|
table_prefix: g_simphash_enum_reg
|
||
|
|
copyright: Copyright 2026, Niquel Mendoza
|
||
|
|
link: https://www.mql5.com/
|
||
|
|
func_name: TempHashCustom
|
||
|
|
def_name_table_size: SIMPHASH_ENUMREG_TABLE_SIZE
|
||
|
|
def_bucket_size_name: SIMPHASH_ENUMREG_BUCKET_SIZE
|
||
|
|
invalid_value: -1
|
||
|
|
comment_funct: true
|
||
|
|
|
||
|
|
# En bin no guardaremos nada usaremos directo el MQH
|
||
|
|
|
||
|
|
# Random
|
||
|
|
random:
|
||
|
|
type: PHASH_RANDOM_MATH_XOSHIRO256
|
||
|
|
config:
|
||
|
|
seed: 0x145615123
|
||
|
|
|
||
|
|
# Hash
|
||
|
|
hash:
|
||
|
|
type: TSN_PHASH_TYPE_FNV1A_64
|
||
|
|
config:
|
||
|
|
basis: def
|
||
|
|
prime: def
|
||
|
|
|
||
|
|
# Final hash
|
||
|
|
final_hash: HASH_UL1_SPLITMIX
|
||
|
|
|
||
|
|
# Algoritm
|
||
|
|
perfect_hash:
|
||
|
|
elements_por_bucket: 2
|
||
|
|
load_factor: 0.81
|
||
|
|
|
||
|
|
# Main
|
||
|
|
map_use_value: true
|