| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
TeProxMatrixSquaredInverseDistanceStrategy Class Reference

`#include <TeProxMatrixWeightsStrategy.h>`

Inheritance diagram for TeProxMatrixSquaredInverseDistanceStrategy:

List of all members.

## Public Member Functions

| TeProxMatrixSquaredInverseDistanceStrategy (double a=1.0, double b=1.0, double c=1.0, double factor=1.0, bool norm=true)
| Constructor.
virtual bool | ComputeWeigths (TeProxMatrixImplementation *imp)
| Compute weights.
| ~TeProxMatrixSquaredInverseDistanceStrategy ()
| Destructor.

## Detailed Description

A class to implement the inverse distance weight strategy of proximity matrix; if network distances were computed, they can be also considered. Formula: w = (a*1/(dist_centroids)2 + b*1/(dist_to_net)2 + c*1/(dist_net_connection)2)*factor These values can be normalized or not.

## Constructor & Destructor Documentation

TeProxMatrixSquaredInverseDistanceStrategy::TeProxMatrixSquaredInverseDistanceStrategy | ( | double | a = `1.0`,
|  | double | b = `1.0`,
|  | double | c = `1.0`,
|  | double | factor = `1.0`,
|  | bool | norm = `true`
| ) |  | `[inline]`

Constructor.

TeProxMatrixSquaredInverseDistanceStrategy::~TeProxMatrixSquaredInverseDistanceStrategy | ( |  | ) | `[inline]`

Destructor.

## Member Function Documentation

bool TeProxMatrixSquaredInverseDistanceStrategy::ComputeWeigths | ( | TeProxMatrixImplementation * | imp | ) | `[virtual]`

Compute weights.

Implements TeProxMatrixWeightsStrategy.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeProxMatrixWeightsStrategy.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeProxMatrixStrategies.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines