Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Repulsion.h File Reference

Declaration of class Repulsion which implements an enrgy function, where the energy of the layout grows with the proximity of the vertices. More...

Go to the source code of this file.

Classes

class  ogdf::davidson_harel::Repulsion
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::davidson_harel
 

Detailed Description

Declaration of class Repulsion which implements an enrgy function, where the energy of the layout grows with the proximity of the vertices.

Thus, a layout has lower energy if all vertices are far appart.

Author
Rene Weiskircher
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file Repulsion.h.