CACAO
Public Types | Public Member Functions | Protected Attributes
cacao::PrintableGraph< GraphTy, NodeTy > Class Template Reference

Public Types

typedef NodeTy NodeType
 
typedef std::pair< NodeType,
NodeType
EdgeType
 
typedef std::set< NodeTypeNodeListType
 
typedef std::set< NodeType >
::iterator 
iterator
 
typedef std::set< NodeType >
::const_iterator 
const_iterator
 
typedef std::set< EdgeType >
::iterator 
edge_iterator
 
typedef std::set< EdgeType >
::const_iterator 
const_edge_iterator
 
typedef std::map< unsigned
long, std::set< NodeType >
>::iterator 
cluster_iterator
 
typedef std::map< unsigned
long, std::set< NodeType >
>::const_iterator 
const_cluster_iterator
 
typedef std::map< unsigned
long, std::string >::iterator 
cluster_name_iterator
 
typedef std::map< unsigned
long, std::string >
::const_iterator 
const_cluster_name_iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
const_edge_iterator edge_begin () const
 
const_edge_iterator edge_end () const
 
edge_iterator edge_begin ()
 
edge_iterator edge_end ()
 
cluster_iterator cluster_begin ()
 
const_cluster_iterator cluster_begin () const
 
cluster_iterator cluster_end ()
 
const_cluster_iterator cluster_end () const
 
cluster_name_iterator cluster_name_begin ()
 
const_cluster_name_iterator cluster_name_begin () const
 
cluster_name_iterator cluster_name_end ()
 
const_cluster_name_iterator cluster_name_end () const
 
cluster_name_iterator cluster_name_find (unsigned long k)
 
const_cluster_name_iterator cluster_name_find (unsigned long k) const
 
virtual OStreamgetGraphName (OStream &OS) const
 
virtual unsigned long getNodeID (const NodeType &node) const
 
virtual OStreamgetNodeLabel (OStream &OS, const NodeType &node) const
 
virtual OStreamgetNodeAttributes (OStream &OS, const NodeType &node) const
 
virtual OStreamgetEdgeLabel (OStream &OS, const EdgeType &e) const
 
virtual OStreamgetEdgeAttributes (OStream &OS, const EdgeType &e) const
 

Protected Attributes

std::set< NodeTypenodes
 
std::set< EdgeTypeedges
 
std::set< EdgeTypesuccessors
 
std::map< unsigned long,
NodeListType
clusters
 
std::map< unsigned long,
std::string > 
cluster_name
 

Detailed Description

template<typename GraphTy, typename NodeTy>
class cacao::PrintableGraph< GraphTy, NodeTy >

Definition at line 40 of file GraphPrinter.hpp.

Member Typedef Documentation

template<typename GraphTy , typename NodeTy >
typedef std::map<unsigned long,std::set<NodeType> >::iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_iterator

Definition at line 49 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::map<unsigned long,std::string>::iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_iterator

Definition at line 51 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::map<unsigned long,std::set<NodeType> >::const_iterator cacao::PrintableGraph< GraphTy, NodeTy >::const_cluster_iterator

Definition at line 50 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::map<unsigned long,std::string>::const_iterator cacao::PrintableGraph< GraphTy, NodeTy >::const_cluster_name_iterator

Definition at line 52 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::set<EdgeType>::const_iterator cacao::PrintableGraph< GraphTy, NodeTy >::const_edge_iterator

Definition at line 48 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::set<NodeType>::const_iterator cacao::PrintableGraph< GraphTy, NodeTy >::const_iterator

Definition at line 46 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::set<EdgeType>::iterator cacao::PrintableGraph< GraphTy, NodeTy >::edge_iterator

Definition at line 47 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::pair<NodeType,NodeType> cacao::PrintableGraph< GraphTy, NodeTy >::EdgeType

Definition at line 43 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::set<NodeType>::iterator cacao::PrintableGraph< GraphTy, NodeTy >::iterator

Definition at line 45 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef std::set<NodeType> cacao::PrintableGraph< GraphTy, NodeTy >::NodeListType

Definition at line 44 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
typedef NodeTy cacao::PrintableGraph< GraphTy, NodeTy >::NodeType

Definition at line 42 of file GraphPrinter.hpp.

Member Function Documentation

template<typename GraphTy , typename NodeTy >
const_iterator cacao::PrintableGraph< GraphTy, NodeTy >::begin ( ) const
inline

Definition at line 62 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
iterator cacao::PrintableGraph< GraphTy, NodeTy >::begin ( )
inline

Definition at line 70 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
cluster_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_begin ( )
inline

Definition at line 94 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_cluster_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_begin ( ) const
inline

Definition at line 98 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
cluster_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_end ( )
inline

Definition at line 102 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_cluster_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_end ( ) const
inline

Definition at line 106 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
cluster_name_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_begin ( )
inline

Definition at line 110 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_cluster_name_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_begin ( ) const
inline

Definition at line 114 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
cluster_name_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_end ( )
inline

Definition at line 118 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_cluster_name_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_end ( ) const
inline

Definition at line 122 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
cluster_name_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_find ( unsigned long  k)
inline

Definition at line 126 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_cluster_name_iterator cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name_find ( unsigned long  k) const
inline

Definition at line 130 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_edge_iterator cacao::PrintableGraph< GraphTy, NodeTy >::edge_begin ( ) const
inline

Definition at line 78 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
edge_iterator cacao::PrintableGraph< GraphTy, NodeTy >::edge_begin ( )
inline

Definition at line 86 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_edge_iterator cacao::PrintableGraph< GraphTy, NodeTy >::edge_end ( ) const
inline

Definition at line 82 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
edge_iterator cacao::PrintableGraph< GraphTy, NodeTy >::edge_end ( )
inline

Definition at line 90 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
const_iterator cacao::PrintableGraph< GraphTy, NodeTy >::end ( ) const
inline

Definition at line 66 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
iterator cacao::PrintableGraph< GraphTy, NodeTy >::end ( )
inline

Definition at line 74 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
virtual OStream& cacao::PrintableGraph< GraphTy, NodeTy >::getEdgeAttributes ( OStream OS,
const EdgeType e 
) const
inlinevirtual

Definition at line 154 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
virtual OStream& cacao::PrintableGraph< GraphTy, NodeTy >::getEdgeLabel ( OStream OS,
const EdgeType e 
) const
inlinevirtual

Definition at line 150 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
virtual OStream& cacao::PrintableGraph< GraphTy, NodeTy >::getGraphName ( OStream OS) const
inlinevirtual

Definition at line 134 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
virtual OStream& cacao::PrintableGraph< GraphTy, NodeTy >::getNodeAttributes ( OStream OS,
const NodeType node 
) const
inlinevirtual

Definition at line 146 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
virtual unsigned long cacao::PrintableGraph< GraphTy, NodeTy >::getNodeID ( const NodeType node) const
inlinevirtual

Definition at line 138 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
virtual OStream& cacao::PrintableGraph< GraphTy, NodeTy >::getNodeLabel ( OStream OS,
const NodeType node 
) const
inlinevirtual

Definition at line 142 of file GraphPrinter.hpp.

Field Documentation

template<typename GraphTy , typename NodeTy >
std::map<unsigned long,std::string> cacao::PrintableGraph< GraphTy, NodeTy >::cluster_name
protected

Definition at line 59 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
std::map<unsigned long,NodeListType> cacao::PrintableGraph< GraphTy, NodeTy >::clusters
protected

Definition at line 58 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
std::set<EdgeType> cacao::PrintableGraph< GraphTy, NodeTy >::edges
protected

Definition at line 56 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
std::set<NodeType> cacao::PrintableGraph< GraphTy, NodeTy >::nodes
protected

Definition at line 55 of file GraphPrinter.hpp.

template<typename GraphTy , typename NodeTy >
std::set<EdgeType> cacao::PrintableGraph< GraphTy, NodeTy >::successors
protected

Definition at line 57 of file GraphPrinter.hpp.


The documentation for this class was generated from the following file: