estimator.cost.Cost#

class estimator.cost.Cost(**kwds)[source]#

Algorithms costs.

__call__(**kwargs)#

Call self as a function.

Methods

__init__(**kwds)

combine(right[, base])

Combine left and right.

filter(**keys)

Return new ordered dictinonary from dictionary restricted to the keys.

get(key, default)

register_impermanent([data])

reorder(*args)

Return a new ordered dict from the key:value pairs in dictinonary but reordered such that the keys given to this function come first.

repeat(times[, select])

Return a report with all costs multiplied by times.

sanity_check()

Perform basic checks.

str([keyword_width, newline, round_bound, ...])

param keyword_width

keys are printed with this width

values()

Attributes

impermanents

key_map

rop

tag

val_map