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.

Struct template layout_tolerance

boost::layout_tolerance — Determines when to terminate layout of a particular graph based on a given relative tolerance.

Synopsis

template<typename T = double>
struct layout_tolerance {
  // construct/copy/destruct
  layout_tolerance(const T & = T(0.001));

  // public member functions
  template<typename Graph>
    bool operator()(T,
                    typename boost::graph_traits< Graph >::vertex_descriptor,
                    const Graph &, bool) ;
};

Where Defined

boost/graph/kamada_kawai_spring_layout.hpp

layout_tolerance construct/copy/destruct

  1. layout_tolerance(const T & tolerance = T(0.001));

layout_tolerance public member functions

  1. template<typename Graph>
      bool operator()(T delta_p,
                      typename boost::graph_traits< Graph >::vertex_descriptor p,
                      const Graph & g, bool global) ;