LoadTask

LoadTask#

class LoadTask(identifier, size)#

Bases: DataStructure

Task with a pre-defined load to be assigned to a server.

__init__(identifier, size)#

Methods

__init__(identifier, size)

increment_n_ops([increment])

Convenience method to increment n_ops count of the given complexity object.

reset_n_ops()

Convenience method to reset n_ops count of the given complexity object.

Attributes

identifier

rtype:

str

n_ops

rtype:

int

name

rtype:

str

size

rtype:

float

space_complexity

rtype:

str

property identifier: str#
Return type:

str

increment_n_ops(increment=1)#

Convenience method to increment n_ops count of the given complexity object.

Return type:

None

property n_ops: int#
Return type:

int

property name: str#
Return type:

str

reset_n_ops()#

Convenience method to reset n_ops count of the given complexity object.

Return type:

None

property size: float#
Return type:

float

property space_complexity: str#
Return type:

str