TemperatureProfile¶
-
class
TemperatureProfile
(*args)¶ Base class to define a temperature profile.
Notes
The temperature profile is used in simulated annealing context
Methods
__call__
(self, i)Compute the temperature T(i).
getClassName
(self)Accessor to the object’s name.
getIMax
(self)Maximum index value accessor.
getId
(self)Accessor to the object’s id.
getImplementation
(self)Accessor to the underlying implementation.
getName
(self)Accessor to the object’s name.
getT0
(self)Temperature origin accessor.
setName
(self, name)Accessor to the object’s name.
-
__init__
(self, \*args)¶ Initialize self. See help(type(self)) for accurate signature.
-
getClassName
(self)¶ Accessor to the object’s name.
- Returns
- class_namestr
The object class name (object.__class__.__name__).
-
getIMax
(self)¶ Maximum index value accessor.
- Returns
- iMaxint
The maximum index value
-
getId
(self)¶ Accessor to the object’s id.
- Returns
- idint
Internal unique identifier.
-
getImplementation
(self)¶ Accessor to the underlying implementation.
- Returns
- implImplementation
The implementation class.
-
getName
(self)¶ Accessor to the object’s name.
- Returns
- namestr
The name of the object.
-
getT0
(self)¶ Temperature origin accessor.
- Returns
- t0float
The temperature origin
-
setName
(self, name)¶ Accessor to the object’s name.
- Parameters
- namestr
The name of the object.
-