Map Class Reference

Mix topology and neighborhood classes to determine the actual form in the graph. More...

#include <Map.h>

List of all members.

Public Member Functions

 Map (Topology *top, Neighborhood *hood)
 constructor
 Map (const Map &m)
 The copy-constructor:.
Mapoperator= (const Map &m)
 Overwrite the = operator to avoid problems when you forget initialize whit the constructor.
void setTopology (Topology *top)
 Change the used topology.
void setNeighborhood (Neighborhood *hood)
 Change the used Neighborhood.
void setNormalizedDimencion (int dim)
 Used to change normalization in a specific dimension, the dimension characterized by the input number.
void setDimencionSize (int dim, int dimSize)
 Used to change dimension size, the dimension characterized by the input number.
void setNeighborhoodSize (int size)
 Used to change the Neighborhood "radius".
std::vector< std::vector<
int > > 
getEdge ()
 Once the calculations in setEdge() has been done use this method to obtain the container of vector positions of the neighbors.
void setEdge (const std::vector< int > position)


Detailed Description

Mix topology and neighborhood classes to determine the actual form in the graph.

The map class mix the topology and the Neighborhood to create the form in the net, the neighborhood class determines the "utopic" coordinates of the neighbors, and the topology make them "real" in the actual space form.


Member Function Documentation

void Map::setEdge ( const std::vector< int >  position  )  [inline]

This is the main method of the class, in this method the Topology and Neighborhood objects are mixed to calculate the real coordinates of the vertex with an edge in common (neighbors) with the element represented by the input vector (center cell).


The documentation for this class was generated from the following file:
Generated on Thu Aug 17 00:04:36 2006 for Cagecpp by  doxygen 1.4.7