__init__ constructor

On this page

init

Initializes a new Step instance.

def __init__(self, lower_limit, level):
    ...
Parameter Type Description
lower_limit int The lower limit.
level int The level.

Example

from groupdocs.search.options import Step, TableDiscreteFunction

# Define steps for the fuzzy search algorithm
step1 = Step(5, 2)
step2 = Step(8, 3)

# Create the table discrete function using the steps
fuzzy_algo = TableDiscreteFunction(1, [step1, step2])

See Also

On this page