OpenQuizz
Une application de gestion des contenus pédagogiques
CharDistributionAnalysis Class Reference
Inheritance diagram for CharDistributionAnalysis:
Collaboration diagram for CharDistributionAnalysis:

Public Member Functions

def __init__ (self)
 
def reset (self)
 
def feed (self, char, char_len)
 
def get_confidence (self)
 
def got_enough_data (self)
 
def get_order (self, byte_str)
 

Data Fields

 typical_distribution_ratio
 

Static Public Attributes

 ENOUGH_DATA_THRESHOLD
 
 SURE_YES
 
 SURE_NO
 
 MINIMUM_DATA_THRESHOLD
 

Constructor & Destructor Documentation

◆ __init__()

Member Function Documentation

◆ feed()

def feed (   self,
  char,
  char_len 
)
feed a character with known length

◆ get_confidence()

def get_confidence (   self)
return confidence based on existing data

◆ get_order()

◆ got_enough_data()

def got_enough_data (   self)

◆ reset()

def reset (   self)
reset analyser, clear any state

Field Documentation

◆ ENOUGH_DATA_THRESHOLD

ENOUGH_DATA_THRESHOLD
static

◆ MINIMUM_DATA_THRESHOLD

MINIMUM_DATA_THRESHOLD
static

◆ SURE_NO

SURE_NO
static

◆ SURE_YES

SURE_YES
static

◆ typical_distribution_ratio

typical_distribution_ratio

The documentation for this class was generated from the following file: