Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Parallel BGL Fruchterman Reingold

namespace graph { namespace distributed {

  template<typename Graph, typename PositionMap,
           typename AttractiveForce, typename RepulsiveForce,
           typename ForcePairs, typename Cooling, typename DisplacementMap>
  void
  fruchterman_reingold_force_directed_layout
  (const Graph&    g,
   PositionMap     position,
   typename property_traits<PositionMap>::value_type const& origin,
   typename property_traits<PositionMap>::value_type const& extent,
   AttractiveForce attractive_force,
   RepulsiveForce  repulsive_force,
   ForcePairs      force_pairs,
   Cooling         cool,
   DisplacementMap displacement)

  template<typename Graph, typename PositionMap,
           typename AttractiveForce, typename RepulsiveForce,
           typename ForcePairs, typename Cooling, typename DisplacementMap>
  void
  fruchterman_reingold_force_directed_layout
  (const Graph&    g,
   PositionMap     position,
   typename property_traits<PositionMap>::value_type const& origin,
   typename property_traits<PositionMap>::value_type const& extent,
   AttractiveForce attractive_force,
   RepulsiveForce  repulsive_force,
   ForcePairs      force_pairs,
   Cooling         cool,
   DisplacementMap displacement,
   simple_tiling   tiling)
} }

Contents

Where Defined

<boost/graph/distributed/fruchterman_reingold.hpp>

also accessible from

<boost/graph/fruchterman_reingold.hpp>

Parameters

IN: const Graph& g
The graph type must be a model of Distributed Graph. The graph type must also model the Incidence Graph.

OUT: PositionMap position

IN: property_traits<PositionMap>::value_type origin

IN: property_traits<PositionMap>::value_type extent

IN: AttractiveForce attractive_force

IN: RepulsiveForce repulsive_force

IN: ForcePairs force_pairs

IN: Cooling cool

IN: DisplacementMap displacement


Copyright (C) 2009 The Trustees of Indiana University.

Authors: Nick Edmonds and Andrew Lumsdaine