pyffi :: utils :: graph :: EdgeFilter :: Class EdgeFilter
[hide private]
[frames] | no frames]

Class EdgeFilter

source code

object --+    
         |    
     tuple --+
             |
            EdgeFilter

A simple filter for edges. The default filter only checks the edge's active and acyclic attributes, and accepts them if both are True.
Instance Methods [hide private]
 
accept(self, edge_type) source code

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getnewargs__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __repr__, __rmul__, __sizeof__, count, index

Inherited from object: __delattr__, __format__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, active_filter=True, acyclic_filter=True) source code
Properties [hide private]
  active_filter
itemgetter(item, ...) --> itemgetter object
  acyclic_filter
itemgetter(item, ...) --> itemgetter object

Inherited from object: __class__

Method Details [hide private]

__new__(cls, active_filter=True, acyclic_filter=True)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

Property Details [hide private]

active_filter

itemgetter(item, ...) --> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

Get Method:
<operator.itemgetter object at 0x2215090>

acyclic_filter

itemgetter(item, ...) --> itemgetter object

Return a callable object that fetches the given item(s) from its operand. After, f=itemgetter(2), the call f(r) returns r[2]. After, g=itemgetter(2,5,3), the call g(r) returns (r[2], r[5], r[3])

Get Method:
<operator.itemgetter object at 0x22150d0>