python-igraph API reference

List of all classes, functions and methods in python-igraph

class documentation

class Types:

View In Hierarchy

Static class for the implementation of custom getter/setter functions for configuration keys

Static Method setboolean Sets a boolean value in the given configuration object.
Static Method setfloat Sets a float value in the given configuration object.
Static Method setint Sets an integer value in the given configuration object.
Method __init__ Undocumented
@staticmethod
def setboolean(obj, section, key, value):

Sets a boolean value in the given configuration object.

Parameters
obja configuration object
sectionthe section of the value to be set
keythe key of the value to be set
valuethe value itself. 0, false, no and off means false, 1, true, yes and on means true, everything else results in a ValueError being thrown. Values are case insensitive
@staticmethod
def setfloat(obj, section, key, value):

Sets a float value in the given configuration object.

Note that float values are converted to strings in the configuration object, which may lead to some precision loss.

Parameters
obja configuration object
sectionthe section of the value to be set
keythe key of the value to be set
valuethe value itself.
@staticmethod
def setint(obj, section, key, value):

Sets an integer value in the given configuration object.

Parameters
obja configuration object
sectionthe section of the value to be set
keythe key of the value to be set
valuethe value itself.
def __init__(self):

Undocumented