PolicySpec

class PolicySpec

Contains all policy parameters, if any.

__init__(recency_proportional_resolution: int) None[source]

Construct the policy spec.

Parameters

recency_proportional_resolutionint, optional

The desired minimum number of intervals between the MRCA and the deeper compared column to be able to be distinguished between. The uncertainty of MRCA rank estimates provided under the MRCA-recency- proportional resolution policy will scale as the actual phylogenetic depth of the MRCA divided by recency_proportional_resolution.

Methods

static GetAlgoIdentifier() str[source]

Get programatic name for underlying retention algorithm.

static GetAlgoTitle() str[source]

Get human-readable name for underlying retention algorithm.

GetEvalCtor() str[source]
GetRecencyProportionalResolution() int[source]
__init__(recency_proportional_resolution: int) None[source]

Construct the policy spec.

Parameters

recency_proportional_resolutionint, optional

The desired minimum number of intervals between the MRCA and the deeper compared column to be able to be distinguished between. The uncertainty of MRCA rank estimates provided under the MRCA-recency- proportional resolution policy will scale as the actual phylogenetic depth of the MRCA divided by recency_proportional_resolution.

__repr__() str[source]

Return repr(self).

__str__() str[source]

Return str(self).