Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::heart_topology< RandomNumberGenerator > Class Template Reference

#include <topology.hpp>

Public Types

typedef point point_type
 

Public Member Functions

 heart_topology ()
 
 heart_topology (RandomNumberGenerator &gen)
 
point random_point () const
 
double distance (point a, point b) const
 
point move_position_toward (point a, double fraction, point b) const
 

Member Typedef Documentation

template<typename RandomNumberGenerator = minstd_rand>
typedef point boost::heart_topology< RandomNumberGenerator >::point_type

Constructor & Destructor Documentation

template<typename RandomNumberGenerator = minstd_rand>
boost::heart_topology< RandomNumberGenerator >::heart_topology ( )
inline
template<typename RandomNumberGenerator = minstd_rand>
boost::heart_topology< RandomNumberGenerator >::heart_topology ( RandomNumberGenerator &  gen)
inline

Member Function Documentation

template<typename RandomNumberGenerator = minstd_rand>
double boost::heart_topology< RandomNumberGenerator >::distance ( point  a,
point  b 
) const
inline

References boost::math::hypot().

template<typename RandomNumberGenerator = minstd_rand>
point boost::heart_topology< RandomNumberGenerator >::move_position_toward ( point  a,
double  fraction,
point  b 
) const
inline

References boost::math::hypot().

template<typename RandomNumberGenerator = minstd_rand>
point boost::heart_topology< RandomNumberGenerator >::random_point ( ) const
inline

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