dftlib.storage.dft_be.BeLognormal

class BeLognormal(element_id, name, mean, stddev, position)

Bases: DftBe

BE with log-normal distribution.

Methods

compare

Compare elements.

get_json

Get JSON string.

is_be

Get whether the element is a BE.

is_dynamic

Get whether the element is dynamic.

is_gate

Get whether the element is a gate.

parents

Get parents.

remove_parent

Remove parent.

set_relevant

Set whether the element is relevant (and will not be set to 'Don't Care' for example).

compare(other, respect_ids)

Compare elements. :param other: Other element. :param respect_ids: Whether the ids must be equal. :return: True iff both elements are equal.

get_json()

Get JSON string. :return: JSON string.

is_be()

Get whether the element is a BE. :return: True iff element is a BE.

is_dynamic()

Get whether the element is dynamic. :return: True iff element is dynamic.

is_gate()

Get whether the element is a gate. :return: True iff element is a gate.

parents()

Get parents. :return: List of parents.

remove_parent(element)

Remove parent. :param element: Parent to remove.

set_relevant(relevant=True)

Set whether the element is relevant (and will not be set to ‘Don’t Care’ for example). :param relevant: Whether the element is relevant.