msdnet.dilations module

Module for defining how to pick dilations in the MS-D networks.

class msdnet.dilations.Dilations[source]

Bases: abc.ABC

Base class implementing dilations.

abstract reset()[source]

Reset object to initial state.

abstract nextdil()[source]

Return next dilation factor.

Returns

next dilation factor.

class msdnet.dilations.IncrementDilations(maxv, minv=1, start=1)[source]

Bases: msdnet.dilations.Dilations

Dilations that increase by 1 until a certain limit (as in paper).

Parameters
  • maxv – maximum dilation

  • minv – (optional) minimum dilation

  • start – (optional) starting dilation

reset()[source]

Reset object to initial state.

nextdil()[source]

Return next dilation factor.

Returns

next dilation factor.