Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Via Struct Reference
Collaboration diagram for Via:
[legend]

Public Types

enum  Tipo_Via {
  AUTOPISTA , CARRETERA1 , CARRETERA2 , CARRETERA3 ,
  GRANZON , CHALANA , DESCONOCIDO , AUTOPISTA ,
  CARRETERA1 , CARRETERA2 , CARRETERA3 , GRANZON ,
  CHALANA , DESCONOCIDO
}
 
enum  Tipo_Via {
  AUTOPISTA , CARRETERA1 , CARRETERA2 , CARRETERA3 ,
  GRANZON , CHALANA , DESCONOCIDO , AUTOPISTA ,
  CARRETERA1 , CARRETERA2 , CARRETERA3 , GRANZON ,
  CHALANA , DESCONOCIDO
}
 
typedef int Distance_Type
 
typedef int Distance_Type
 

Public Member Functions

 Via ()
 
 Via (int d)
 
 Via (char *nom, int d)
 
 Via (const string &nom, int d)
 
Distance_Typeget_distance ()
 
 Via ()
 
 Via (int d)
 
 Via (char *nom, int d)
 
 Via (const string &nom, int d)
 
Distance_Typeget_distance ()
 

Public Attributes

string nombre
 
int distancia
 
Tipo_Via tipo
 

Static Public Attributes

static const Distance_Type Zero_Distance = 0
 
static constexpr Distance_Type Zero_Distance = 0
 

Detailed Description

Definition at line 65 of file test_gen_tree.C.

Member Typedef Documentation

◆ Distance_Type [1/2]

Definition at line 85 of file test_gen_tree.C.

◆ Distance_Type [2/2]

Definition at line 86 of file test_search_deway.C.

Member Enumeration Documentation

◆ Tipo_Via [1/2]

Enumerator
AUTOPISTA 
CARRETERA1 
CARRETERA2 
CARRETERA3 
GRANZON 
CHALANA 
DESCONOCIDO 
AUTOPISTA 
CARRETERA1 
CARRETERA2 
CARRETERA3 
GRANZON 
CHALANA 
DESCONOCIDO 

Definition at line 67 of file test_gen_tree.C.

◆ Tipo_Via [2/2]

Enumerator
AUTOPISTA 
CARRETERA1 
CARRETERA2 
CARRETERA3 
GRANZON 
CHALANA 
DESCONOCIDO 
AUTOPISTA 
CARRETERA1 
CARRETERA2 
CARRETERA3 
GRANZON 
CHALANA 
DESCONOCIDO 

Definition at line 68 of file test_search_deway.C.

Constructor & Destructor Documentation

◆ Via() [1/8]

Via::Via ( )
inline

Definition at line 74 of file test_gen_tree.C.

◆ Via() [2/8]

Via::Via ( int  d)
inline

Definition at line 76 of file test_gen_tree.C.

◆ Via() [3/8]

Via::Via ( char nom,
int  d 
)
inline

Definition at line 79 of file test_gen_tree.C.

◆ Via() [4/8]

Via::Via ( const string &  nom,
int  d 
)
inline

Definition at line 82 of file test_gen_tree.C.

◆ Via() [5/8]

Via::Via ( )
inline

Definition at line 75 of file test_search_deway.C.

◆ Via() [6/8]

Via::Via ( int  d)
inline

Definition at line 77 of file test_search_deway.C.

◆ Via() [7/8]

Via::Via ( char nom,
int  d 
)
inline

Definition at line 80 of file test_search_deway.C.

◆ Via() [8/8]

Via::Via ( const string &  nom,
int  d 
)
inline

Definition at line 83 of file test_search_deway.C.

Member Function Documentation

◆ get_distance() [1/2]

Distance_Type & Via::get_distance ( )
inline

Definition at line 87 of file test_gen_tree.C.

References distancia.

◆ get_distance() [2/2]

Distance_Type & Via::get_distance ( )
inline

Definition at line 88 of file test_search_deway.C.

References distancia.

Member Data Documentation

◆ distancia

int Via::distancia

Definition at line 71 of file test_gen_tree.C.

Referenced by get_distance().

◆ nombre

string Via::nombre

Definition at line 70 of file test_gen_tree.C.

◆ tipo

Tipo_Via Via::tipo

Definition at line 72 of file test_gen_tree.C.

◆ Zero_Distance [1/2]

const Distance_Type Via::Zero_Distance = 0
static

Definition at line 89 of file test_gen_tree.C.

◆ Zero_Distance [2/2]

constexpr Distance_Type Via::Zero_Distance = 0
staticconstexpr

Definition at line 90 of file test_search_deway.C.


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