stream_graph
.NodeSetS¶
-
class
stream_graph.
NodeSetS
(nodes=None)[source][source]¶ Set implementation of the ABC.NodeSet
- Parameters
- nodes: Iterable, default=None
The Iterable should contain a valid NodeId (int or str).
- Attributes
- nodes
size
Returns the size of the NodeSet.
Methods
copy
(self[, deep])Returns a deep or shallow copy of the current NodeSet.
issuperset
(self, ns)-
__class__
[source]¶ alias of
abc.ABCMeta
-
__delattr__
(self, name, /)¶ Implement delattr(self, name).
-
__dir__
()¶ default dir() implementation
-
__eq__
(self, value, /)¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
(self, value, /)¶ Return self>=value.
-
__getattribute__
(self, name, /)¶ Return getattr(self, name).
-
__gt__
(self, value, /)¶ Return self>value.
-
__hash__
(self, /)¶ Return hash(self).
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
(self, value, /)¶ Return self<=value.
-
__lt__
(self, value, /)¶ Return self<value.
-
__ne__
(self, value, /)¶ Return self!=value.
-
__new__
(*args, **kwargs)¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
(self, /)¶ Return repr(self).
-
__setattr__
(self, name, value, /)¶ Implement setattr(self, name, value).
-
__sizeof__
()¶ size of object in memory, in bytes
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
__weakref__
¶ list of weak references to the object (if defined)