biogeme.validity module

Simple tuple storing validity information

author:

Michel Bierlaire

date:

Fri Aug 18 16:36:22 2023

Stores the validity status and the explanation if invalid.

class biogeme.validity.Validity(status, reason)[source]

Bases: NamedTuple

Parameters:
  • status (bool)

  • reason (str)

reason: str

Alias for field number 1

status: bool

Alias for field number 0