| 
    The Conley-Morse Graphs Software
    
   | 
 
An imitation of an array whose entries are 1 iff the index belongs to the given set. More...
#include <utils.h>
Public Member Functions | |
| set2arrayWrapper (const setType &_theSet) | |
| The constructor of a set wrapper.  More... | |
| int | operator[] (const elemType &n) const | 
| The operator [] which returns 1 iff the element belongs to the set.  More... | |
Private Attributes | |
| const setType & | theSet | 
| A reference to the wrapped set.  More... | |
An imitation of an array whose entries are 1 iff the index belongs to the given set.
This class may be useful if one needs to compute the subgraph of a directed graph restricted to a given set, using the subgraph method of the class diGraph.
      
  | 
  inline | 
      
  | 
  inline | 
The operator [] which returns 1 iff the element belongs to the set.
Definition at line 912 of file utils.h.
References set2arrayWrapper< elemType, setType >::theSet.
      
  | 
  private | 
A reference to the wrapped set.
Definition at line 919 of file utils.h.
Referenced by set2arrayWrapper< elemType, setType >::operator[]().