| TerraLib 4.1

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

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

Public Member Functions
TeProxMatrixGraphBreymann Class Reference

A class to represent proximity matrix utilising the Breymann graph. More...

`#include <TeProxMatrixImplementation.h>`

Inheritance diagram for TeProxMatrixGraphBreymann:

List of all members.

## Public Member Functions

| TeProxMatrixGraphBreymann ()
| Empty constructor - graph must be directed then the graph constructor receive true.
| TeProxMatrixGraphBreymann (TeProxMatrixGraphBreymann &imp)
| Copy constructor.
virtual void | connectObjects (const string &object_id1, const string &object_id2, const TeProxMatrixAttributes &attr)
| Connect two objects.
virtual bool | getConnectionAttributes (const string &object_id1, const string &object_id2, TeProxMatrixAttributes &attr)
| Get connection attributes.
virtual bool | setConnectionAttributes (const string &object_id1, const string &object_id2, const TeProxMatrixAttributes &attr)
| Set connection attributes.
virtual bool | getNeighbours (const string &object_id, TeNeighbours &neigh)
| Get the neighbours of an object.
virtual bool | getNeighbours (int obj, string &object_id, TeNeighbours &neigh)
| Get the obj-th neighbour of an object.
virtual bool | getNeighboursNeighbours (const string &object_id, TeNeighbours &neigh, int max_order=2)
| Get the neighbours of an object.
virtual int | numberOfObjects ()
| Return the number of the objects.
virtual TeProxMatrixImplementation * | createCopy ()
| Create a copy.
virtual bool | isEqual (TeProxMatrixImplementation &other)
| Verify if is equal.
TeProxMatrixGraphBreymann & | operator= (TeProxMatrixGraphBreymann &imp)
| Assignment operator.
virtual | ~TeProxMatrixGraphBreymann ()
| Destructor.
virtual bool | saveTextFile (const string &name, map< string, string > *ids=0)
| Save the proximity matrix in a text file.
virtual bool | saveGALFile (const string &name, map< string, string > *ids=0)
| Save the proximity matrix in a GAL text file.
virtual bool | saveGWTFile (const string &name, map< string, string > *ids=0)
| Save the proximity matrix in a GWT text file.
virtual bool | saveTextFile (const string &name, vector< string > *ids)
| Save the proximity matrix in a text file.
virtual bool | saveGALFile (const string &name, vector< string > *ids)
| Save the proximity matrix in a GAL format text file.
virtual bool | saveGWTFile (const string &name, vector< string > *ids)
| Save the proximity matrix in a GWT format text file.

## Detailed Description

A class to represent proximity matrix utilising the Breymann graph.

## Constructor & Destructor Documentation

TeProxMatrixGraphBreymann::TeProxMatrixGraphBreymann | ( |  | ) |

Empty constructor - graph must be directed then the graph constructor receive true.

TeProxMatrixGraphBreymann::TeProxMatrixGraphBreymann | ( | TeProxMatrixGraphBreymann & | imp | ) |

Copy constructor.

virtual TeProxMatrixGraphBreymann::~TeProxMatrixGraphBreymann | ( |  | ) | `[inline, virtual]`

Destructor.

## Member Function Documentation

void TeProxMatrixGraphBreymann::connectObjects | ( | const string & | object_id1,
|  | const string & | object_id2,
|  | const TeProxMatrixAttributes & | attr
| ) |  | `[virtual]`

Connect two objects.

Implements TeProxMatrixImplementation.

TeProxMatrixImplementation * TeProxMatrixGraphBreymann::createCopy | ( |  | ) | `[virtual]`

Create a copy.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::getConnectionAttributes | ( | const string & | object_id1,
|  | const string & | object_id2,
|  | TeProxMatrixAttributes & | attr
| ) |  | `[virtual]`

Get connection attributes.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::getNeighbours | ( | const string & | object_id,
|  | TeNeighbours & | neigh
| ) |  | `[virtual]`

Get the neighbours of an object.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::getNeighbours | ( | int | obj,
|  | string & | object_id,
|  | TeNeighbours & | neigh
| ) |  | `[virtual]`

Get the obj-th neighbour of an object.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::getNeighboursNeighbours | ( | const string & | object_id,
|  | TeNeighbours & | neigh,
|  | int | max_order = `2`
| ) |  | `[virtual]`

Get the neighbours of an object.

Implements TeProxMatrixImplementation.

virtual bool TeProxMatrixGraphBreymann::isEqual | ( | TeProxMatrixImplementation & | other | ) | `[inline, virtual]`

Verify if is equal.

Reimplemented from TeProxMatrixImplementation.

virtual int TeProxMatrixGraphBreymann::numberOfObjects | ( |  | ) | `[inline, virtual]`

Return the number of the objects.

Implements TeProxMatrixImplementation.

TeProxMatrixGraphBreymann & TeProxMatrixGraphBreymann::operator= | ( | TeProxMatrixGraphBreymann & | imp | ) |

Assignment operator.

bool TeProxMatrixGraphBreymann::saveGALFile | ( | const string & | name,
|  | vector< string > * | ids
| ) |  | `[virtual]`

Save the proximity matrix in a GAL format text file.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::saveGALFile | ( | const string & | name,
|  | map< string, string > * | ids = `0`
| ) |  | `[virtual]`

Save the proximity matrix in a GAL text file.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::saveGWTFile | ( | const string & | name,
|  | vector< string > * | ids
| ) |  | `[virtual]`

Save the proximity matrix in a GWT format text file.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::saveGWTFile | ( | const string & | name,
|  | map< string, string > * | ids = `0`
| ) |  | `[virtual]`

Save the proximity matrix in a GWT text file.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::saveTextFile | ( | const string & | name,
|  | map< string, string > * | ids = `0`
| ) |  | `[virtual]`

Save the proximity matrix in a text file.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::saveTextFile | ( | const string & | name,
|  | vector< string > * | ids
| ) |  | `[virtual]`

Save the proximity matrix in a text file.

Implements TeProxMatrixImplementation.

bool TeProxMatrixGraphBreymann::setConnectionAttributes | ( | const string & | object_id1,
|  | const string & | object_id2,
|  | const TeProxMatrixAttributes & | attr
| ) |  | `[virtual]`

Set connection attributes.

Implements TeProxMatrixImplementation.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines