PINE LIBRARY
MahjongAIEngine

Combinatoric Full Matrix Suit & Structure Partitioning Module [Pine Script v6 Library]
EXECUTIVE SUMMARY
This specialized library handles heavy multi-set partition checks, isolating specific matrix dimensions to verify advanced structural alignments. By offloading resource-intensive loop matrices, it prevents AST node exhaustion in parent script containers.
EXPORTED FUNCTIONS & QUANTITATIVE LOGIC
- check_somete(int[] counts): Quantifies the exact concentration of elements across independent suit boundaries (Indices 0-8, 9-17, 18-26, and 27-33). It returns a tuple `[is_chinitsu, is_honitsu]` based on structural suit isolation mathematics, identifying full or partial flush configurations.
- is_toitoi(int[] counts): Evaluates the complete matrix row states to verify if the count of identical elements forming triplet formations equals exactly 4. It scans the integrated index space, filtering out any sequential data configurations.
概要
この特化型ライブラリは、高度な構造的整列を検証するために、特定の行列次元を分離して高負荷なマルチセット・パーティションチェックを処理します。リソースを大量に消費するループマトリックスをオフロードすることで、親スクリプトコンテナ内でのASTノードの枯渇を防止します。
エクスポート関数と定量的ロジック
- check_somete(int[] counts): 独立したスート境界(インデックス0-8、9-17、18-26、および27-33)にわたる要素の正確な集中度を定量化します。構造的な分離数学に基づいてタプル `[is_chinitsu, is_honitsu]` を返し、清一色または混一色の構成を識別します。
- is_toitoi(int[] counts): 行列全体の行状態を評価し、トリプレット構成(3枚組)を形成する同一要素の数が正確に4に等しいかどうかを検証します。統合されたインデックス空間を走査し、シーケンス(順子)データ構成を完全に排除します。
EXECUTIVE SUMMARY
This specialized library handles heavy multi-set partition checks, isolating specific matrix dimensions to verify advanced structural alignments. By offloading resource-intensive loop matrices, it prevents AST node exhaustion in parent script containers.
EXPORTED FUNCTIONS & QUANTITATIVE LOGIC
- check_somete(int[] counts): Quantifies the exact concentration of elements across independent suit boundaries (Indices 0-8, 9-17, 18-26, and 27-33). It returns a tuple `[is_chinitsu, is_honitsu]` based on structural suit isolation mathematics, identifying full or partial flush configurations.
- is_toitoi(int[] counts): Evaluates the complete matrix row states to verify if the count of identical elements forming triplet formations equals exactly 4. It scans the integrated index space, filtering out any sequential data configurations.
概要
この特化型ライブラリは、高度な構造的整列を検証するために、特定の行列次元を分離して高負荷なマルチセット・パーティションチェックを処理します。リソースを大量に消費するループマトリックスをオフロードすることで、親スクリプトコンテナ内でのASTノードの枯渇を防止します。
エクスポート関数と定量的ロジック
- check_somete(int[] counts): 独立したスート境界(インデックス0-8、9-17、18-26、および27-33)にわたる要素の正確な集中度を定量化します。構造的な分離数学に基づいてタプル `[is_chinitsu, is_honitsu]` を返し、清一色または混一色の構成を識別します。
- is_toitoi(int[] counts): 行列全体の行状態を評価し、トリプレット構成(3枚組)を形成する同一要素の数が正確に4に等しいかどうかを検証します。統合されたインデックス空間を走査し、シーケンス(順子)データ構成を完全に排除します。
Biblioteca Pine
Fiel al espíritu de TradingView, el autor ha publicado este código de Pine como biblioteca de código abierto, para que otros programadores de nuestra comunidad puedan reutilizarlo. ¡Enhorabuena al autor! Puede usar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero su reutilización en publicaciones está sujeta a nuestras Normas internas.
Script Developer.
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Biblioteca Pine
Fiel al espíritu de TradingView, el autor ha publicado este código de Pine como biblioteca de código abierto, para que otros programadores de nuestra comunidad puedan reutilizarlo. ¡Enhorabuena al autor! Puede usar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero su reutilización en publicaciones está sujeta a nuestras Normas internas.
Script Developer.
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.