boost.png (6897 bytes)HomeLibrariesPeopleFAQMore

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) ;