PolicySpec

class PolicySpec

Contains all policy parameters, if any.

__init__(depth_proportional_resolution: int)[source]

Construct the policy spec.

Parameters

depth_proportional_resolutionint

The desired minimum number of intervals for the rank of the MRCA to be able to be distinguished between. The uncertainty of MRCA rank estimates provided under the depth-proportional resolution policy will scale as total number of strata deposited divided by depth_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.

GetDepthProportionalResolution() int[source]
GetEvalCtor() str[source]
__init__(depth_proportional_resolution: int)[source]

Construct the policy spec.

Parameters

depth_proportional_resolutionint

The desired minimum number of intervals for the rank of the MRCA to be able to be distinguished between. The uncertainty of MRCA rank estimates provided under the depth-proportional resolution policy will scale as total number of strata deposited divided by depth_proportional_resolution.

__repr__() str[source]

Return repr(self).

__str__() str[source]

Return str(self).