RoutePlan#

class scikitplot.corpus.RoutePlan(legs, reason, shapes=(), unavailable=())[source]#

A deterministic decision about which evidence paths to use.

Parameters:
legstuple of LegKind

The evidence paths to run, in order.

reasonstr

Why, in words.

shapestuple of str, default=()

Query shapes the routing policy detected ("negation", …).

unavailabletuple of LegKind, default=()

Paths a detected shape needs that the index does not have.

Parameters:

Notes

legs may be empty, which is a legitimate outcome rather than an error: deciding not to retrieve is a valid deterministic answer.

legs: tuple[LegKind, ...][source]#
reason: str[source]#
property retrieves: bool#

Whether this plan calls for any retrieval at all.

shapes: tuple[str, ...] = ()#
unavailable: tuple[LegKind, ...] = ()#