From efc14b8f06f31553e61debfc82b4d6c9aa7ac423 Mon Sep 17 00:00:00 2001 From: Aizen Date: Mon, 7 Oct 2024 19:31:59 +0200 Subject: [PATCH] update doc --- internal.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal.go b/internal.go index c6b26a0..b406a67 100644 --- a/internal.go +++ b/internal.go @@ -36,11 +36,11 @@ func (g *Generator) assert_ready() { // - counts: A slice of integers where each integer represents the // cumulative frequency count of the corresponding token in // the tokens slice. -// - total: An integer representing the total count of transitions -// for the current state, used for entropy calculations. -// - entropy: A float64 representing the entropy of the transitions, +// - entropies: A slice of float64 representing the entropy of the transitions, // calculated using the Shannon entropy formula to provide // a measure of uncertainty or randomness in the transitions. +// - total: An integer representing the total count of transitions +// for the current state, used for entropy calculations. // // The distribution struct is used internally to facilitate the generation // of passwords by modeling the relationships between characters in the generated output.