| TerraLib 4.1

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

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

Public Member Functions
TeProxMatrixConnectionStrenghtStrategy Class Reference

`#include <TeProxMatrixWeightsStrategy.h>`

Inheritance diagram for TeProxMatrixConnectionStrenghtStrategy:

List of all members.

## Public Member Functions

| TeProxMatrixConnectionStrenghtStrategy (double dist_ratio=1.0, double max_local_distance=0.0, double factor=1.0, bool norm=true)
| Constructor.
virtual bool | ComputeWeigths (TeProxMatrixImplementation *imp)
| Compute weights.
| ~TeProxMatrixConnectionStrenghtStrategy ()
| Destructor.

## Detailed Description

A class to implement the connection strenght weight strategy of proximity matrix If centroids distance is smaller them max_local_distance, w will be only the local distance inverse (multiplied by factor). otherwise, it will be w = 1/(dist_ratio*dist_to_net + dist_net_connection)*factor.

## Constructor & Destructor Documentation

TeProxMatrixConnectionStrenghtStrategy::TeProxMatrixConnectionStrenghtStrategy | ( | double | dist_ratio = `1.0`,
|  | double | max_local_distance = `0.0`,
|  | double | factor = `1.0`,
|  | bool | norm = `true`
| ) |  | `[inline]`

Constructor.

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

Destructor.

## Member Function Documentation

bool TeProxMatrixConnectionStrenghtStrategy::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