LessThan

class aixd.sampler.operators.LessThan(arg1: Arithmetic, arg2: Arithmetic)[source]

Bases: Boolean

Boolean less than operation. Only operates when the evaluate method is called.

Raises: ValueError: If an argument is not of type float, int, str, Operator, or DataObject.

Parameters:
  • arg1 (Arithmetic operator) – First argument to compare.

  • arg2 (Arithmetic operator) – Second argument to compare.

Methods

evaluate

Evaluate the operator with given data.

Inherited Methods

is_differentiable

Check if the operator is differentiable.

print_all

Print the operator and all its arguments.