|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <euclidian-graph-common.H>
Public Member Functions | |
| Init_P (const long w, const long h) | |
| Create a node initializer that assigns unique random positions. | |
| void | operator() (GT &, typename GT::Node *p) |
Public Attributes | |
| long | W |
| long | H |
| DynSetAvlTree< std::pair< int, int > > | puntos |
Definition at line 74 of file euclidian-graph-common.H.
Create a node initializer that assigns unique random positions.
| [in] | w | Maximum x coordinate range (width). |
| [in] | h | Maximum y coordinate range (height). |
Definition at line 85 of file euclidian-graph-common.H.
References ah_domain_error_if, Aleph::Init_P< GT >::H, Aleph::maps(), and Aleph::Init_P< GT >::W.
|
inline |
Definition at line 92 of file euclidian-graph-common.H.
References GTNodeCommon< NodeInfo >::get_info(), Aleph::Init_P< GT >::H, Aleph::DynSetTree< Key, Tree, Compare >::insert(), Aleph::maps(), Aleph::Init_P< GT >::puntos, Aleph::rand_gen, Aleph::DynSetTree< Key, Tree, Compare >::search(), Aleph::Init_P< GT >::W, and y.
| long Aleph::Init_P< GT >::H |
Definition at line 76 of file euclidian-graph-common.H.
Referenced by Aleph::Init_P< GT >::Init_P(), and Aleph::Init_P< GT >::operator()().
| DynSetAvlTree<std::pair<int, int> > Aleph::Init_P< GT >::puntos |
Definition at line 78 of file euclidian-graph-common.H.
Referenced by Aleph::Init_P< GT >::operator()().
| long Aleph::Init_P< GT >::W |
Definition at line 76 of file euclidian-graph-common.H.
Referenced by Aleph::Init_P< GT >::Init_P(), and Aleph::Init_P< GT >::operator()().