All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
NetworKit::GraphLayoutAlgorithm< T > Class Template Referenceabstract

Abstract base class for algorithms that compute a layout of the Graph vertices in d-dimensional space. More...

#include <GraphLayoutAlgorithm.h>

Public Member Functions

 GraphLayoutAlgorithm (const Graph &G, count dim)
 
virtual ~GraphLayoutAlgorithm ()=default
 
virtual void run ()=0
 
virtual std::vector< Point< T > > getCoordinates () const
 
virtual count numEdgeCrossings () const
 
virtual bool writeGraphToGML (const std::string &filePath)
 
virtual bool writeKinemage (const std::string &filePath)
 

Protected Attributes

const GraphG
 
std::vector< Point< T > > vertexCoordinates
 

Detailed Description

template<typename T>
class NetworKit::GraphLayoutAlgorithm< T >

Abstract base class for algorithms that compute a layout of the Graph vertices in d-dimensional space.

The coordinates are stored in a d-dimensional Point with type

T

.

Constructor & Destructor Documentation

template<typename T>
NetworKit::GraphLayoutAlgorithm< T >::GraphLayoutAlgorithm ( const Graph G,
count  dim 
)
inline
template<typename T>
virtual NetworKit::GraphLayoutAlgorithm< T >::~GraphLayoutAlgorithm ( )
virtualdefault

Member Function Documentation

template<typename T>
virtual std::vector<Point<T> > NetworKit::GraphLayoutAlgorithm< T >::getCoordinates ( ) const
inlinevirtual
template<typename T>
virtual count NetworKit::GraphLayoutAlgorithm< T >::numEdgeCrossings ( ) const
inlinevirtual
template<typename T>
virtual void NetworKit::GraphLayoutAlgorithm< T >::run ( )
pure virtual
template<typename T>
virtual bool NetworKit::GraphLayoutAlgorithm< T >::writeGraphToGML ( const std::string &  filePath)
inlinevirtual
template<typename T>
virtual bool NetworKit::GraphLayoutAlgorithm< T >::writeKinemage ( const std::string &  filePath)
inlinevirtual

Member Data Documentation

template<typename T>
const Graph& NetworKit::GraphLayoutAlgorithm< T >::G
protected
template<typename T>
std::vector<Point<T> > NetworKit::GraphLayoutAlgorithm< T >::vertexCoordinates
protected

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