TemperatureProfile

class TemperatureProfile(*args)

Base class to define a temperature profile.

Notes

The temperature profile is used in simulated annealing context

Methods

__call__(i) Compute the temperature T(i).
getClassName() Accessor to the object’s name.
getIMax() Maximum index value accessor.
getId() Accessor to the object’s id.
getImplementation(*args) Accessor to the underlying implementation.
getName() Accessor to the object’s name.
getT0() Temperature origin accessor.
setName(name) Accessor to the object’s name.
__init__(*args)
getClassName()

Accessor to the object’s name.

Returns:

class_name : str

The object class name (object.__class__.__name__).

getIMax()

Maximum index value accessor.

Returns:

iMax : int

The maximum index value

getId()

Accessor to the object’s id.

Returns:

id : int

Internal unique identifier.

getImplementation(*args)

Accessor to the underlying implementation.

Returns:

impl : Implementation

The implementation class.

getName()

Accessor to the object’s name.

Returns:

name : str

The name of the object.

getT0()

Temperature origin accessor.

Returns:

t0 : float

The temperature origin

setName(name)

Accessor to the object’s name.

Parameters:

name : str

The name of the object.