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

Base class for graph layout algorithms, i.e. More...

#include <LayoutAlgorithm.h>

Public Member Functions

 LayoutAlgorithm (const Graph &G)
 
virtual void run ()=0
 
virtual std::vector< std::pair
< double, double > > 
getLayout ()
 

Protected Attributes

const GraphG
 
std::vector< std::pair< double,
double > > 
layout
 

Detailed Description

Base class for graph layout algorithms, i.e.

algorithms that compute a layout in form of 2D coordinates for nodes.

Constructor & Destructor Documentation

NetworKit::LayoutAlgorithm::LayoutAlgorithm ( const Graph G)
inline

Member Function Documentation

virtual std::vector<std::pair<double, double> > NetworKit::LayoutAlgorithm::getLayout ( )
inlinevirtual
virtual void NetworKit::LayoutAlgorithm::run ( )
pure virtual

Member Data Documentation

const Graph& NetworKit::LayoutAlgorithm::G
protected
std::vector<std::pair<double, double> > NetworKit::LayoutAlgorithm::layout
protected

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