flitsr.tie.Tie¶
- class flitsr.tie.Tie¶
Bases:
object- __init__()¶
Methods
__init__()elems()Return the set of all the elements in this tie
expected_value(q, weffort[, collapse])Calculates the expected value of the qth fault in this tie.
fault_groups([collapse])Return all fault locations (either groups or elements) in this tie, with the faults they contain.
len([collapse])Return either the number of groups (if collapsed), or number of elements in this tie (if not collapsed).
num_fault_locs([collapse])Return the number of faulty locations (either groups or elements) in this tie.
Return the number of unique faults found for the first time in this tie
- expected_value(q, weffort: bool, collapse=False) float¶
Calculates the expected value of the qth fault in this tie. The expected value can either be in terms of wasted effort (not counting fault inspection) or actual position in the ranking.
- fault_groups(collapse=False) Dict[Element, Set[Any]]¶
Return all fault locations (either groups or elements) in this tie, with the faults they contain.
- len(collapse=False) int¶
Return either the number of groups (if collapsed), or number of elements in this tie (if not collapsed).
- num_fault_locs(collapse=False) int¶
Return the number of faulty locations (either groups or elements) in this tie.
- num_faults() int¶
Return the number of unique faults found for the first time in this tie