Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Init_P< GT > Struct Template Reference

#include <euclidian-graph-common.H>

Collaboration diagram for Aleph::Init_P< GT >:
[legend]

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
 

Detailed Description

template<class GT>
struct Aleph::Init_P< GT >

Definition at line 74 of file euclidian-graph-common.H.

Constructor & Destructor Documentation

◆ Init_P()

template<class GT >
Aleph::Init_P< GT >::Init_P ( const long  w,
const long  h 
)
inline

Create a node initializer that assigns unique random positions.

Parameters
[in]wMaximum x coordinate range (width).
[in]hMaximum 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.

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ H

◆ puntos

template<class GT >
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()().

◆ W


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