flitsr.tie.Ties

class flitsr.tie.Ties(rankings: Rankings, bu: BUModel = PERFECT)

Bases: Iterable[Tie]

__init__(rankings: Rankings, bu: BUModel = PERFECT)

Construct the ties for the given set of rankings and bug understanding model.

Parameters:
  • rankings – The set of rankings to construct the ties for.

  • bu – The bug understanding model, see BUModel for more details.

Changed in version 2.5.0: Added the bu parameter for specifying the bug understanding model

Methods

__init__(rankings[, bu])

Construct the ties for the given set of rankings and bug understanding model.

set_bug_understanding(bu)

Changes the bug understanding model to be the one given by bu.

size([collapse])

set_bug_understanding(bu: BUModel) None

Changes the bug understanding model to be the one given by bu. This updates each of the contained Tie’s active and passive faults to reflect when (i.e., in which Tie) each fault would be localized.

Added in version 2.5.0.

size(collapse: bool = False) int
ties: List[Tie]