Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Weighted_Neighbor Class Reference

A class representing a weighted neighbor in a neighborhood system. More...

#include <Neighborhood_System.hpp>

List of all members.

Public Member Functions

 Weighted_Neighbor ()
 Default constructor for the class Weighted_Neighbor.
 Weighted_Neighbor (uint i, double w)
 Constructor for the class Weighted_Neighbor.
 ~Weighted_Neighbor ()
 Destructor for the class Weighted_Neighbor.

Public Attributes

uint Index
 index of the neighbor
double Weight
 weight of the neighbor


Detailed Description

Author:
Lemine Abdallahi
Date:
Aug. 2005


Constructor & Destructor Documentation

Weighted_Neighbor::Weighted_Neighbor  ) 
 

Default constructor for the class Weighted_Neighbor.

Creates a new object. Sets the index to zero, the weight to zero.

Weighted_Neighbor::Weighted_Neighbor uint  i,
double  w
 

Constructor for the class Weighted_Neighbor.

Parameters:
i : index.
w : weight.
Creates a new object. Sets the index to i, the weight to w.

Weighted_Neighbor::~Weighted_Neighbor  ) 
 

Destructor for the class Weighted_Neighbor.

Deletes the object. nothing else.


The documentation for this class was generated from the following files:
Generated on Thu Jan 12 11:55:05 2006 for NEM by  doxygen 1.4.4