pop_vertex Class Reference

#include <pop_vertex.h>

List of all members.


Detailed Description

A parameter that can be optimized.

Definition at line 20 of file pop_vertex.h.


Public Member Functions

 pop_vertex ()
 constructor.
 ~pop_vertex ()
 destructor.
void add_edge (pop_edge *)
 A list of edges that can lead to other vertex.
bool search (pop_vertex *destination, vcl_list< pop_edge * > &path)
 find a path to another vertex - should be protected and accessed by friend edge
void clear ()
 set all vertex to untouched.
bool find_path (pop_vertex *destination, vcl_list< pop_edge * > &path)
 find a path of edges to the following vertex.

Public Attributes

bool touched_
 a flag to which states whether or not the vertex has been touched during a search.

Private Attributes

vcl_list< pop_edge * > edges_
 a list of edges that can lead out of this vertex.

Constructor & Destructor Documentation

pop_vertex::pop_vertex (  ) 

constructor.

Definition at line 12 of file pop_vertex.cxx.

pop_vertex::~pop_vertex (  ) 

destructor.

Definition at line 21 of file pop_vertex.cxx.


Member Function Documentation

void pop_vertex::add_edge ( pop_edge  ) 

A list of edges that can lead to other vertex.

Definition at line 27 of file pop_vertex.cxx.

bool pop_vertex::search ( pop_vertex destination,
vcl_list< pop_edge * > &  path 
)

find a path to another vertex - should be protected and accessed by friend edge

Todo:

Definition at line 43 of file pop_vertex.cxx.

void pop_vertex::clear (  ) 

set all vertex to untouched.

Definition at line 33 of file pop_vertex.cxx.

bool pop_vertex::find_path ( pop_vertex destination,
vcl_list< pop_edge * > &  path 
)

find a path of edges to the following vertex.

Definition at line 69 of file pop_vertex.cxx.


Member Data Documentation

bool pop_vertex::touched_

a flag to which states whether or not the vertex has been touched during a search.

Definition at line 39 of file pop_vertex.h.

vcl_list<pop_edge*> pop_vertex::edges_ [private]

a list of edges that can lead out of this vertex.

Definition at line 46 of file pop_vertex.h.


The documentation for this class was generated from the following files:
Generated on Mon Oct 6 05:14:30 2008 for contrib/gel/pop by  doxygen 1.5.1